From 6e6d22f5d5d2f28782484f7fbd7a1c87401e9d17 Mon Sep 17 00:00:00 2001 From: Simon Schampijer Date: Fri, 13 Jun 2008 14:11:59 +0000 Subject: Add address entry focus with ctrl+l - the add bookmark (session) will be ctr+d now since it was ctrl+l before --- (limited to 'webtoolbar.py') diff --git a/webtoolbar.py b/webtoolbar.py index 8987a37..3d1877c 100755 --- a/webtoolbar.py +++ b/webtoolbar.py @@ -67,13 +67,13 @@ class WebToolbar(gtk.Toolbar): self.insert(self._stop_and_reload, -1) self._stop_and_reload.show() - self._entry = AddressEntry() - self._entry.connect('activate', self._entry_activate_cb) + self.entry = AddressEntry() + self.entry.connect('activate', self._entry_activate_cb) entry_item = gtk.ToolItem() entry_item.set_expand(True) - entry_item.add(self._entry) - self._entry.show() + entry_item.add(self.entry) + self.entry.show() self.insert(entry_item, -1) entry_item.show() @@ -124,13 +124,13 @@ class WebToolbar(gtk.Toolbar): self._set_progress(progress) def _set_progress(self, progress): - self._entry.props.progress = progress + self.entry.props.progress = progress def _set_address(self, address): - self._entry.props.address = address + self.entry.props.address = address def _set_title(self, title): - self._entry.props.title = title + self.entry.props.title = title def _show_stop_icon(self): self._stop_and_reload.set_icon('media-playback-stop') -- cgit v0.9.1