1 /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 #include <gnumeric-config.h>
6 #include <gnm-plugin.h>
7 #include <glib/gi18n-lib.h>
9 GNM_PLUGIN_MODULE_HEADER
;
12 view_data_sources (GnmAction
const *action
, WorkbookControl
*wbc
)
16 argv
[0] = (char *) "gnome-database-properties-4.0";
18 if (!g_spawn_async (NULL
, argv
, NULL
, G_SPAWN_SEARCH_PATH
, NULL
, NULL
, NULL
, NULL
)) {
19 char *msg
= g_strdup_printf (
20 _("Could not run GNOME database configuration tool ('%s')"),
22 go_gtk_notice_dialog (wbcg_toplevel (WBC_GTK (wbc
)),
23 GTK_MESSAGE_INFO
, msg
);
28 GnmModulePluginUIActions
const gnome_db_ui_actions
[] = {
29 {"ViewDataSources", view_data_sources
},