aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/component/addressbook-config.c1
-rw-r--r--addressbook/gui/component/select-names/e-select-names-bonobo.c4
-rw-r--r--addressbook/gui/component/select-names/e-select-names-manager.c6
-rw-r--r--addressbook/gui/component/select-names/e-select-names-manager.h1
-rw-r--r--addressbook/gui/component/select-names/e-select-names.c13
-rw-r--r--addressbook/gui/component/select-names/e-select-names.h4
-rw-r--r--addressbook/gui/widgets/eab-gui-util.c8
7 files changed, 18 insertions, 19 deletions
diff --git a/addressbook/gui/component/addressbook-config.c b/addressbook/gui/component/addressbook-config.c
index 7bd11f677e..371539562a 100644
--- a/addressbook/gui/component/addressbook-config.c
+++ b/addressbook/gui/component/addressbook-config.c
@@ -30,7 +30,6 @@
#include "addressbook-config.h"
#include "evolution-config-control.h"
-#include <shell/e-folder-list.h>
#include <gal/e-table/e-table-memory-store.h>
#include <gal/e-table/e-table-scrolled.h>
diff --git a/addressbook/gui/component/select-names/e-select-names-bonobo.c b/addressbook/gui/component/select-names/e-select-names-bonobo.c
index 73c415c6c6..c4fe9d257d 100644
--- a/addressbook/gui/component/select-names/e-select-names-bonobo.c
+++ b/addressbook/gui/component/select-names/e-select-names-bonobo.c
@@ -38,8 +38,6 @@
#include <gal/e-text/e-entry.h>
#include <gal/util/e-text-event-processor.h>
-#include "evolution-shell-client.h"
-
#include "Evolution-Addressbook-SelectNames.h"
#include "e-select-names-manager.h"
@@ -491,6 +489,7 @@ impl_SelectNames_activate_dialog (PortableServer_Servant servant,
const CORBA_char *section_id,
CORBA_Environment *ev)
{
+#if 0 /* FIXME */
ESelectNamesBonobo *select_names;
ESelectNamesBonoboPrivate *priv;
EvolutionShellClient *shell_client;
@@ -510,6 +509,7 @@ impl_SelectNames_activate_dialog (PortableServer_Servant servant,
e_select_names_manager_activate_dialog (priv->manager, shell_client,
section_id);
g_object_unref (shell_client);
+#endif
}
diff --git a/addressbook/gui/component/select-names/e-select-names-manager.c b/addressbook/gui/component/select-names/e-select-names-manager.c
index a3001efbd1..b7b91b42d0 100644
--- a/addressbook/gui/component/select-names/e-select-names-manager.c
+++ b/addressbook/gui/component/select-names/e-select-names-manager.c
@@ -23,7 +23,6 @@
#include "e-select-names.h"
#include "e-select-names-completion.h"
#include "e-select-names-popup.h"
-#include "e-folder-list.h"
#include <addressbook/util/eab-book-util.h>
#include <addressbook/util/eab-destination.h>
#include "addressbook/gui/component/addressbook.h"
@@ -394,6 +393,7 @@ open_book_cb (EBook *book, EBookStatus status, ESelectNamesManager *manager)
static void
load_completion_books (ESelectNamesManager *manager)
{
+#if 0
EFolderListItem *folders = e_folder_list_parse_xml (manager->cached_folder_list);
EFolderListItem *f;
@@ -415,6 +415,7 @@ load_completion_books (ESelectNamesManager *manager)
g_object_unref (source);
}
e_folder_list_free_items (folders);
+#endif
}
static void
@@ -610,7 +611,6 @@ clear_widget (gpointer data, GObject *where_object_was)
void
e_select_names_manager_activate_dialog (ESelectNamesManager *manager,
- EvolutionShellClient *shell_client,
const char *id)
{
g_return_if_fail (E_IS_SELECT_NAMES_MANAGER (manager));
@@ -627,7 +627,7 @@ e_select_names_manager_activate_dialog (ESelectNamesManager *manager,
GList *iter;
- manager->names = E_SELECT_NAMES (e_select_names_new (shell_client));
+ manager->names = E_SELECT_NAMES (e_select_names_new ());
for (iter = manager->sections; iter != NULL; iter = g_list_next (iter)) {
ESelectNamesManagerSection *section = iter->data;
diff --git a/addressbook/gui/component/select-names/e-select-names-manager.h b/addressbook/gui/component/select-names/e-select-names-manager.h
index b48f597cb3..f5fb4aa451 100644
--- a/addressbook/gui/component/select-names/e-select-names-manager.h
+++ b/addressbook/gui/component/select-names/e-select-names-manager.h
@@ -62,7 +62,6 @@ ESelectNamesModel *e_select_names_manager_get_source (ESelectNames
GtkWidget *e_select_names_manager_create_entry (ESelectNamesManager *manager,
const char *id);
void e_select_names_manager_activate_dialog (ESelectNamesManager *manager,
- EvolutionShellClient *shell_client,
const char *id);
/* Standard Gtk function */
GType e_select_names_manager_get_type (void);
diff --git a/addressbook/gui/component/select-names/e-select-names.c b/addressbook/gui/component/select-names/e-select-names.c
index b533696cfa..488ed10f0a 100644
--- a/addressbook/gui/component/select-names/e-select-names.c
+++ b/addressbook/gui/component/select-names/e-select-names.c
@@ -35,8 +35,6 @@
#include <addressbook/util/eab-book-util.h>
#include <addressbook/gui/component/addressbook-component.h>
#include <addressbook/gui/component/addressbook.h>
-#include <shell/evolution-shell-client.h>
-#include <shell/evolution-folder-selector-button.h>
#include "e-select-names.h"
#include "e-select-names-table-model.h"
@@ -336,9 +334,10 @@ e_addressbook_create_ebook_table(char *name, char *string1, char *string2, int n
GtkWidget *
e_addressbook_create_folder_selector(char *name, char *string1, char *string2, int num1, int num2)
{
- return g_object_new (EVOLUTION_TYPE_FOLDER_SELECTOR_BUTTON, NULL);
+ return gtk_label_new ("FIXME");
}
+#if 0 /* FIXME */
static void
folder_selected (EvolutionFolderSelectorButton *button, GNOME_Evolution_Folder *folder,
ESelectNames *e_select_names)
@@ -348,6 +347,7 @@ folder_selected (EvolutionFolderSelectorButton *button, GNOME_Evolution_Folder *
e_config_listener_set_string (eab_get_config_database(),
"/apps/evolution/addressbook/select_names/last_used_uri", folder->physicalUri);
}
+#endif
static void
update_query (GtkWidget *widget, ESelectNames *e_select_names)
@@ -560,9 +560,11 @@ e_select_names_init (ESelectNames *e_select_names)
G_CALLBACK(update_query), e_select_names);
button = glade_xml_get_widget (gui, "folder-selector");
+#if 0 /* FIXME */
if (button && EVOLUTION_IS_FOLDER_SELECTOR_BUTTON (button))
g_signal_connect(button, "selected",
G_CALLBACK(folder_selected), e_select_names);
+#endif
gtk_widget_show (button);
g_signal_connect (e_table_scrolled_get_table (e_select_names->table), "double_click",
@@ -632,7 +634,7 @@ e_select_names_dispose (GObject *object)
}
GtkWidget*
-e_select_names_new (EvolutionShellClient *shell_client)
+e_select_names_new (void)
{
ESelectNames *e_select_names;
const char *selector_types[] = { "contacts/*", NULL };
@@ -652,11 +654,14 @@ e_select_names_new (EvolutionShellClient *shell_client)
#endif
button = glade_xml_get_widget (e_select_names->gui, "folder-selector");
+
+#if 0 /* FIXME */
evolution_folder_selector_button_construct (EVOLUTION_FOLDER_SELECTOR_BUTTON (button),
shell_client,
_("Find contact in"),
contacts_uri,
selector_types);
+#endif
addressbook_model_set_uri(e_select_names, e_select_names->model, contacts_uri);
diff --git a/addressbook/gui/component/select-names/e-select-names.h b/addressbook/gui/component/select-names/e-select-names.h
index e67f64b70b..3624e40073 100644
--- a/addressbook/gui/component/select-names/e-select-names.h
+++ b/addressbook/gui/component/select-names/e-select-names.h
@@ -27,7 +27,6 @@
#include <gal/e-table/e-table.h>
#include <gal/e-table/e-table-scrolled.h>
-#include "evolution-shell-client.h"
#include "e-addressbook-model.h"
#include "e-select-names-model.h"
@@ -85,9 +84,10 @@ struct _ESelectNamesClass
};
-GtkWidget *e_select_names_new (EvolutionShellClient *shell_client);
GType e_select_names_get_type (void);
+GtkWidget *e_select_names_new (void);
+
void e_select_names_add_section (ESelectNames *e_select_names,
const char *name,
const char *id,
diff --git a/addressbook/gui/widgets/eab-gui-util.c b/addressbook/gui/widgets/eab-gui-util.c
index 4fe37e6f73..bd4ed78463 100644
--- a/addressbook/gui/widgets/eab-gui-util.c
+++ b/addressbook/gui/widgets/eab-gui-util.c
@@ -33,8 +33,6 @@
#include <gnome.h>
-#include <shell/evolution-shell-client.h>
-
#include "addressbook/gui/contact-editor/e-contact-editor.h"
#include "addressbook/gui/contact-list-editor/e-contact-list-editor.h"
@@ -496,6 +494,7 @@ got_book_cb (EBook *book, EBookStatus status, gpointer closure)
void
eab_transfer_contacts (EBook *source, GList *contacts /* adopted */, gboolean delete_from_source, GtkWindow *parent_window)
{
+#if 0
EBook *dest;
const char *allowed_types[] = { "contacts/*", NULL };
GNOME_Evolution_Folder *folder;
@@ -521,14 +520,10 @@ eab_transfer_contacts (EBook *source, GList *contacts /* adopted */, gboolean de
desc = _("Copy contacts to");
}
-#if 0 /* EPFIXME */
evolution_shell_client_user_select_folder (global_shell_client,
parent_window,
desc, last_uri, allowed_types,
&folder);
-#else
- folder = NULL;
-#endif
if (!folder)
return;
@@ -554,6 +549,7 @@ eab_transfer_contacts (EBook *source, GList *contacts /* adopted */, gboolean de
e_book_async_load_uri (dest, folder->physicalUri, got_book_cb, process);
CORBA_free (folder);
+#endif
}
#include <Evolution-Composer.h>