mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-22 10:09:14 +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 = gtk.Image()
|
||||||
icon.set_from_file(self.path + "/rss.png") # Toolbar items should be 22x22 pixel images
|
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.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.button.connect("clicked", self.rss_clicked) # Connect the signal handler for the button
|
||||||
self.toolbar.add(self.button) # Add button to toolbar
|
self.toolbar.add(self.button) # Add button to toolbar
|
||||||
self.button.show_all() # Show the button
|
self.button.show_all() # Show the button
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue