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_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)
|
||||||
|
Loading…
Reference in New Issue
Block a user