ange callback, widget and variable names for About window in glade and in the code

This commit is contained in:
Yann Leboulanger 2005-02-28 17:50:10 +00:00
parent 0425cd29d8
commit 16697102a4
2 changed files with 3 additions and 3 deletions

View File

@ -405,8 +405,8 @@ class about_Window:
widget.get_toplevel().destroy()
def __init__(self, plugin):
xml = gtk.glade.XML(GTKGUI_GLADE, 'About', APP)
self.window = xml.get_widget('About')
xml = gtk.glade.XML(GTKGUI_GLADE, 'about_window', APP)
self.window = xml.get_widget('about_window')
self.plugin = plugin
xml.signal_connect('gtk_widget_destroy', self.delete_event)
xml.signal_connect('on_close_clicked', self.on_close)

View File

@ -860,7 +860,7 @@
</child>
</widget>
<widget class="GtkWindow" id="About">
<widget class="GtkWindow" id="about_window">
<property name="visible">True</property>
<property name="title" translatable="yes">About</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>