mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
tooltip on RSS button
This commit is contained in:
parent
ae2f7d60c9
commit
52635dfa59
1 changed files with 2 additions and 0 deletions
|
@ -99,6 +99,8 @@ class plugin_RSS:
|
|||
icon = gtk.Image()
|
||||
icon.set_from_file(self.path + "/rss.png") # Toolbar items should be 22x22 pixel images
|
||||
self.button = gtk.ToolButton(icon_widget=icon, label=_("RSS"))
|
||||
self.ttips = gtk.Tooltips()
|
||||
self.button.set_tooltip(self.ttips, _("RSS Broadcatcher"))
|
||||
self.button.connect("clicked", self.rss_clicked) # Connect the signal handler for the button
|
||||
self.toolbar.add(self.button) # Add button to toolbar
|
||||
self.button.show_all() # Show the button
|
||||
|
|
Loading…
Add table
Reference in a new issue