Module: synfig
Branch: zelgadis_master
Commit: 6c5449b382b44c16085be1d1884078686d1153de
URL:    
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=6c5449b382b44c16085be1d1884078686d1153de

Author: Konstantin Dmitriev <[email protected]>
Date:   Mon May 10 20:09:22 2010 +0700

Add comments in the code about the recent dialog sizes problem fix.

---

 synfig-studio/src/gtkmm/app.cpp |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/synfig-studio/src/gtkmm/app.cpp b/synfig-studio/src/gtkmm/app.cpp
index 95e2831..ae8c8ba 100644
--- a/synfig-studio/src/gtkmm/app.cpp
+++ b/synfig-studio/src/gtkmm/app.cpp
@@ -1391,8 +1391,16 @@ App::App(int *argc, char ***argv):
 
                studio_init_cb.task(_("Done."));
                studio_init_cb.amount_complete(10000,10000);
-
+        
+               // To avoid problems with some window managers and gtk >= 2.18
+               // we should show dock dialogs after the settings load.
+               // If dock dialogs are shown before the settings are loaded,
+               // the windows manager can act over it.
+               // See discussions here:
+               // * 
http://synfig.org/forums/viewtopic.php?f=1&t=1131&st=0&sk=t&sd=a&start=30
+               // * http://synfig.org/forums/viewtopic.php?f=15&t=1062
                dock_manager->show_all_dock_dialogs();
+               
                toolbox->present();
        }
        catch(String x)


------------------------------------------------------------------------------

_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to