From ebec065334b5cf943591527254d628c13d06c369 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 11 Aug 2008 01:05:38 +0000 Subject: Add a few stub functions to get compilation to complete. Kill e-active-connection-dialog.glade (unused). svn path=/branches/kill-bonobo/; revision=35950 --- shell/Makefile.am | 4 - shell/e-active-connection-dialog.glade | 193 --------------------------------- shell/e-shell-window-actions.c | 12 +- shell/e-shell.c | 46 ++++++++ 4 files changed, 52 insertions(+), 203 deletions(-) delete mode 100644 shell/e-active-connection-dialog.glade diff --git a/shell/Makefile.am b/shell/Makefile.am index b3a8a848bc..13f71d80c4 100644 --- a/shell/Makefile.am +++ b/shell/Makefile.am @@ -59,13 +59,11 @@ privsolib_LTLIBRARIES = \ eshellincludedir = $(privincludedir)/shell eshellinclude_HEADERS = \ - Evolution.h \ e-shell-common.h \ e-shell-module.h \ e-shell-view.h \ e-shell-window.h \ e-shell-window-actions.h \ - e-user-creatable-items-handler.h \ es-event.h \ es-menu.h @@ -76,7 +74,6 @@ libeshell_la_SOURCES = \ e-shell-view.c \ e-shell-window.c \ e-shell-window-actions.c \ - e-user-creatable-items-handler.c \ $(eshellinclude_HEADERS) libeshell_la_LDFLAGS = $(NO_UNDEFINED) @@ -123,7 +120,6 @@ errordir = $(privdatadir)/errors @EVO_PLUGIN_RULE@ glade_DATA = \ - e-active-connection-dialog.glade \ import.glade # GConf schemas diff --git a/shell/e-active-connection-dialog.glade b/shell/e-active-connection-dialog.glade deleted file mode 100644 index 534a7948f7..0000000000 --- a/shell/e-active-connection-dialog.glade +++ /dev/null @@ -1,193 +0,0 @@ - - - - - - - True - Active Connections - GTK_WINDOW_TOPLEVEL - GTK_WIN_POS_CENTER_ON_PARENT - False - 256 - 192 - True - False - False - - - - True - False - 0 - - - - True - GTK_BUTTONBOX_END - - - - True - True - True - gtk-cancel - True - GTK_RELIEF_NORMAL - -6 - - - - - - True - True - True - True - gtk-ok - True - GTK_RELIEF_NORMAL - -5 - - - - - 0 - False - True - GTK_PACK_END - - - - - - 12 - True - False - 12 - - - - True - <b>Active Connections</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - - - 0 - False - False - - - - - - True - False - 12 - - - - True - - False - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - - - 0 - False - False - - - - - - True - False - 12 - - - - True - GTK_POLICY_NEVER - GTK_POLICY_AUTOMATIC - GTK_SHADOW_IN - GTK_CORNER_TOP_LEFT - - - - True - True - False - False - True - - - - - 0 - True - True - - - - - - True - Click OK to close these connections and go offline - False - False - GTK_JUSTIFY_CENTER - False - False - 0 - 0.5 - 0 - 0 - - - 0 - False - False - - - - - 0 - True - True - - - - - 0 - True - True - - - - - 0 - True - True - - - - - - - diff --git a/shell/e-shell-window-actions.c b/shell/e-shell-window-actions.c index 13c2d42506..0f959fa668 100644 --- a/shell/e-shell-window-actions.c +++ b/shell/e-shell-window-actions.c @@ -1117,7 +1117,7 @@ e_shell_window_actions_init (EShellWindow *window) domain = GETTEXT_PACKAGE; /* Shell Actions */ - action_group = ACTION_GROUP (SHELL); + action_group = window->priv->shell_actions; gtk_action_group_set_translation_domain (action_group, domain); gtk_action_group_add_actions ( action_group, shell_entries, @@ -1128,22 +1128,22 @@ e_shell_window_actions_init (EShellWindow *window) gtk_ui_manager_insert_action_group (manager, action_group, 0); /* New Item Actions (empty) */ - action_group = ACTION_GROUP (NEW_ITEM); + action_group = window->priv->new_item_actions; gtk_action_group_set_translation_domain (action_group, domain); gtk_ui_manager_insert_action_group (manager, action_group, 0); /* New Group Actions (empty) */ - action_group = ACTION_GROUP (NEW_GROUP); + action_group = window->priv->new_group_actions; gtk_action_group_set_translation_domain (action_group, domain); gtk_ui_manager_insert_action_group (manager, action_group, 0); /* New Source Actions (empty) */ - action_group = ACTION_GROUP (NEW_SOURCE); + action_group = window->priv->new_source_actions; gtk_action_group_set_translation_domain (action_group, domain); gtk_ui_manager_insert_action_group (manager, action_group, 0); /* Shell View Actions (empty) */ - action_group = ACTION_GROUP (SHELL_VIEW); + action_group = window->priv->shell_view_actions; gtk_action_group_set_translation_domain (action_group, domain); gtk_ui_manager_insert_action_group (manager, action_group, 0); } @@ -1160,7 +1160,7 @@ e_shell_window_create_shell_view_actions (EShellWindow *window) g_return_if_fail (E_IS_SHELL_WINDOW (window)); - action_group = ACTION_GROUP (SHELL_VIEW); + action_group = window->priv->shell_view_actions; types = e_shell_registry_get_view_types (&n_types); manager = e_shell_window_get_ui_manager (window); merge_id = gtk_ui_manager_new_merge_id (manager); diff --git a/shell/e-shell.c b/shell/e-shell.c index 25572dbcdc..a91c06dbe7 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -159,6 +159,31 @@ e_shell_handle_uri (const gchar *uri) return e_shell_module_handle_uri (shell_module, uri); } +void +e_shell_send_receive (GtkWindow *parent) +{ + /* FIXME */ +} + +void +e_shell_go_offline (void) +{ + /* FIXME */ +} + +void +e_shell_go_online (void) +{ + /* FIXME */ +} + +EShellLineStatus +e_shell_get_line_status (void) +{ + /* FIXME */ + return E_SHELL_LINE_STATUS_ONLINE; +} + GtkWidget * e_shell_get_preferences_window (void) { @@ -169,3 +194,24 @@ e_shell_get_preferences_window (void) return preferences_window; } + +gboolean +e_shell_is_busy (void) +{ + /* FIXME */ + return FALSE; +} + +gboolean +e_shell_do_quit (void) +{ + /* FIXME */ + return TRUE; +} + +gboolean +e_shell_quit (void) +{ + /* FIXME */ + return TRUE; +} -- cgit