From 764f5d846d8d6b1d1681309746a04795ee219866 Mon Sep 17 00:00:00 2001 From: Gerald Britton Date: Tue, 13 Oct 2009 19:11:19 +0000 Subject: [PATCH] Bug 0003063: gtk.Tooltips is deprecated -- bug in last batch of updates svn: r13367 --- src/PluginUtils/_PluginDialogs.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/PluginUtils/_PluginDialogs.py b/src/PluginUtils/_PluginDialogs.py index ea989d1a6..4ad18cdb5 100644 --- a/src/PluginUtils/_PluginDialogs.py +++ b/src/PluginUtils/_PluginDialogs.py @@ -118,12 +118,7 @@ class PluginDialog(ManagedWindow.ManagedWindow): self.apply_button.set_label(_("_Apply")) self.apply_button.set_use_underline(True) if tool_tip: - try: - tttips = gtk.tooltips_data_get(self.apply_button) - if tttips: - tttips[0].set_tip(self.apply_button, tool_tip) - except AttributeError: - pass + self.apply_button.set_tooltip_text(tool_tip) self.item = None self.build_plugin_tree(item_list, categories)