aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2008-08-30 12:42:02 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-08-30 12:42:02 +0800
commit3843185df1e71e14e4f2e5d34aca34724090b496 (patch)
tree78c0b9336c798f106d25fceca4fd8a6be5f11301 /shell/e-shell-view.c
parente0c501b7018f12d37b10e32923f95b7a01c7982c (diff)
downloadgsoc2013-evolution-3843185df1e71e14e4f2e5d34aca34724090b496.tar.gz
gsoc2013-evolution-3843185df1e71e14e4f2e5d34aca34724090b496.tar.zst
gsoc2013-evolution-3843185df1e71e14e4f2e5d34aca34724090b496.zip
Preferences window awesomeness.
svn path=/branches/kill-bonobo/; revision=36215
Diffstat (limited to 'shell/e-shell-view.c')
-rw-r--r--shell/e-shell-view.c17
1 files changed, 3 insertions, 14 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c
index 02d53e0696..dec7a5bd96 100644
--- a/shell/e-shell-view.c
+++ b/shell/e-shell-view.c
@@ -302,9 +302,8 @@ shell_view_class_init (EShellViewClass *class)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (EShellViewClass, changed),
NULL, NULL,
- g_cclosure_marshal_VOID__BOOLEAN,
- G_TYPE_NONE, 1,
- G_TYPE_BOOLEAN);
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
}
static void
@@ -531,17 +530,7 @@ e_shell_view_get_status_widget (EShellView *shell_view)
void
e_shell_view_changed (EShellView *shell_view)
{
- EShellWindow *shell_window;
- EShellView *current_view;
- const gchar *view_name;
- gboolean visible;
-
g_return_if_fail (E_IS_SHELL_VIEW (shell_view));
- shell_window = e_shell_view_get_window (shell_view);
- view_name = e_shell_window_get_current_view (shell_window);
- current_view = e_shell_window_get_view (shell_window, view_name);
- visible = (current_view == shell_view);
-
- g_signal_emit (shell_view, signals[CHANGED], 0, visible);
+ g_signal_emit (shell_view, signals[CHANGED], 0);
}