r17225 - gnucash/branches/gda-dev2/src - Remove "Database Connection" menu entry. At some point, it can be added
Phil Longstaff
plongstaff at cvs.gnucash.org
Thu Jun 12 20:16:58 EDT 2008
Author: plongstaff
Date: 2008-06-12 20:16:58 -0400 (Thu, 12 Jun 2008)
New Revision: 17225
Trac: http://svn.gnucash.org/trac/changeset/17225
Modified:
gnucash/branches/gda-dev2/src/gnome-utils/Makefile.am
gnucash/branches/gda-dev2/src/gnome/gnc-plugin-basic-commands.c
gnucash/branches/gda-dev2/src/gnome/ui/gnc-plugin-basic-commands-ui.xml
Log:
Remove "Database Connection" menu entry. At some point, it can be added
back, dependent on whether GDA is enabled or not.
Modified: gnucash/branches/gda-dev2/src/gnome/gnc-plugin-basic-commands.c
===================================================================
--- gnucash/branches/gda-dev2/src/gnome/gnc-plugin-basic-commands.c 2008-06-12 23:04:50 UTC (rev 17224)
+++ gnucash/branches/gda-dev2/src/gnome/gnc-plugin-basic-commands.c 2008-06-13 00:16:58 UTC (rev 17225)
@@ -103,9 +103,11 @@
{ "FileOpenAction", GTK_STOCK_OPEN, N_("_Open..."), NULL,
N_("Open an existing GnuCash file"),
G_CALLBACK (gnc_main_window_cmd_file_open) },
+#if 0
{ "FileDatabaseConnectionAction", NULL, N_("_Database Connection"), NULL,
N_("Connect to a database"),
G_CALLBACK (gnc_main_window_cmd_file_db_connection) },
+#endif
{ "FileSaveAction", GTK_STOCK_SAVE, N_("_Save"), "<control>s",
N_("Save the current file"),
G_CALLBACK (gnc_main_window_cmd_file_save) },
@@ -345,7 +347,7 @@
if (!gnc_main_window_all_finish_pending())
return;
- gnc_ui_database_connection();
+// gnc_ui_database_connection();
}
static void
Modified: gnucash/branches/gda-dev2/src/gnome/ui/gnc-plugin-basic-commands-ui.xml
===================================================================
--- gnucash/branches/gda-dev2/src/gnome/ui/gnc-plugin-basic-commands-ui.xml 2008-06-12 23:04:50 UTC (rev 17224)
+++ gnucash/branches/gda-dev2/src/gnome/ui/gnc-plugin-basic-commands-ui.xml 2008-06-13 00:16:58 UTC (rev 17225)
@@ -12,7 +12,6 @@
</placeholder>
</menu>
<placeholder name="FileSavePlaceholder">
- <menuitem name="FileDatabaseConnection" action="FileDatabaseConnectionAction"/>
<menuitem name="FileSave" action="FileSaveAction"/>
<menuitem name="FileSaveAs" action="FileSaveAsAction"/>
</placeholder>
Modified: gnucash/branches/gda-dev2/src/gnome-utils/Makefile.am
===================================================================
--- gnucash/branches/gda-dev2/src/gnome-utils/Makefile.am 2008-06-12 23:04:50 UTC (rev 17224)
+++ gnucash/branches/gda-dev2/src/gnome-utils/Makefile.am 2008-06-13 00:16:58 UTC (rev 17225)
@@ -30,7 +30,6 @@
dialog-account.c \
dialog-book-close.c \
dialog-commodity.c \
- dialog-database-connection.c \
dialog-options.c \
dialog-preferences.c \
dialog-query-list.c \
@@ -104,7 +103,6 @@
account-quickfill.h \
dialog-account.h \
dialog-book-close.h \
- dialog-database-connection.h \
dialog-commodity.h \
dialog-preferences.h \
dialog-options.h \
More information about the gnucash-changes
mailing list