evolution r35395 - trunk/mail
- From: mcrha svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r35395 - trunk/mail
- Date: Mon, 21 Apr 2008 09:41:29 +0100 (BST)
Author: mcrha
Date: Mon Apr 21 08:41:29 2008
New Revision: 35395
URL: http://svn.gnome.org/viewvc/evolution?rev=35395&view=rev
Log:
2008-04-21 Milan Crha <mcrha redhat com>
** Fix for bug #323402
* em-folder-tree.c: (folder_tree_new):
* evolution-mail.schemas.in: Be able to disable ellipsizing of folder
names with hidden option /apps/evolution/mail/display/no_folder_dots.
Modified:
trunk/mail/ChangeLog
trunk/mail/em-folder-tree.c
trunk/mail/evolution-mail.schemas.in
Modified: trunk/mail/em-folder-tree.c
==============================================================================
--- trunk/mail/em-folder-tree.c (original)
+++ trunk/mail/em-folder-tree.c Mon Apr 21 08:41:29 2008
@@ -515,7 +515,8 @@
gtk_tree_view_column_set_cell_data_func (column, renderer, render_pixbuf, NULL, NULL);
renderer = gtk_cell_renderer_text_new ();
- g_object_set (G_OBJECT (renderer), "ellipsize", PANGO_ELLIPSIZE_END, NULL);
+ if (!gconf_client_get_bool (gconf, "/apps/evolution/mail/display/no_folder_dots", NULL))
+ g_object_set (G_OBJECT (renderer), "ellipsize", PANGO_ELLIPSIZE_END, NULL);
gtk_tree_view_column_pack_start (column, renderer, TRUE);
gtk_tree_view_column_set_cell_data_func (column, renderer, render_display_name, NULL, NULL);
Modified: trunk/mail/evolution-mail.schemas.in
==============================================================================
--- trunk/mail/evolution-mail.schemas.in (original)
+++ trunk/mail/evolution-mail.schemas.in Mon Apr 21 08:41:29 2008
@@ -226,6 +226,20 @@
</schema>
<schema>
+ <key>/schemas/apps/evolution/mail/display/no_folder_dots</key>
+ <applyto>/apps/evolution/mail/display/no_folder_dots</applyto>
+ <owner>evolution-mail</owner>
+ <type>bool</type>
+ <default>false</default>
+ <locale name="C">
+ <short>Disable or enable ellipsizing of folder names in folder tree</short>
+ <long>
+ Whether disable ellipsizing feature of folder names in folder tree.
+ </long>
+ </locale>
+ </schema>
+
+ <schema>
<key>/schemas/apps/evolution/mail/display/magic_spacebar</key>
<applyto>/apps/evolution/mail/display/magic_spacebar</applyto>
<owner>evolution-mail</owner>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]