Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/webtoolbar.py
diff options
context:
space:
mode:
authorSimon Schampijer <simon@schampijer.de>2008-06-13 14:11:59 (GMT)
committer Simon Schampijer <simon@schampijer.de>2008-06-13 14:11:59 (GMT)
commit6e6d22f5d5d2f28782484f7fbd7a1c87401e9d17 (patch)
tree58b57a3a402d7b5cd62400c4683a0954bdbe66bc /webtoolbar.py
parent22c2741e438dce660b83795564968146dbddfda6 (diff)
Add address entry focus with ctrl+l
- the add bookmark (session) will be ctr+d now since it was ctrl+l before
Diffstat (limited to 'webtoolbar.py')
-rwxr-xr-xwebtoolbar.py14
1 files changed, 7 insertions, 7 deletions
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')