[easytag/wip/preferences-frames: 7/7] Move Preferences to a new Edit menu
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag/wip/preferences-frames: 7/7] Move Preferences to a new Edit menu
- Date: Mon, 29 Apr 2013 21:17:00 +0000 (UTC)
commit ca0da01e9bcd9438b2d1fc9a5856de53081245d1
Author: David King <amigadave amigadave com>
Date: Mon Apr 29 21:36:37 2013 +0100
Move Preferences to a new Edit menu
src/bar.c | 2 +-
src/bar.h | 2 +-
src/ui_manager.h | 8 ++++----
3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/bar.c b/src/bar.c
index da1f9e7..26c72b9 100644
--- a/src/bar.c
+++ b/src/bar.c
@@ -228,7 +228,7 @@ void Create_UI (GtkWidget **ppmenubar, GtkWidget **pptoolbar)
{ AM_WRITE_PLAYLIST, GTK_STOCK_SAVE_AS, _("Write Playlist…"), "<Alt>W",
_("Write playlist"), G_CALLBACK(Open_Write_Playlist_Window) },
{ AM_RUN_AUDIO_PLAYER, GTK_STOCK_MEDIA_PLAY, _("Run Audio Player"),
"<Alt>X", _("Run audio player"), G_CALLBACK(Run_Audio_Player_Using_Selection) },
- { MENU_SETTINGS, NULL, _("_Settings"), NULL,
NULL, NULL },
+ { MENU_EDIT, NULL, _("_Edit"), NULL, NULL, NULL },
{ AM_OPEN_OPTIONS_WINDOW, GTK_STOCK_PREFERENCES, _("_Preferences"), "<Alt>P",
_("Preferences"), G_CALLBACK(Open_OptionsWindow) },
{ MENU_HELP, NULL, _("_Help"), NULL,
NULL, NULL },
diff --git a/src/bar.h b/src/bar.h
index 115fe21..d478010 100644
--- a/src/bar.h
+++ b/src/bar.h
@@ -35,10 +35,10 @@ GtkWidget *CheckMenuItemBrowseSubdirMainMenu;
GtkWidget *CheckMenuItemBrowseHiddenDirMainMenu;
#define MENU_FILE "FileMenu"
+#define MENU_EDIT "EditMenu"
#define MENU_BROWSER "BrowserMenu"
#define MENU_SCANNER "ScannerMenu"
#define MENU_MISC "MiscMenu"
-#define MENU_SETTINGS "SettingsMenu"
#define MENU_HELP "HelpMenu"
#define MENU_FILE_SORT_TAG "SortTagMenu"
diff --git a/src/ui_manager.h b/src/ui_manager.h
index 6601994..a6ad998 100644
--- a/src/ui_manager.h
+++ b/src/ui_manager.h
@@ -112,6 +112,10 @@ static const gchar *ui_xml =
" </menu>"
+" <menu action='EditMenu'>"
+" <menuitem action='Preferences' />"
+" </menu>"
+
" <menu action='BrowserMenu'>"
" <menuitem action='GoToHome' />"
" <menuitem action='GoToDesktop' />"
@@ -160,10 +164,6 @@ static const gchar *ui_xml =
" <menuitem action='RunAudio' />"
" </menu>"
-" <menu action='SettingsMenu'>"
-" <menuitem action='Preferences' />"
-" </menu>"
-
" <menu action='HelpMenu'>"
" <menuitem action='About' />"
" </menu>"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]