Added some hooks for the about dialog

This commit is contained in:
José Carlos Cuevas 2014-07-14 14:55:21 +02:00
parent a86164e9ba
commit 5b76874a2c
2 changed files with 3 additions and 1 deletions

View file

@ -14,6 +14,8 @@
<property name="authors">José Carlos Cuevas Albadalejo</property>
<property name="translator_credits">José Carlos Cuevas Albadalejo</property>
<property name="license_type">gpl-3-0</property>
<signal name="close" handler="onAboutDialogClose" swapped="no"/>
<signal name="delete-event" handler="onAboutDialogDeleteEvent" swapped="no"/>
<child internal-child="vbox">
<object class="GtkBox" id="aboutdialog-vbox1">
<property name="can_focus">False</property>

View file

@ -154,7 +154,7 @@ class MainWindowMethods(Gtk.Application):
def onCopyJSONCancelClicked(self, widget):
"""
The user changed its minds and pressed cancel
The user changed its mind and pressed cancel
"""
textWindow = self.builder.get_object("TextWindow")
textWindow.hide()