aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar/e-task-shell-backend.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-08-25 11:08:13 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-08-25 11:08:13 +0800
commit2b8c7c62aa3d172e3530c0570be29dfaac501432 (patch)
tree22c72758fd3e4736946114f9f61ee35e002123d5 /modules/calendar/e-task-shell-backend.c
parent3184f3d532f7d1aabfcf49a0ba6fef9c6fcbdf5e (diff)
downloadgsoc2013-evolution-2b8c7c62aa3d172e3530c0570be29dfaac501432.tar.gz
gsoc2013-evolution-2b8c7c62aa3d172e3530c0570be29dfaac501432.tar.zst
gsoc2013-evolution-2b8c7c62aa3d172e3530c0570be29dfaac501432.zip
Exit if no command-line URIs are handled.
Diffstat (limited to 'modules/calendar/e-task-shell-backend.c')
-rw-r--r--modules/calendar/e-task-shell-backend.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/modules/calendar/e-task-shell-backend.c b/modules/calendar/e-task-shell-backend.c
index 500dd30423..59a87e653c 100644
--- a/modules/calendar/e-task-shell-backend.c
+++ b/modules/calendar/e-task-shell-backend.c
@@ -64,7 +64,7 @@ static gpointer parent_class;
static GType task_shell_backend_type;
static void
-task_module_ensure_sources (EShellBackend *shell_backend)
+task_shell_backend_ensure_sources (EShellBackend *shell_backend)
{
/* XXX This is basically the same algorithm across all modules.
* Maybe we could somehow integrate this into EShellBackend? */
@@ -363,8 +363,8 @@ static GtkActionEntry source_entries[] = {
};
static gboolean
-task_module_handle_uri_cb (EShellBackend *shell_backend,
- const gchar *uri)
+task_shell_backend_handle_uri_cb (EShellBackend *shell_backend,
+ const gchar *uri)
{
EShell *shell;
CompEditor *editor;
@@ -508,8 +508,8 @@ exit:
}
static void
-task_module_window_created_cb (EShellBackend *shell_backend,
- GtkWindow *window)
+task_shell_backend_window_created_cb (EShellBackend *shell_backend,
+ GtkWindow *window)
{
const gchar *module_name;
@@ -570,15 +570,17 @@ task_shell_backend_constructed (GObject *object)
shell_backend = E_SHELL_BACKEND (object);
shell = e_shell_backend_get_shell (shell_backend);
- task_module_ensure_sources (shell_backend);
+ task_shell_backend_ensure_sources (shell_backend);
g_signal_connect_swapped (
shell, "handle-uri",
- G_CALLBACK (task_module_handle_uri_cb), shell_backend);
+ G_CALLBACK (task_shell_backend_handle_uri_cb),
+ shell_backend);
g_signal_connect_swapped (
shell, "window-created",
- G_CALLBACK (task_module_window_created_cb), shell_backend);
+ G_CALLBACK (task_shell_backend_window_created_cb),
+ shell_backend);
}
static void