Use present() instead of show()
authorCarlos Lopez <genetita@gmail.com>
Sat, 15 May 2010 10:46:27 +0000 (12:46 +0200)
committerCarlos Lopez <genetita@gmail.com>
Sat, 15 May 2010 10:46:27 +0000 (12:46 +0200)
synfig-studio/src/gtkmm/dockmanager.cpp

index 0002f5b..a7f4b27 100644 (file)
@@ -162,6 +162,7 @@ public:
                                int x,y;
                                if(!strscanf(value,"%d %d",&x, &y))
                                        return false;
+                               synfig::info("dock_manager. move to: %d, %d", x,y);
                                dock_dialog.move(x,y);
                                return true;
                        }
@@ -170,6 +171,7 @@ public:
                                int x,y;
                                if(!strscanf(value,"%d %d",&x, &y))
                                        return false;
+                               synfig::info("dock_manager. size to: %d, %d", x,y);
                                dock_dialog.set_default_size(x,y);
                                dock_dialog.resize(x,y);
                                return true;
@@ -307,5 +309,5 @@ DockManager::show_all_dock_dialogs()
 {
        std::list<DockDialog*>::iterator iter;
        for(iter=dock_dialog_list_.begin();iter!=dock_dialog_list_.end();++iter)
-               (*iter)->show();
+               (*iter)->present();
 }