Bug 0003063: gtk.Tooltips is deprecated -- bug in last batch of updates

svn: r13367
This commit is contained in:
Gerald Britton 2009-10-13 19:11:19 +00:00
parent 0ab22f3d76
commit 764f5d846d

View File

@ -118,12 +118,7 @@ class PluginDialog(ManagedWindow.ManagedWindow):
self.apply_button.set_label(_("_Apply")) self.apply_button.set_label(_("_Apply"))
self.apply_button.set_use_underline(True) self.apply_button.set_use_underline(True)
if tool_tip: if tool_tip:
try: self.apply_button.set_tooltip_text(tool_tip)
tttips = gtk.tooltips_data_get(self.apply_button)
if tttips:
tttips[0].set_tip(self.apply_button, tool_tip)
except AttributeError:
pass
self.item = None self.item = None
self.build_plugin_tree(item_list, categories) self.build_plugin_tree(item_list, categories)