show the toolbar content as soon we finalized it
authormishas <mikhail.sobolev@gmail.com>
Wed, 21 Mar 2007 16:31:19 +0000 (16:31 +0000)
committermishas <mikhail.sobolev@gmail.com>
Wed, 21 Mar 2007 16:31:19 +0000 (16:31 +0000)
git-svn-id: file:///svnroot/simple-launcher/trunk@93 3ba93dab-e023-0410-b42a-de7732cf370a

simple-launcher.cc

index 4a6c4c4..6561b84 100644 (file)
@@ -139,8 +139,6 @@ bool SimpleLauncherApplet::doInit(void *state_data, int *state_size) {
     return false;
   }
 
-  gtk_widget_show_all(myWidget);
-
   return true;
 }
 
@@ -282,6 +280,8 @@ void SimpleLauncherApplet::updateWidget() {
   } else {
     gtk_widget_destroy(GTK_WIDGET(toolbar));
   }
+
+  gtk_widget_show_all(myWidget);
 }
 
 void SimpleLauncherApplet::_button_clicked(GtkToolButton *button, void *self) {