diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2008-08-30 12:42:02 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2008-08-30 12:42:02 +0800 |
commit | 3843185df1e71e14e4f2e5d34aca34724090b496 (patch) | |
tree | 78c0b9336c798f106d25fceca4fd8a6be5f11301 /shell/test | |
parent | e0c501b7018f12d37b10e32923f95b7a01c7982c (diff) | |
download | gsoc2013-evolution-3843185df1e71e14e4f2e5d34aca34724090b496.tar gsoc2013-evolution-3843185df1e71e14e4f2e5d34aca34724090b496.tar.gz gsoc2013-evolution-3843185df1e71e14e4f2e5d34aca34724090b496.tar.bz2 gsoc2013-evolution-3843185df1e71e14e4f2e5d34aca34724090b496.tar.lz gsoc2013-evolution-3843185df1e71e14e4f2e5d34aca34724090b496.tar.xz gsoc2013-evolution-3843185df1e71e14e4f2e5d34aca34724090b496.tar.zst gsoc2013-evolution-3843185df1e71e14e4f2e5d34aca34724090b496.zip |
Preferences window awesomeness.
svn path=/branches/kill-bonobo/; revision=36215
Diffstat (limited to 'shell/test')
-rw-r--r-- | shell/test/e-test-shell-view.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/shell/test/e-test-shell-view.c b/shell/test/e-test-shell-view.c index e2514ec236..db008fafea 100644 --- a/shell/test/e-test-shell-view.c +++ b/shell/test/e-test-shell-view.c @@ -90,21 +90,29 @@ test_shell_view_get_status_widget (EShellView *shell_view) } static void -test_shell_view_changed (EShellView *shell_view, - gboolean visible) +test_shell_view_changed (EShellView *shell_view) { - g_debug ("%s (visible=%d)", G_STRFUNC, visible); + gboolean is_selected; + const gchar *selected; + + is_selected = e_shell_view_is_selected (shell_view); + selected = is_selected ? "selected" : "not selected"; + g_debug ("%s (%s)", G_STRFUNC, selected); } static void test_shell_view_class_init (ETestShellViewClass *class, GTypeModule *type_module) { + GObjectClass *object_class; EShellViewClass *shell_view_class; parent_class = g_type_class_peek_parent (class); g_type_class_add_private (class, sizeof (ETestShellViewPrivate)); + object_class = G_OBJECT_CLASS (class); + object_class->dispose = test_shell_view_dispose; + shell_view_class = E_SHELL_VIEW_CLASS (class); shell_view_class->label = "Test"; shell_view_class->icon_name = "face-monkey"; |