forked from Mirrors/apostrophe
parent
9db4e9ab41
commit
a2d414104a
|
@ -24,7 +24,7 @@ from . helpers import get_builder, show_uri, get_help_uri
|
|||
|
||||
# This class is meant to be subclassed by UberwriterWindow. It provides
|
||||
# common functions and some boilerplate.
|
||||
class Window(Gtk.Window):
|
||||
class Window(Gtk.ApplicationWindow):
|
||||
__gtype_name__ = "Window"
|
||||
|
||||
# To construct a new instance of this method, the following notable
|
||||
|
@ -84,7 +84,7 @@ class Window(Gtk.Window):
|
|||
def on_mnu_about_activate(self, widget, data=None):
|
||||
"""Display the about box for uberwriter."""
|
||||
if self.AboutDialog is not None:
|
||||
about = self.AboutDialog() # pylint: disable=E1102
|
||||
about = self.AboutDialog() # pylint: disable=E1102
|
||||
response = about.run()
|
||||
about.destroy()
|
||||
|
||||
|
|
Loading…
Reference in New Issue