gnome-terminal r2814 - trunk/src



Author: chpe
Date: Thu May 29 19:56:46 2008
New Revision: 2814
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2814&view=rev

Log:
Fix menu name confusion between new tab/new window.


Modified:
   trunk/src/terminal-window.c

Modified: trunk/src/terminal-window.c
==============================================================================
--- trunk/src/terminal-window.c	(original)
+++ trunk/src/terminal-window.c	Thu May 29 19:56:46 2008
@@ -78,11 +78,10 @@
 
 #define PROFILE_DATA_KEY "GT::Profile"
 
-
 #define FILE_NEW_TERMINAL_TAB_UI_PATH     "/menubar/File/FileNewTabProfiles"
 #define FILE_NEW_TERMINAL_WINDOW_UI_PATH  "/menubar/File/FileNewWindowProfiles"
-#define SET_ENCODING_ACTION_NAME_PREFIX "TerminalSetEncoding"
-#define SET_ENCODING_UI_PATH "/menubar/Terminal/TerminalSetEncoding/EncodingsPH"
+#define SET_ENCODING_UI_PATH              "/menubar/Terminal/TerminalSetEncoding/EncodingsPH"
+#define SET_ENCODING_ACTION_NAME_PREFIX   "TerminalSetEncoding"
 
 #define STOCK_NEW_WINDOW NULL
 #define STOCK_NEW_TAB NULL
@@ -1225,8 +1224,8 @@
     {
       /* Toplevel */
       { "File", NULL, N_("_File") },
-      { "FileNewTabProfiles", NULL, N_("Open _Terminal") },
-      { "FileNewWindowProfiles", NULL, N_("Open Ta_b") },
+      { "FileNewWindowProfiles", NULL, N_("Open _Terminal")},
+      { "FileNewTabProfiles", NULL, N_("Open Ta_b") },
       { "Edit", NULL, N_("_Edit") },
       { "View", NULL, N_("_View") },
       { "Terminal", NULL, N_("_Terminal") },
@@ -2431,7 +2430,7 @@
 
   if (_terminal_profile_get_forgotten (profile))
     return;
-      
+
   terminal_app_new_terminal (terminal_app_get (), window, profile,
                              NULL, NULL,
                              terminal_screen_get_working_dir (priv->active_screen),



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