@ -56,7 +56,9 @@
# include "gnc-session.h"
/* This static indicates the debugging module that this .o belongs to. */
# ifdef QSF_IMPORT_NO_LONGER_BROKEN
static QofLogModule log_module = GNC_MOD_GUI ;
# endif
static void gnc_plugin_basic_commands_class_init ( GncPluginBasicCommandsClass * klass ) ;
static void gnc_plugin_basic_commands_init ( GncPluginBasicCommands * plugin ) ;
@ -67,7 +69,9 @@ static void gnc_main_window_cmd_file_new (GtkAction *action, GncMainWindowAction
static void gnc_main_window_cmd_file_open ( GtkAction * action , GncMainWindowActionData * data ) ;
static void gnc_main_window_cmd_file_save ( GtkAction * action , GncMainWindowActionData * data ) ;
static void gnc_main_window_cmd_file_save_as ( GtkAction * action , GncMainWindowActionData * data ) ;
# ifdef QSF_IMPORT_NO_LONGER_BROKEN
static void gnc_main_window_cmd_file_qsf_import ( GtkAction * action , GncMainWindowActionData * data ) ;
# endif
static void gnc_main_window_cmd_file_export_accounts ( GtkAction * action , GncMainWindowActionData * data ) ;
static void gnc_main_window_cmd_file_chart_export ( GtkAction * action , GncMainWindowActionData * data ) ;
static void gnc_main_window_cmd_edit_tax_options ( GtkAction * action , GncMainWindowActionData * data ) ;
@ -104,10 +108,12 @@ static GtkActionEntry gnc_plugin_actions [] = {
{ " FileSaveAsAction " , GTK_STOCK_SAVE_AS , N_ ( " Save _As... " ) , " <shift><control>s " ,
NULL ,
G_CALLBACK ( gnc_main_window_cmd_file_save_as ) } ,
# ifdef QSF_IMPORT_NO_LONGER_BROKEN
{ " FileImportQSFAction " , GTK_STOCK_CONVERT ,
N_ ( " _QSF Import " ) , NULL ,
N_ ( " Import a QSF object file " ) ,
G_CALLBACK ( gnc_main_window_cmd_file_qsf_import ) } ,
# endif
{ " FileExportAccountsAction " , GTK_STOCK_CONVERT ,
N_ ( " Export _Accounts " ) , NULL ,
N_ ( " Export the account hierarchy to a new GnuCash datafile " ) ,
@ -345,7 +351,7 @@ gnc_main_window_cmd_file_save_as (GtkAction *action, GncMainWindowActionData *da
gnc_window_set_progressbar_window ( NULL ) ;
/* FIXME GNOME 2 Port (update the title etc.) */
}
# ifdef QSF_IMPORT_NO_LONGER_BROKEN
static void
qsf_file_select_ok ( GtkWidget * w , GtkFileSelection * fs )
{
@ -383,7 +389,7 @@ gnc_main_window_cmd_file_qsf_import (GtkAction *action, GncMainWindowActionData
gtk_widget_show ( file_select ) ;
gnc_window_set_progressbar_window ( NULL ) ;
}
# endif
static void
gnc_main_window_cmd_file_export_accounts ( GtkAction * action , GncMainWindowActionData * data )
{