[ekiga] Moved the "Contact" submenu to toplevel in the main window



commit f2b0a66bbbb3aa67b26c5eb0b58ff7a13b53f69c
Author: Julien Puydt <jpuydt gnome org>
Date:   Fri Oct 8 15:18:50 2010 +0200

    Moved the "Contact" submenu to toplevel in the main window

 src/gui/main_window.cpp |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/src/gui/main_window.cpp b/src/gui/main_window.cpp
index bf28e06..9e2340f 100644
--- a/src/gui/main_window.cpp
+++ b/src/gui/main_window.cpp
@@ -3233,13 +3233,6 @@ ekiga_main_window_init_menu (EkigaMainWindow *mw)
 
       GTK_MENU_SEPARATOR,
 
-      GTK_MENU_ENTRY("contact", _("Co_ntact"),
-		     _("Act on selected contact"),
-		     GTK_STOCK_EXECUTE, 0,
-		     NULL, NULL, FALSE),
-
-      GTK_MENU_SEPARATOR,
-
       GTK_MENU_ENTRY("hold_call", _("H_old Call"), _("Hold the current call"),
 		     NULL, GDK_h, 
 		     G_CALLBACK (hold_current_call_cb), mw,
@@ -3298,6 +3291,9 @@ ekiga_main_window_init_menu (EkigaMainWindow *mw)
 		     G_CALLBACK (show_window_cb),
 		     (gpointer) prefs_window, TRUE),
 
+      // that one doesn't have a macro :
+      {"contact", _("Co_ntact"), _("Act on the selected contact"), GTK_STOCK_EXECUTE, FALSE, 0, MENU_NEW, NULL, NULL, NULL, NULL, TRUE, FALSE},
+
       GTK_MENU_NEW(_("_View")),
 
       GTK_MENU_RADIO_ENTRY("contacts", _("Con_tacts"), _("View the contacts list"),



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