diff options
author | Miguel de Icaza <miguel@gnu.org> | 2000-02-16 01:28:34 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 2000-02-16 01:28:34 +0800 |
commit | d53eea370b1a53cbae519c92fa602d0e7aa5ecc8 (patch) | |
tree | 610202886dae8219e74e4e83e344d735c16a6c4a /e-util | |
parent | f9cdc1e00912852e94f454b0de79d613df46c19d (diff) | |
download | gsoc2013-evolution-d53eea370b1a53cbae519c92fa602d0e7aa5ecc8.tar.gz gsoc2013-evolution-d53eea370b1a53cbae519c92fa602d0e7aa5ecc8.tar.zst gsoc2013-evolution-d53eea370b1a53cbae519c92fa602d0e7aa5ecc8.zip |
Add the unicode libraries as well.
2000-02-14 Miguel de Icaza <miguel@gnu.org>
* camel/providers/mbox/Makefile.am (libcamelmbox_la_LIBADD): Add
the unicode libraries as well.
* camel/camel-provider.c (camel_provider_register_as_module): Add
error reporting here. Desire to use Solaris increases. Hair loss
in the last two hours: 5,400.
* camel/providers/mbox/camel-mbox-provider.c
(camel_mbox_get_provider): Renamed function.
* camel/camel.h: All include files use camel/ now here.
* camel/providers/mbox/Makefile.am: Drop all the dynamism from
Camel, and make this a standard library.
* configure.in: set the UNICODE_LIBS variable here.
2000-02-14 Miguel de Icaza <miguel@gnu.org>
* folder-browser.c (folder_browser_load_folder): New routine,
loads a camel folder.
(folder_browser_set_uri): redo.
* session.c: new file. Implements SessionStores to keep track of
a Session/Store tuple.
svn path=/trunk/; revision=1783
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/Makefile.am | 4 | ||||
-rw-r--r-- | e-util/e-gui-utils.c | 10 | ||||
-rw-r--r-- | e-util/e-gui-utils.h | 2 |
3 files changed, 12 insertions, 4 deletions
diff --git a/e-util/Makefile.am b/e-util/Makefile.am index f81b2da282..151b0b107f 100644 --- a/e-util/Makefile.am +++ b/e-util/Makefile.am @@ -12,4 +12,6 @@ libeutil_a_SOURCES = \ e-cursors.h \ e-gui-utils.c \ e-gui-utils.h \ - e-util.h + e-util.h \ + e-setup.c \ + e-setup.h diff --git a/e-util/e-gui-utils.c b/e-util/e-gui-utils.c index 7d9f4d49d9..9387d5015d 100644 --- a/e-util/e-gui-utils.c +++ b/e-util/e-gui-utils.c @@ -14,12 +14,18 @@ #include "e-gui-utils.h" void -e_notice (GtkWindow *window, const char *type, const char *str) +e_notice (GtkWindow *window, const char *type, const char *format, ...) { GtkWidget *dialog; + va_list args; + char *str; + va_start (args, format); + str = g_strdup_vprintf (format, args); dialog = gnome_message_box_new (str, type, GNOME_STOCK_BUTTON_OK, NULL); - + va_end (args); + g_free (str); + if (window) gnome_dialog_set_parent (GNOME_DIALOG (dialog), window); diff --git a/e-util/e-gui-utils.h b/e-util/e-gui-utils.h index 95b8f0b5a1..b5518f032b 100644 --- a/e-util/e-gui-utils.h +++ b/e-util/e-gui-utils.h @@ -6,7 +6,7 @@ void e_popup_menu (GtkMenu *menu, GdkEventButton *event); void e_auto_kill_popup_menu_on_hide (GtkMenu *menu); -void e_notice (GtkWindow *window, const char *type, const char *str); +void e_notice (GtkWindow *window, const char *type, const char *format, ...); #endif /* E_GUI_UTILS_H */ |