Round the progress bar angles.

Keep location entry updated.
This commit is contained in:
Marco Pesenti Gritti
2006-10-12 16:05:53 +02:00
parent fce6d1482c
commit 3a3fe02b61
3 changed files with 13 additions and 1 deletions
+3
View File
@@ -26,3 +26,6 @@ class AddressItem(gtk.ToolItem):
def set_progress(self, progress):
self._entry.set_property('progress', progress)
def set_address(self, address):
self._entry.set_text(address)
+1
View File
@@ -65,6 +65,7 @@ class NavigationToolbar(gtk.Toolbar):
self._embed.go_forward()
def __location_changed(self, embed):
self._address_item.set_address(embed.get_location())
self._update_sensitivity()
def __open_address_cb(self, item, address):