diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-10-19 04:00:29 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-10-19 04:00:29 +0800 |
commit | a133df0caffc738bb0db8e0f23c3eb628eac12a1 (patch) | |
tree | 3ae34c3440418424aae018e248067e2725873e3c /modules/mail/e-mail-shell-sidebar.c | |
parent | f261f288c8dee85c36ff1b199f71a7730870ae47 (diff) | |
download | gsoc2013-evolution-a133df0caffc738bb0db8e0f23c3eb628eac12a1.tar gsoc2013-evolution-a133df0caffc738bb0db8e0f23c3eb628eac12a1.tar.gz gsoc2013-evolution-a133df0caffc738bb0db8e0f23c3eb628eac12a1.tar.bz2 gsoc2013-evolution-a133df0caffc738bb0db8e0f23c3eb628eac12a1.tar.lz gsoc2013-evolution-a133df0caffc738bb0db8e0f23c3eb628eac12a1.tar.xz gsoc2013-evolution-a133df0caffc738bb0db8e0f23c3eb628eac12a1.tar.zst gsoc2013-evolution-a133df0caffc738bb0db8e0f23c3eb628eac12a1.zip |
Add an "ellipsize" property to EMFolderTree.
So we don't have to access GConf directly from EMFolderTree. The
property gets bound to an EShellSettings property, which is in turn
bound to the "no_folder_dots" GConf key by way of a transform function.
Diffstat (limited to 'modules/mail/e-mail-shell-sidebar.c')
-rw-r--r-- | modules/mail/e-mail-shell-sidebar.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/mail/e-mail-shell-sidebar.c b/modules/mail/e-mail-shell-sidebar.c index f938b3fae1..2b24aae5e1 100644 --- a/modules/mail/e-mail-shell-sidebar.c +++ b/modules/mail/e-mail-shell-sidebar.c @@ -169,7 +169,12 @@ mail_shell_sidebar_constructed (GObject *object) G_BINDING_SYNC_CREATE); g_object_bind_property ( - shell_settings, "mail-side-bar-search", + shell_settings, "mail-sidebar-ellipsize", + widget, "ellipsize", + G_BINDING_SYNC_CREATE); + + g_object_bind_property ( + shell_settings, "mail-sidebar-search", widget, "enable-search", G_BINDING_SYNC_CREATE); |