diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-02-14 05:55:43 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-02-17 07:57:09 +0800 |
commit | 9714a4bbf1a938871240640002c9dd369133c766 (patch) | |
tree | 99ffa3e5a7cbdb5f672909c62080a8ae5eb8d163 /addressbook/gui/widgets/e-addressbook-view.c | |
parent | 9551d47dd1a42d1cce29926957a82238f9514272 (diff) | |
download | gsoc2013-evolution-9714a4bbf1a938871240640002c9dd369133c766.tar gsoc2013-evolution-9714a4bbf1a938871240640002c9dd369133c766.tar.gz gsoc2013-evolution-9714a4bbf1a938871240640002c9dd369133c766.tar.bz2 gsoc2013-evolution-9714a4bbf1a938871240640002c9dd369133c766.tar.lz gsoc2013-evolution-9714a4bbf1a938871240640002c9dd369133c766.tar.xz gsoc2013-evolution-9714a4bbf1a938871240640002c9dd369133c766.tar.zst gsoc2013-evolution-9714a4bbf1a938871240640002c9dd369133c766.zip |
Defer "backend-died" alerts to EShell.
Diffstat (limited to 'addressbook/gui/widgets/e-addressbook-view.c')
-rw-r--r-- | addressbook/gui/widgets/e-addressbook-view.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c index 14293f5344..3fb30fe0f9 100644 --- a/addressbook/gui/widgets/e-addressbook-view.c +++ b/addressbook/gui/widgets/e-addressbook-view.c @@ -62,7 +62,6 @@ static void folder_bar_message (EAddressbookView *view, const gchar *status); static void stop_state_changed (GObject *object, EAddressbookView *view); -static void backend_died (EAddressbookView *view); static void command_state_change (EAddressbookView *view); struct _EAddressbookViewPrivate { @@ -913,9 +912,6 @@ e_addressbook_view_new (EShellView *shell_view, g_signal_connect_swapped ( view->priv->model, "writable-status", G_CALLBACK (command_state_change), view); - g_signal_connect_swapped ( - view->priv->model, "backend_died", - G_CALLBACK (backend_died), view); return widget; } @@ -1113,28 +1109,6 @@ command_state_change (EAddressbookView *view) } static void -backend_died (EAddressbookView *view) -{ - EShellView *shell_view; - EAlertSink *alert_sink; - EAddressbookModel *model; - EBookClient *book_client; - ESource *source; - - shell_view = e_addressbook_view_get_shell_view (view); - alert_sink = E_ALERT_SINK (e_shell_view_get_shell_content (shell_view)); - - model = e_addressbook_view_get_model (view); - book_client = e_addressbook_model_get_client (model); - source = e_client_get_source (E_CLIENT (book_client)); - - e_alert_submit ( - alert_sink, - "addressbook:backend-died", - e_source_get_display_name (source), NULL); -} - -static void contact_print_button_draw_page (GtkPrintOperation *operation, GtkPrintContext *context, gint page_nr, |