[Gnucash-changes] Print is a placeholder that must be overridden.

David Hampton hampton at cvs.gnucash.org
Sat Jul 2 19:05:53 EDT 2005


Log Message:
-----------
Print is a placeholder that must be overridden.

Tags:
----
gnucash-gnome2-dev

Modified Files:
--------------
    gnucash/src/gnome-utils:
        gnc-main-window.c

Revision Data
-------------
Index: gnc-main-window.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/gnome-utils/Attic/gnc-main-window.c,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -Lsrc/gnome-utils/gnc-main-window.c -Lsrc/gnome-utils/gnc-main-window.c -u -r1.1.2.4 -r1.1.2.5
--- src/gnome-utils/gnc-main-window.c
+++ src/gnome-utils/gnc-main-window.c
@@ -80,7 +80,6 @@
 static void gnc_main_window_plugin_removed (GncPlugin *manager, GncPlugin *plugin, GncMainWindow *window);
 
 /* Command callbacks */
-static void gnc_main_window_cmd_file_print (GtkAction *action, GncMainWindow *window);
 static void gnc_main_window_cmd_file_properties (GtkAction *action, GncMainWindow *window);
 static void gnc_main_window_cmd_file_close (GtkAction *action, GncMainWindow *window);
 static void gnc_main_window_cmd_file_quit (GtkAction *action, GncMainWindow *window);
@@ -147,9 +146,7 @@
 	{ "FileOpenMenuAction", GTK_STOCK_OPEN, N_("_Open"), "", NULL, NULL },
 	{ "FileImportAction", NULL, N_("_Import"), NULL, NULL, NULL },
 	{ "FileExportAction", NULL, N_("_Export"), NULL, NULL, NULL },
-	{ "FilePrintAction", GTK_STOCK_PRINT, N_("_Print..."), "<control>p",
-	  NULL,
-	  G_CALLBACK (gnc_main_window_cmd_file_print) },
+	{ "FilePrintAction", GTK_STOCK_PRINT, N_("_Print..."), NULL, NULL, NULL },
 	{ "FilePropertiesAction", GTK_STOCK_PROPERTIES, N_("Proper_ties"), NULL,
 	  NULL,
 	  G_CALLBACK (gnc_main_window_cmd_file_properties) },
@@ -235,6 +232,7 @@
  *  These actions should be overridden in child windows where they
  *  have meaning. */
 static const gchar *always_insensitive_actions[] = {
+	"FilePrintAction",
 	"EditCutAction",
 	"EditCopyAction",
 	"EditPasteAction",
@@ -1482,11 +1480,6 @@
 
 /* Command callbacks */
 static void
-gnc_main_window_cmd_file_print (GtkAction *action, GncMainWindow *window)
-{
-}
-
-static void
 gnc_main_window_cmd_file_properties (GtkAction *action, GncMainWindow *window)
 {
   SCM func = scm_c_eval_string("gnc:main-window-properties-cb");


More information about the gnucash-changes mailing list