[Gnucash-changes] r12143 - gnucash/trunk - Remove Misc menu.
Joshua Sled
jsled at cvs.gnucash.org
Tue Dec 6 23:15:52 EST 2005
Author: jsled
Date: 2005-12-06 23:15:51 -0500 (Tue, 06 Dec 2005)
New Revision: 12143
Trac: http://svn.gnucash.org/trac/changeset/12143
Modified:
gnucash/trunk/ChangeLog
gnucash/trunk/GNOME2_STATUS
gnucash/trunk/src/gnome-utils/gnc-main-window.c
gnucash/trunk/src/gnome-utils/ui/gnc-main-window-ui.xml
Log:
Remove Misc menu.
Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog 2005-12-07 02:22:06 UTC (rev 12142)
+++ gnucash/trunk/ChangeLog 2005-12-07 04:15:51 UTC (rev 12143)
@@ -1,3 +1,7 @@
+2005-12-06 Joshua Sled <jsled at asynchronous.org>
+
+ * gnc-main-window.c (gnc_menu_actions): Remove Misc menu.
+
2005-12-06 David Hampton <hampton at employees.org>
* src/gnome/dialog-price-edit-db.c: Fix the edit price to properly
Modified: gnucash/trunk/GNOME2_STATUS
===================================================================
--- gnucash/trunk/GNOME2_STATUS 2005-12-07 02:22:06 UTC (rev 12142)
+++ gnucash/trunk/GNOME2_STATUS 2005-12-07 04:15:51 UTC (rev 12143)
@@ -180,13 +180,6 @@
- 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
========================================
Modified: gnucash/trunk/src/gnome-utils/gnc-main-window.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-main-window.c 2005-12-07 02:22:06 UTC (rev 12142)
+++ gnucash/trunk/src/gnome-utils/gnc-main-window.c 2005-12-07 04:15:51 UTC (rev 12143)
@@ -131,8 +131,6 @@
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 @@
{ "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 @@
{ "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_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 = "<html><head><title>testing</title></head>"
- "<body><h1>testing</h1><h2>testing 2</h2> <p>Tes<br />ting"
- "<object classid=\"gnc-guppi-pie\" width=\"300\" height=\"200\">"
- "No pie for you!</object></p></body></html>";
- 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.
Modified: gnucash/trunk/src/gnome-utils/ui/gnc-main-window-ui.xml
===================================================================
--- gnucash/trunk/src/gnome-utils/ui/gnc-main-window-ui.xml 2005-12-07 02:22:06 UTC (rev 12142)
+++ gnucash/trunk/src/gnome-utils/ui/gnc-main-window-ui.xml 2005-12-07 04:15:51 UTC (rev 12143)
@@ -133,9 +133,6 @@
<menuitem name="HelpAbout" action="HelpAboutAction"/>
</menu>
- <menu name="Misc" action="MiscAction">
- <menuitem name="MiscTest" action="MiscTestAction"/>
- </menu>
</menubar>
<popup name="MainPopup" action="FakeToplevel">
More information about the gnucash-changes
mailing list