Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/webtoolbar.py
diff options
context:
space:
mode:
authorerich koslovsky <erikos@localhost.localdomain>2007-08-19 19:04:45 (GMT)
committer erich koslovsky <erikos@localhost.localdomain>2007-08-19 19:04:45 (GMT)
commit5c57c205af2e2bc88269e1cb2f3b8b1a3f2f75f4 (patch)
treea7afbbe06c03f082b077eb17f7463c529b358ab0 /webtoolbar.py
parent5e718541ab535ff845977e4c594175bc27fd597e (diff)
Added button for adding a link.
Added the star icon as a button to add a link. Otherwise you can use ctrl-l to add a link and ctrl-r to remove the currently selected link.
Diffstat (limited to 'webtoolbar.py')
-rwxr-xr-xwebtoolbar.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/webtoolbar.py b/webtoolbar.py
index a330d70..6735a9c 100755
--- a/webtoolbar.py
+++ b/webtoolbar.py
@@ -67,6 +67,11 @@ class WebToolbar(gtk.Toolbar):
self.insert(entry_item, -1)
entry_item.show()
+ self._add_link = ToolButton('add-link')
+ self._add_link.set_tooltip(_('Add Link'))
+ self.insert(self._add_link, -1)
+ self._add_link.show()
+
progress_listener = progresslistener.get_instance()
progress_listener.connect('location-changed', self._location_changed_cb)
progress_listener.connect('loading-start', self._loading_start_cb)