Bug 0003063: gtk.Tooltips is deprecated -- bug in last batch of updates
svn: r13367
This commit is contained in:
parent
0ab22f3d76
commit
764f5d846d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user