aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/select-names/e-select-names.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2003-12-03 23:38:33 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2003-12-03 23:38:33 +0800
commit80df8875fb9654d3bd20b270cfcb746dd632c934 (patch)
tree63e09add4f4fbc58aabbbe762d611b1f864cf69a /addressbook/gui/component/select-names/e-select-names.c
parent7d18bf233dc8bfa4484fdd3d19e2c61efdbbf7cd (diff)
downloadgsoc2013-evolution-80df8875fb9654d3bd20b270cfcb746dd632c934.tar
gsoc2013-evolution-80df8875fb9654d3bd20b270cfcb746dd632c934.tar.gz
gsoc2013-evolution-80df8875fb9654d3bd20b270cfcb746dd632c934.tar.bz2
gsoc2013-evolution-80df8875fb9654d3bd20b270cfcb746dd632c934.tar.lz
gsoc2013-evolution-80df8875fb9654d3bd20b270cfcb746dd632c934.tar.xz
gsoc2013-evolution-80df8875fb9654d3bd20b270cfcb746dd632c934.tar.zst
gsoc2013-evolution-80df8875fb9654d3bd20b270cfcb746dd632c934.zip
Do not depend on e-folder-list.
* gui/component/addressbook-config.c: Do not depend on e-folder-list. * gui/component/select-names/e-select-names.c: Remove dependency on evolution-folder-selector-button. (e_addressbook_create_folder_selector): Just return a FIXME label for now. (folder_selected): #if 0 out. (e_select_names_init): Do not connect. * gui/component/select-names/e-select-names-manager.c (e_select_names_manager_activate_dialog): Don't get a shell_client arg anymore. (load_completion_books): Stub out. * gui/component/select-names/e-select-names.c (e_select_names_new): Don't get an EvolutionShellClient anymore. Don't create the folder selector button for now. * gui/component/select-names/e-select-names.h: Remove dependency on evolution-shell-client. * gui/component/select-names/e-select-names-bonobo.c: Remove dependency on evolution-shell-client. (impl_SelectNames_activate_dialog): Stub out. * gui/widgets/eab-gui-util.c: Remove dependency on evolution-shell-client. (eab_transfer_contacts): Stub out. * gui/main.c: Do not #include <evolution-shell-client.h>. * gui/e-itip-control.c: Do not #include <e-folder-selector-button.h> nor <evolution-shell-client.h>. (start_default_server): Return FALSE. (default_server_started_cb): Do not connect the "selected" signal on the button since it's now NULL. (button_selected_cb): #if 0 out. * gui/e-cal-list-view.h: Do not #include "evolution-activity-client.h". * gui/tasks-component.c (impl_createControls): Give an empty label for the status bar. * gui/e-day-view.h: Remove all deps on evolution-activity-client. svn path=/trunk/; revision=23596
Diffstat (limited to 'addressbook/gui/component/select-names/e-select-names.c')
-rw-r--r--addressbook/gui/component/select-names/e-select-names.c13
1 files changed, 9 insertions, 4 deletions
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);