mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug #559783 – SQL-related menu entry only when --enable-dbi is given
Conditionally compile menu entry only if HAVE_DBI_DBI_H is defined. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17686 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
5d12065d64
commit
7d039a0133
@ -103,9 +103,11 @@ static GtkActionEntry gnc_plugin_actions [] = {
|
||||
{ "FileOpenAction", GTK_STOCK_OPEN, N_("_Open..."), NULL,
|
||||
N_("Open an existing GnuCash file"),
|
||||
G_CALLBACK (gnc_main_window_cmd_file_open) },
|
||||
#ifdef HAVE_DBI_DBI_H
|
||||
{ "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) },
|
||||
|
Loading…
Reference in New Issue
Block a user