Bug 0003063: gtk.Tooltips is deprecated -- second batch of updates

svn: r13340
This commit is contained in:
Gerald Britton
2009-10-07 20:01:39 +00:00
parent 9a8b5d8743
commit bebba4b366
10 changed files with 33 additions and 56 deletions

View File

@@ -198,8 +198,6 @@ class ExportAssistant(gtk.Assistant, ManagedWindow.ManagedWindow) :
table.set_row_spacings(6)
table.set_col_spacings(6)
tip = gtk.Tooltips()
group = None
recent_type = Config.get(Config.RECENT_EXPORT_TYPE)
@@ -208,11 +206,11 @@ class ExportAssistant(gtk.Assistant, ManagedWindow.ManagedWindow) :
description= self.__exporters[ix].get_description()
button = gtk.RadioButton(group,title)
button.set_tooltip_text(description)
if not group:
group = button
self.format_buttons.append(button)
table.attach(button,0,2,2*ix,2*ix+1)
tip.set_tip(button,description)
table.attach(button, 0, 2, 2*ix, 2*ix+1)
if ix == recent_type :
button.set_active(True)