diff options
author | Hans Petter Jansson <hpj@ximian.com> | 2003-01-25 06:06:38 +0800 |
---|---|---|
committer | Hans Petter <hansp@src.gnome.org> | 2003-01-25 06:06:38 +0800 |
commit | be30d82733a1f8afda0a496b43a9f14e512ad6a6 (patch) | |
tree | 80fd04b64e70efc635d006903b1cf9ce6669654d | |
parent | 0d838a10a2e8eb6a5c99637a037b34b31a00cdf8 (diff) | |
download | gsoc2013-evolution-be30d82733a1f8afda0a496b43a9f14e512ad6a6.tar gsoc2013-evolution-be30d82733a1f8afda0a496b43a9f14e512ad6a6.tar.gz gsoc2013-evolution-be30d82733a1f8afda0a496b43a9f14e512ad6a6.tar.bz2 gsoc2013-evolution-be30d82733a1f8afda0a496b43a9f14e512ad6a6.tar.lz gsoc2013-evolution-be30d82733a1f8afda0a496b43a9f14e512ad6a6.tar.xz gsoc2013-evolution-be30d82733a1f8afda0a496b43a9f14e512ad6a6.tar.zst gsoc2013-evolution-be30d82733a1f8afda0a496b43a9f14e512ad6a6.zip |
Enable getting the categories master list from wombat.
2003-01-24 Hans Petter Jansson <hpj@ximian.com>
* e-categories-config.c (initialize_categories_config): Enable
getting the categories master list from wombat.
(e_categories_config_open_dialog_for_entry): It's now a GtkDialog.
svn path=/trunk/; revision=19625
-rw-r--r-- | e-util/ChangeLog | 6 | ||||
-rw-r--r-- | e-util/e-categories-config.c | 8 |
2 files changed, 9 insertions, 5 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog index 3337c7b1d0..5a800998ce 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,9 @@ +2003-01-24 Hans Petter Jansson <hpj@ximian.com> + + * e-categories-config.c (initialize_categories_config): Enable + getting the categories master list from wombat. + (e_categories_config_open_dialog_for_entry): It's now a GtkDialog. + 2003-01-22 Ettore Perazzoli <ettore@ximian.com> * Makefile.am (eutilincludedir): Version using $(BASE_VERSION). diff --git a/e-util/e-categories-config.c b/e-util/e-categories-config.c index 6d286197b6..7131f7b88c 100644 --- a/e-util/e-categories-config.c +++ b/e-util/e-categories-config.c @@ -25,9 +25,7 @@ initialize_categories_config (void) { g_return_if_fail (initialized == FALSE); -#if 0 ecmlw = E_CATEGORIES_MASTER_LIST_WOMBAT (e_categories_master_list_wombat_new ()); -#endif icons_table = g_hash_table_new (g_str_hash, g_str_equal); /* FIXME: must free the two objects above when exiting */ @@ -175,7 +173,7 @@ e_categories_config_set_icon_for (const char *category, const char *icon_file) void e_categories_config_open_dialog_for_entry (GtkEntry *entry) { - GnomeDialog *dialog; + GtkDialog *dialog; const char *text; char *categories; int result; @@ -187,14 +185,14 @@ e_categories_config_open_dialog_for_entry (GtkEntry *entry) initialize_categories_config (); text = gtk_entry_get_text (GTK_ENTRY (entry)); - dialog = GNOME_DIALOG (e_categories_new (text)); + dialog = GTK_DIALOG (e_categories_new (text)); gtk_object_set (GTK_OBJECT (dialog), "ecml", ecmlw, NULL); /* run the dialog */ - result = gnome_dialog_run (dialog); + result = gtk_dialog_run (dialog); if (result == 0) { gtk_object_get (GTK_OBJECT (dialog), |