[ekiga] Always honour show_hidden setting for main window



commit a45cb1b05248573557e4e57e06e230d9b15bb409
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Sat Jul 17 17:37:07 2010 +0200

    Always honour show_hidden setting for main window
    
    It was not taken into account for first execution and when upgrading.

 src/gui/main_window.cpp |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/src/gui/main_window.cpp b/src/gui/main_window.cpp
index 31a1ec2..5f83ecb 100644
--- a/src/gui/main_window.cpp
+++ b/src/gui/main_window.cpp
@@ -4492,15 +4492,14 @@ main (int argc,
 
     /* Update the version number */
     gm_conf_set_int (GENERAL_KEY "version", schema_version);
-  } else {
-
-    /* Show the main window */
-    if (!gm_conf_get_bool (USER_INTERFACE_KEY "start_hidden"))
-      gtk_widget_show (main_window);
-    else
-      g_timeout_add_seconds (15, (GtkFunction) gnomemeeting_tray_hack_cb, NULL);
   }
 
+  /* Show the main window */
+  if (!gm_conf_get_bool (USER_INTERFACE_KEY "start_hidden"))
+    gtk_widget_show (main_window);
+  else
+    g_timeout_add_seconds (15, (GtkFunction) gnomemeeting_tray_hack_cb, NULL);
+
   /* Call the given host if needed */
   if (url)
     call_core->dial (url);



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