mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Remove unnecessary menu item. The same functionality exists in the
"Menus & Toolbars" preference panel. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13383 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
8ee2861201
commit
e82d670961
@ -1,3 +1,10 @@
|
|||||||
|
2006-02-24 David Hampton <hampton@employees.org>
|
||||||
|
|
||||||
|
* src/gnome-utils/ui/gnc-main-window-ui.xml:
|
||||||
|
* src/gnome-utils/gnc-main-window.c: Remove unnecessary menu
|
||||||
|
item. The same functionality exists in the "Menus & Toolbars"
|
||||||
|
preference panel.
|
||||||
|
|
||||||
2006-02-24 Christian Stimming <stimming@tuhh.de>
|
2006-02-24 Christian Stimming <stimming@tuhh.de>
|
||||||
|
|
||||||
* src/import-export/import-account-matcher.h: Let the account
|
* src/import-export/import-account-matcher.h: Let the account
|
||||||
|
@ -124,7 +124,6 @@ static void gnc_main_window_cmd_edit_cut (GtkAction *action, GncMainWindow *wind
|
|||||||
static void gnc_main_window_cmd_edit_copy (GtkAction *action, GncMainWindow *window);
|
static void gnc_main_window_cmd_edit_copy (GtkAction *action, GncMainWindow *window);
|
||||||
static void gnc_main_window_cmd_edit_paste (GtkAction *action, GncMainWindow *window);
|
static void gnc_main_window_cmd_edit_paste (GtkAction *action, GncMainWindow *window);
|
||||||
static void gnc_main_window_cmd_edit_preferences (GtkAction *action, GncMainWindow *window);
|
static void gnc_main_window_cmd_edit_preferences (GtkAction *action, GncMainWindow *window);
|
||||||
static void gnc_main_window_cmd_edit_accelerator_keys (GtkToggleAction *action, GncMainWindow *window);
|
|
||||||
static void gnc_main_window_cmd_view_refresh (GtkAction *action, GncMainWindow *window);
|
static void gnc_main_window_cmd_view_refresh (GtkAction *action, GncMainWindow *window);
|
||||||
static void gnc_main_window_cmd_view_toolbar (GtkAction *action, GncMainWindow *window);
|
static void gnc_main_window_cmd_view_toolbar (GtkAction *action, GncMainWindow *window);
|
||||||
static void gnc_main_window_cmd_view_summary (GtkAction *action, GncMainWindow *window);
|
static void gnc_main_window_cmd_view_summary (GtkAction *action, GncMainWindow *window);
|
||||||
@ -305,9 +304,6 @@ static guint gnc_menu_n_actions = G_N_ELEMENTS (gnc_menu_actions);
|
|||||||
* code. */
|
* code. */
|
||||||
static GtkToggleActionEntry toggle_actions [] =
|
static GtkToggleActionEntry toggle_actions [] =
|
||||||
{
|
{
|
||||||
{ "EditAcceleratorKeysAction", NULL, N_("Learn Accelerator Keys"), NULL,
|
|
||||||
N_("Learn new accelerator key settings."),
|
|
||||||
G_CALLBACK (gnc_main_window_cmd_edit_accelerator_keys), FALSE },
|
|
||||||
{ "ViewToolbarAction", NULL, N_("_Toolbar"), NULL,
|
{ "ViewToolbarAction", NULL, N_("_Toolbar"), NULL,
|
||||||
N_("Show/hide the toolbar on this window"),
|
N_("Show/hide the toolbar on this window"),
|
||||||
G_CALLBACK (gnc_main_window_cmd_view_toolbar), TRUE },
|
G_CALLBACK (gnc_main_window_cmd_view_toolbar), TRUE },
|
||||||
@ -2770,17 +2766,6 @@ gnc_main_window_cmd_edit_preferences (GtkAction *action, GncMainWindow *window)
|
|||||||
gnc_preferences_dialog ();
|
gnc_preferences_dialog ();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
|
||||||
gnc_main_window_cmd_edit_accelerator_keys( GtkToggleAction *action, GncMainWindow *window )
|
|
||||||
{
|
|
||||||
GtkSettings* settings;
|
|
||||||
|
|
||||||
settings = gtk_settings_get_default();
|
|
||||||
g_object_set(G_OBJECT(settings),
|
|
||||||
"gtk-can-change-accels", gtk_toggle_action_get_active(action),
|
|
||||||
(gchar*)NULL);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gnc_main_window_cmd_view_refresh (GtkAction *action, GncMainWindow *window)
|
gnc_main_window_cmd_view_refresh (GtkAction *action, GncMainWindow *window)
|
||||||
{
|
{
|
||||||
|
@ -45,7 +45,6 @@
|
|||||||
<placeholder name="EditFindPlaceholder"/>
|
<placeholder name="EditFindPlaceholder"/>
|
||||||
<separator name="EditSep4"/>
|
<separator name="EditSep4"/>
|
||||||
<menuitem name="EditPreferences" action="EditPreferencesAction"/>
|
<menuitem name="EditPreferences" action="EditPreferencesAction"/>
|
||||||
<menuitem name="EditAcceleratorKeys" action="EditAcceleratorKeysAction"/>
|
|
||||||
<placeholder name="EditPreferencesPlaceholder"/>
|
<placeholder name="EditPreferencesPlaceholder"/>
|
||||||
<separator name="EditSep5"/>
|
<separator name="EditSep5"/>
|
||||||
<placeholder name="EditStyleSheetsPlaceholder"/>
|
<placeholder name="EditStyleSheetsPlaceholder"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user