mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Remove Misc menu.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12143 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
4e6f652733
commit
f2e75393d4
@ -1,3 +1,7 @@
|
|||||||
|
2005-12-06 Joshua Sled <jsled@asynchronous.org>
|
||||||
|
|
||||||
|
* gnc-main-window.c (gnc_menu_actions): Remove Misc menu.
|
||||||
|
|
||||||
2005-12-06 David Hampton <hampton@employees.org>
|
2005-12-06 David Hampton <hampton@employees.org>
|
||||||
|
|
||||||
* src/gnome/dialog-price-edit-db.c: Fix the edit price to properly
|
* src/gnome/dialog-price-edit-db.c: Fix the edit price to properly
|
||||||
|
@ -180,13 +180,6 @@ Resources
|
|||||||
- Open SX Editor, close it; open Register Preferences, change "Draw
|
- Open SX Editor, close it; open Register Preferences, change "Draw
|
||||||
{horiz,vert} lines" => crash.
|
{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
|
ENHANCEMENTS
|
||||||
========================================
|
========================================
|
||||||
|
@ -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_contents (GtkAction *action, GncMainWindow *window);
|
||||||
static void gnc_main_window_cmd_help_about (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 void do_popup_menu(GncPluginPage *page, GdkEventButton *event);
|
||||||
static gboolean gnc_main_window_popup_menu_cb (GtkWidget *widget, GncPluginPage *page);
|
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 },
|
{ "ExtensionsAction", NULL, N_("E_xtensions"), NULL, NULL, NULL },
|
||||||
{ "WindowsAction", NULL, N_("_Windows"), NULL, NULL, NULL },
|
{ "WindowsAction", NULL, N_("_Windows"), NULL, NULL, NULL },
|
||||||
{ "HelpAction", NULL, N_("_Help"), NULL, NULL, NULL },
|
{ "HelpAction", NULL, N_("_Help"), NULL, NULL, NULL },
|
||||||
{ "MiscAction", NULL, N_("_Misc"), NULL, NULL, NULL },
|
|
||||||
|
|
||||||
/* File menu */
|
/* File menu */
|
||||||
|
|
||||||
@ -281,12 +278,6 @@ static GtkActionEntry gnc_menu_actions [] =
|
|||||||
{ "HelpAboutAction", GNOME_STOCK_ABOUT, N_("_About"), NULL,
|
{ "HelpAboutAction", GNOME_STOCK_ABOUT, N_("_About"), NULL,
|
||||||
NULL,
|
NULL,
|
||||||
G_CALLBACK (gnc_main_window_cmd_help_about) },
|
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. */
|
/** The number of actions provided by the main window. */
|
||||||
static guint gnc_menu_n_actions = G_N_ELEMENTS (gnc_menu_actions);
|
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);
|
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
|
#ifdef HAVE_GLIB26
|
||||||
/** This is a helper function to find a data file and suck it into
|
/** This is a helper function to find a data file and suck it into
|
||||||
* memory.
|
* memory.
|
||||||
|
@ -133,9 +133,6 @@
|
|||||||
<menuitem name="HelpAbout" action="HelpAboutAction"/>
|
<menuitem name="HelpAbout" action="HelpAboutAction"/>
|
||||||
</menu>
|
</menu>
|
||||||
|
|
||||||
<menu name="Misc" action="MiscAction">
|
|
||||||
<menuitem name="MiscTest" action="MiscTestAction"/>
|
|
||||||
</menu>
|
|
||||||
</menubar>
|
</menubar>
|
||||||
|
|
||||||
<popup name="MainPopup" action="FakeToplevel">
|
<popup name="MainPopup" action="FakeToplevel">
|
||||||
|
Loading…
Reference in New Issue
Block a user