[gnome-music/wip/jfelder/application-settings: 1/4] window: Add missing docstring to the constructor



commit 74fbcbda8f755a7ae4e7501431aed1274c6174ab
Author: Jean Felder <jfelder src gnome org>
Date:   Fri Apr 12 17:13:02 2019 +0200

    window: Add missing docstring to the constructor

 gnomemusic/window.py | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/gnomemusic/window.py b/gnomemusic/window.py
index 02f13cb3..6bef29c3 100644
--- a/gnomemusic/window.py
+++ b/gnomemusic/window.py
@@ -70,6 +70,10 @@ class Window(Gtk.ApplicationWindow):
 
     @log
     def __init__(self, app):
+        """Initialize the main window.
+
+        :param Gtk.Application app: Application object
+        """
         super().__init__(application=app, title=_("Music"))
 
         self._settings = Gio.Settings.new('org.gnome.Music')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]