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
This commit is contained in:
Thomas James Alexander Thurman
2008-11-08 18:51:56 +00:00
parent 51468bfb56
commit c4768a3b9f
5 changed files with 131 additions and 67 deletions

View File

@ -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