ange callback, widget and variable names for About window in glade and in the code
This commit is contained in:
parent
0425cd29d8
commit
16697102a4
|
@ -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)
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue