1 #include <gnumeric-config.h>
5 #include <gnm-plugin.h>
6 #include <glib/gi18n-lib.h>
8 GNM_PLUGIN_MODULE_HEADER
;
11 view_data_sources (GnmAction
const *action
, WorkbookControl
*wbc
)
15 argv
[0] = (char *) "gnome-database-properties-4.0";
17 if (!g_spawn_async (NULL
, argv
, NULL
, G_SPAWN_SEARCH_PATH
, NULL
, NULL
, NULL
, NULL
)) {
18 char *msg
= g_strdup_printf (
19 _("Could not run GNOME database configuration tool ('%s')"),
21 go_gtk_notice_dialog (wbcg_toplevel (WBC_GTK (wbc
)),
22 GTK_MESSAGE_INFO
, msg
);
27 GnmModulePluginUIActions
const gnome_db_ui_actions
[] = {
28 {"ViewDataSources", view_data_sources
},