From 6aa643d812368cb4c8fb252e05321fc81061c805 Mon Sep 17 00:00:00 2001 From: Yevgen Muntyan <17531749+muntyan@users.noreply.github.com> Date: Tue, 4 Apr 2006 04:21:07 -0500 Subject: [PATCH] Renamed "New Document" to "New", added "New Window" --- moo/mooedit/mooeditwindow.c | 18 +++++++++--------- tests/medit-ui.xml | 9 +++++---- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/moo/mooedit/mooeditwindow.c b/moo/mooedit/mooeditwindow.c index b4206944..1b7740f8 100644 --- a/moo/mooedit/mooeditwindow.c +++ b/moo/mooedit/mooeditwindow.c @@ -158,7 +158,7 @@ static gboolean notebook_drag_motion (GtkWidget *widget, /* actions */ static void moo_edit_window_new (MooEditWindow *window); -static void moo_edit_window_new_tab (MooEditWindow *window); +static void moo_edit_window_new_doc (MooEditWindow *window); static void moo_edit_window_open (MooEditWindow *window); static void moo_edit_window_reload (MooEditWindow *window); static void moo_edit_window_save (MooEditWindow *window); @@ -287,17 +287,17 @@ static void moo_edit_window_class_init (MooEditWindowClass *klass) "label", "_New Window", "tooltip", "Open new editor window", "icon-stock-id", GTK_STOCK_NEW, - "accel", "N", + "accel", "N", "closure-callback", moo_edit_window_new, NULL); - moo_window_class_new_action (window_class, "NewTab", - "name", "New Tab", - "label", "New _Tab", - "tooltip", "Create new document tab", + moo_window_class_new_action (window_class, "NewDoc", + "name", "New", + "label", "New", + "tooltip", "Create new document", "icon-stock-id", GTK_STOCK_NEW, - "accel", "T", - "closure-callback", moo_edit_window_new_tab, + "accel", "N", + "closure-callback", moo_edit_window_new_doc, NULL); moo_window_class_new_action (window_class, "Open", @@ -884,7 +884,7 @@ static void moo_edit_window_new (MooEditWindow *window) } -static void moo_edit_window_new_tab (MooEditWindow *window) +static void moo_edit_window_new_doc (MooEditWindow *window) { moo_editor_new_doc (window->priv->editor, window); } diff --git a/tests/medit-ui.xml b/tests/medit-ui.xml index 75fb0900..16ec8f5f 100644 --- a/tests/medit-ui.xml +++ b/tests/medit-ui.xml @@ -6,7 +6,8 @@ - + + @@ -37,9 +38,9 @@ - + @@ -101,7 +102,7 @@ - +