aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-07-03 11:33:54 +0800
committerChris Lahey <clahey@src.gnome.org>2001-07-03 11:33:54 +0800
commite981cabe35d8fde0254eb32ea9091b0dd62db830 (patch)
treef1469c8fc21d2cf5f21c7fbb05aaae98d0a5c9da /addressbook/gui
parent36e1d698098c7a2ef0271320ffb8290741866d29 (diff)
downloadgsoc2013-evolution-e981cabe35d8fde0254eb32ea9091b0dd62db830.tar
gsoc2013-evolution-e981cabe35d8fde0254eb32ea9091b0dd62db830.tar.gz
gsoc2013-evolution-e981cabe35d8fde0254eb32ea9091b0dd62db830.tar.bz2
gsoc2013-evolution-e981cabe35d8fde0254eb32ea9091b0dd62db830.tar.lz
gsoc2013-evolution-e981cabe35d8fde0254eb32ea9091b0dd62db830.tar.xz
gsoc2013-evolution-e981cabe35d8fde0254eb32ea9091b0dd62db830.tar.zst
gsoc2013-evolution-e981cabe35d8fde0254eb32ea9091b0dd62db830.zip
Added $(BONOBO_CONF_LIBS).
2001-07-02 Christopher James Lahey <clahey@ximian.com> * gui/component/Makefile.am (evolution_addressbook_LDADD): Added $(BONOBO_CONF_LIBS). * gui/component/select-names/e-select-names.c (e_select_names_create_categories), gui/contact-editor/e-contact-editor.c (categories_clicked): Switched to an ECategoriesMasterListWombat instead of an ECategoriesMasterListArray here. svn path=/trunk/; revision=10722
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/component/Makefile.am1
-rw-r--r--addressbook/gui/component/select-names/e-select-names.c4
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c10
3 files changed, 3 insertions, 12 deletions
diff --git a/addressbook/gui/component/Makefile.am b/addressbook/gui/component/Makefile.am
index d58c768328..898a415747 100644
--- a/addressbook/gui/component/Makefile.am
+++ b/addressbook/gui/component/Makefile.am
@@ -47,6 +47,7 @@ evolution_addressbook_LDADD = \
$(top_builddir)/shell/libeshell.la \
$(EXTRA_GNOME_LIBS) \
$(BONOBO_HTML_GNOME_LIBS) \
+ $(BONOBO_CONF_LIBS) \
$(top_builddir)/addressbook/gui/widgets/libeminicard.a \
$(top_builddir)/addressbook/backend/ebook/libebook.la \
$(top_builddir)/e-util/ename/libename.la \
diff --git a/addressbook/gui/component/select-names/e-select-names.c b/addressbook/gui/component/select-names/e-select-names.c
index 581c5a635f..efa5a13102 100644
--- a/addressbook/gui/component/select-names/e-select-names.c
+++ b/addressbook/gui/component/select-names/e-select-names.c
@@ -40,7 +40,7 @@
#include <addressbook/backend/ebook/e-card-simple.h>
#include "e-select-names-table-model.h"
#include <gal/widgets/e-categories-master-list-combo.h>
-#include <gal/widgets/e-categories-master-list-array.h>
+#include <e-util/e-categories-master-list-wombat.h>
static void e_select_names_init (ESelectNames *card);
static void e_select_names_class_init (ESelectNamesClass *klass);
@@ -431,7 +431,7 @@ e_select_names_create_categories (gchar *name,
ECategoriesMasterList *ecml;
GtkWidget *combo;
- ecml = e_categories_master_list_array_new ();
+ ecml = e_categories_master_list_wombat_new ();
combo = e_categories_master_list_combo_new (ecml);
gtk_object_unref (GTK_OBJECT (ecml));
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c
index 5781ffcc65..2b9c22a249 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.c
+++ b/addressbook/gui/contact-editor/e-contact-editor.c
@@ -39,9 +39,7 @@
#include <gal/widgets/e-unicode.h>
#include <gal/e-text/e-entry.h>
-#if 0
#include <e-util/e-categories-master-list-wombat.h>
-#endif
#include "addressbook/printing/e-contact-print.h"
#include "addressbook/printing/e-contact-print-envelope.h"
@@ -652,9 +650,7 @@ categories_clicked(GtkWidget *button, EContactEditor *editor)
GnomeDialog *dialog;
int result;
GtkWidget *entry = glade_xml_get_widget(editor->gui, "entry-categories");
-#if 0
ECategoriesMasterList *ecml;
-#endif
if (entry && GTK_IS_ENTRY(entry))
categories = e_utf8_gtk_entry_get_text(GTK_ENTRY(entry));
else if (editor->card)
@@ -662,18 +658,12 @@ categories_clicked(GtkWidget *button, EContactEditor *editor)
"categories", &categories,
NULL);
dialog = GNOME_DIALOG(e_categories_new(categories));
-#if 0
ecml = e_categories_master_list_wombat_new ();
-#endif
gtk_object_set(GTK_OBJECT(dialog),
"header", _("This contact belongs to these categories:"),
-#if 0
"ecml", ecml,
-#endif
NULL);
-#if 0
gtk_object_unref (GTK_OBJECT (ecml));
-#endif
gtk_widget_show(GTK_WIDGET(dialog));
result = gnome_dialog_run (dialog);
g_free (categories);