From f2e75393d4bd669933b5a5d8cf29bfdf760090f9 Mon Sep 17 00:00:00 2001 From: Joshua Sled Date: Wed, 7 Dec 2005 04:15:51 +0000 Subject: [PATCH] Remove Misc menu. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12143 57a11ea4-9604-0410-9ed3-97b8803252fd --- ChangeLog | 4 ++++ GNOME2_STATUS | 7 ------ src/gnome-utils/gnc-main-window.c | 26 ----------------------- src/gnome-utils/ui/gnc-main-window-ui.xml | 3 --- 4 files changed, 4 insertions(+), 36 deletions(-) diff --git a/ChangeLog b/ChangeLog index ce9b055a41..7125f40056 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-12-06 Joshua Sled + + * gnc-main-window.c (gnc_menu_actions): Remove Misc menu. + 2005-12-06 David Hampton * src/gnome/dialog-price-edit-db.c: Fix the edit price to properly diff --git a/GNOME2_STATUS b/GNOME2_STATUS index d674b6baa1..8d0c188c0d 100644 --- a/GNOME2_STATUS +++ b/GNOME2_STATUS @@ -180,13 +180,6 @@ Resources - Open SX Editor, close it; open Register Preferences, change "Draw {horiz,vert} lines" => crash. -- Misc - - - Test ... "No pie for you!" - - - jsled to figure out why this doesn't work, then remove this test menu - item. - ======================================== ENHANCEMENTS ======================================== diff --git a/src/gnome-utils/gnc-main-window.c b/src/gnome-utils/gnc-main-window.c index 0b1b8b3eb5..2540cdcdda 100644 --- a/src/gnome-utils/gnc-main-window.c +++ b/src/gnome-utils/gnc-main-window.c @@ -131,8 +131,6 @@ static void gnc_main_window_cmd_help_tutorial (GtkAction *action, GncMainWindow static void gnc_main_window_cmd_help_contents (GtkAction *action, GncMainWindow *window); static void gnc_main_window_cmd_help_about (GtkAction *action, GncMainWindow *window); -static void gnc_main_window_cmd_test( GtkAction *action, GncMainWindow *window ); - static void do_popup_menu(GncPluginPage *page, GdkEventButton *event); static gboolean gnc_main_window_popup_menu_cb (GtkWidget *widget, GncPluginPage *page); @@ -217,7 +215,6 @@ static GtkActionEntry gnc_menu_actions [] = { "ExtensionsAction", NULL, N_("E_xtensions"), NULL, NULL, NULL }, { "WindowsAction", NULL, N_("_Windows"), NULL, NULL, NULL }, { "HelpAction", NULL, N_("_Help"), NULL, NULL, NULL }, - { "MiscAction", NULL, N_("_Misc"), NULL, NULL, NULL }, /* File menu */ @@ -281,12 +278,6 @@ static GtkActionEntry gnc_menu_actions [] = { "HelpAboutAction", GNOME_STOCK_ABOUT, N_("_About"), NULL, NULL, G_CALLBACK (gnc_main_window_cmd_help_about) }, - - /* Misc menu */ - - { "MiscTestAction", NULL, N_("TEST"), NULL, - N_("Testing stuff"), G_CALLBACK (gnc_main_window_cmd_test) }, - }; /** The number of actions provided by the main window. */ static guint gnc_menu_n_actions = G_N_ELEMENTS (gnc_menu_actions); @@ -2778,23 +2769,6 @@ gnc_main_window_cmd_help_contents (GtkAction *action, GncMainWindow *window) gnc_gnome_help (HF_HELP, NULL); } -static void -gnc_main_window_cmd_test( GtkAction *action, GncMainWindow *window ) -{ - GtkWindow *w = GTK_WINDOW(gtk_window_new( GTK_WINDOW_TOPLEVEL )); - gnc_html *gnchtml = gnc_html_new( w ); - gchar *html = "testing" - "

testing

testing 2

Tes
ting" - "" - "No pie for you!

"; - gtk_container_add( GTK_CONTAINER(w), - GTK_WIDGET(gnc_html_get_widget(gnchtml)) ); - - gnc_html_show_data( gnchtml, html, strlen( html ) ); - - gtk_widget_show_all( GTK_WIDGET(w) ); -} - #ifdef HAVE_GLIB26 /** This is a helper function to find a data file and suck it into * memory. diff --git a/src/gnome-utils/ui/gnc-main-window-ui.xml b/src/gnome-utils/ui/gnc-main-window-ui.xml index f0bfa82fdc..718a11859f 100644 --- a/src/gnome-utils/ui/gnc-main-window-ui.xml +++ b/src/gnome-utils/ui/gnc-main-window-ui.xml @@ -133,9 +133,6 @@ - - -