Revision: 5790
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5790&view=rev
Author:   jdh2358
Date:     2008-07-18 20:43:58 +0000 (Fri, 18 Jul 2008)

Log Message:
-----------
restored gtk quit on window close

Modified Paths:
--------------
    trunk/matplotlib/lib/matplotlib/backends/backend_gtk.py

Modified: trunk/matplotlib/lib/matplotlib/backends/backend_gtk.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/backends/backend_gtk.py     2008-07-18 
18:59:57 UTC (rev 5789)
+++ trunk/matplotlib/lib/matplotlib/backends/backend_gtk.py     2008-07-18 
20:43:58 UTC (rev 5790)
@@ -459,9 +459,9 @@
         if Gcf.get_num_fig_managers()==0 and \
                not matplotlib.is_interactive() and \
                gtk.main_level() >= 1:
-            #gtk.main_quit()
-            pass
+            gtk.main_quit()
 
+
     def show(self):
         # show the figure window
         self.window.show()


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to