r16050 - gnucash/trunk/src/import-export/hbci - Bug#436177: disable menu items for Import CSV {, and send}.

Josh Sled jsled at cvs.gnucash.org
Sat May 5 17:08:42 EDT 2007


Author: jsled
Date: 2007-05-05 17:08:41 -0400 (Sat, 05 May 2007)
New Revision: 16050
Trac: http://svn.gnucash.org/trac/changeset/16050

Modified:
   gnucash/trunk/src/import-export/hbci/gnc-plugin-hbci.c
Log:
Bug#436177: disable menu items for Import CSV {,and send}.


Modified: gnucash/trunk/src/import-export/hbci/gnc-plugin-hbci.c
===================================================================
--- gnucash/trunk/src/import-export/hbci/gnc-plugin-hbci.c	2007-05-05 21:02:56 UTC (rev 16049)
+++ gnucash/trunk/src/import-export/hbci/gnc-plugin-hbci.c	2007-05-05 21:08:41 UTC (rev 16050)
@@ -132,15 +132,17 @@
   { "DtausImportAction", GTK_STOCK_CONVERT, N_("Import _DTAUS"), NULL,
     N_("Import a DTAUS file into GnuCash"),
     G_CALLBACK (gnc_plugin_hbci_cmd_dtaus_import) },
+#ifdef CSV_IMPORT_FUNCTIONAL
   { "CsvImportAction", GTK_STOCK_CONVERT, N_("Import _CSV"), NULL,
     N_("Import a CSV file into GnuCash"),
     G_CALLBACK (gnc_plugin_hbci_cmd_csv_import) },
+  { "CsvImportSendAction", GTK_STOCK_CONVERT, N_("Import CSV and s_end..."), NULL,
+    N_("Import a CSV file into GnuCash and send the transfers online through Online Banking"),
+    G_CALLBACK (gnc_plugin_hbci_cmd_csv_importsend) },
+#endif
   { "DtausImportSendAction", GTK_STOCK_CONVERT, N_("Import DTAUS and _send..."), NULL,
     N_("Import a DTAUS file into GnuCash and send the transfers online through Online Banking"),
     G_CALLBACK (gnc_plugin_hbci_cmd_dtaus_importsend) },
-  { "CsvImportSendAction", GTK_STOCK_CONVERT, N_("Import CSV and s_end..."), NULL,
-    N_("Import a CSV file into GnuCash and send the transfers online through Online Banking"),
-    G_CALLBACK (gnc_plugin_hbci_cmd_csv_importsend) },
 
 };
 static guint gnc_plugin_n_actions = G_N_ELEMENTS (gnc_plugin_actions);



More information about the gnucash-changes mailing list