[gnome-music/wip/merge: 317/343] application: Destroy window on quit



commit 09ef2d824ff7c95e5880975cc6b259752c4b6912
Author: Arnel A. Borja <arnelborja src gnome org>
Date:   Sun Jul 21 22:38:33 2013 +0800

    application: Destroy window on quit
    
    The quit method calls Gio.Application's quit method, which is currently not
    implemented by Gtk.Application. Destroy the main window for now.

 gnomemusic/application.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/application.py b/gnomemusic/application.py
index a7597fb..28a1274 100644
--- a/gnomemusic/application.py
+++ b/gnomemusic/application.py
@@ -28,4 +28,4 @@ class Application(Gtk.Application):
         self._window.present()
 
     def quit(self):
-        self.quit()
+        self._window.destroy()


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