[ekiga] Dropped useless setting.



commit a0724a9708112e0e1f03d3204484f260c19a9a97
Author: Damien Sandras <dsandras beip be>
Date:   Sat Jun 9 13:44:39 2012 +0200

    Dropped useless setting.

 ekiga.schemas.in.in                                |   11 -----------
 lib/engine/gui/gtk-frontend/preferences-window.cpp |    7 -------
 src/gui/main.cpp                                   |    7 ++-----
 3 files changed, 2 insertions(+), 23 deletions(-)
---
diff --git a/ekiga.schemas.in.in b/ekiga.schemas.in.in
index afcdbf5..91106fd 100644
--- a/ekiga.schemas.in.in
+++ b/ekiga.schemas.in.in
@@ -541,17 +541,6 @@
       </locale>
     </schema>
     <schema>
-      <key>/schemas/apps/@PACKAGE_NAME@/general/user_interface/start_hidden</key>
-      <applyto>/apps/@PACKAGE_NAME@/general/user_interface/start_hidden</applyto>
-      <owner>Ekiga</owner>
-      <type>bool</type>
-      <default>false</default>
-      <locale name="C">
-	<short>Start hidden</short>
-	<long>If enabled, Ekiga will start hidden provided that the notification area is present in the GNOME panel</long>
-      </locale>
-    </schema>
-    <schema>
       <key>/schemas/apps/@PACKAGE_NAME@/general/user_interface/call_window/position</key>
       <applyto>/apps/@PACKAGE_NAME@/general/user_interface/call_window/position</applyto>
       <owner>Ekiga</owner>
diff --git a/lib/engine/gui/gtk-frontend/preferences-window.cpp b/lib/engine/gui/gtk-frontend/preferences-window.cpp
index 28e05a9..1db7bea 100644
--- a/lib/engine/gui/gtk-frontend/preferences-window.cpp
+++ b/lib/engine/gui/gtk-frontend/preferences-window.cpp
@@ -475,13 +475,6 @@ gm_pw_init_interface_page (GtkWidget *prefs_window,
 {
   GtkWidget *subsection = NULL;
 
-
-  /* GnomeMeeting GUI */
-  subsection = gnome_prefs_subsection_new (prefs_window, container,
-                                _("User Interface"), 2, 2);
-
-  gnome_prefs_toggle_new (subsection, _("Start _hidden"), USER_INTERFACE_KEY "start_hidden", _("If enabled, Ekiga will start hidden provided that the notification area is present in the GNOME panel"), 1);
-
   /* Video Display */
   subsection = gnome_prefs_subsection_new (prefs_window, container,
                                 _("Video Display"), 1, 2);
diff --git a/src/gui/main.cpp b/src/gui/main.cpp
index 4c1ccc3..7f62a55 100644
--- a/src/gui/main.cpp
+++ b/src/gui/main.cpp
@@ -209,11 +209,8 @@ main (int argc,
     gm_conf_set_int (GENERAL_KEY "version", schema_version);
   }
 
-  /* Show the main window if there was a config file */
-  if (crt_version > 0) {
-    if (!gm_conf_get_bool (USER_INTERFACE_KEY "start_hidden"))
-      gtk_widget_show (main_window);
-  }
+  /* Show the main window */
+  gtk_widget_show (main_window);
 
   /* Call the given host if needed */
   if (url) {



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