summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorThomas James Alexander Thurman <tthurman@src.gnome.org>2008-11-08 18:51:56 +0000
committerThomas James Alexander Thurman <tthurman@src.gnome.org>2008-11-08 18:51:56 +0000
commitc4768a3b9fec7a99b824a83cd1ce8e2bc3d5110b (patch)
treefca36059c45bc974f1378057c2dd25465265e8c2 /src/include
parent51468bfb569cc279171db5e653b682666b5f037f (diff)
downloadmetacity-c4768a3b9fec7a99b824a83cd1ce8e2bc3d5110b.tar.gz
metacity-c4768a3b9fec7a99b824a83cd1ce8e2bc3d5110b.tar.bz2
added dependency on Zenity remove error_on_generic_command() and
* configure.in: added dependency on Zenity * src/core/keybindings.c: remove error_on_generic_command() and error_on_terminal_command(); rewrite error_on_command in terms of meta_show_dialog() * src/core/util.c: add meta_show_dialog() to call Zenity * src/include/util.h: ditto svn path=/trunk/; revision=4013
Diffstat (limited to 'src/include')
-rw-r--r--src/include/util.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/util.h b/src/include/util.h
index 161ae93..5041f5e 100644
--- a/src/include/util.h
+++ b/src/include/util.h
@@ -97,6 +97,13 @@ char* meta_g_utf8_strndup (const gchar *src, gsize n);
void meta_free_gslist_and_elements (GSList *list_to_deep_free);
+void meta_show_dialog (const char *type,
+ const char *title,
+ const char *message,
+ gint timeout,
+ const char **columns,
+ const char **entries);
+
/* To disable verbose mode, we make these functions into no-ops */
#ifdef WITH_VERBOSE_MODE