Small changes

Signed-off-by: somas95 <manuel.genoves@gmail.com>
gh-pages
somas95 2018-03-07 15:25:38 +01:00
parent 9db4e9ab41
commit a2d414104a
1 changed files with 2 additions and 2 deletions

View File

@ -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()