From 999a4d31c7df64d073100a2940490a0e6424eadc Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Tue, 26 Jun 2007 22:56:43 +0000 Subject: [PATCH] Add tooltip to New Torrent tool button --- plugins/TorrentCreator/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/TorrentCreator/__init__.py b/plugins/TorrentCreator/__init__.py index f4952bf5b..2023381ce 100644 --- a/plugins/TorrentCreator/__init__.py +++ b/plugins/TorrentCreator/__init__.py @@ -58,6 +58,8 @@ class TorrentCreator: self.toolbutton_image.set_from_stock(gtk.STOCK_NEW, gtk.ICON_SIZE_MENU) self.toolbutton = gtk.ToolButton(self.toolbutton_image, _("New Torrent")) + self.toolbutton_tip = gtk.Tooltips() + self.toolbutton.set_tooltip(self.toolbutton_tip, _("Create a new torrent")) self.toolbutton.connect("clicked", self.new_torrent_clicked) self.interface.wtree.get_widget("tb_left").insert(self.toolbutton, 0) self.toolbutton.show_all()