[Commits] [SCM] claws branch, master, updated. 3.12.0-6-g897a5ed
charles at claws-mail.org
charles at claws-mail.org
Mon Jul 20 22:14:03 CEST 2015
The branch, master has been updated
via 897a5ed7241c371232c816d26c4b577dd36899e3 (commit)
from aab231b16fd07a9196fe882205658d33c78752d2 (commit)
Summary of changes:
src/plugins/managesieve/sieve_manager.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit 897a5ed7241c371232c816d26c4b577dd36899e3
Author: Charles Lehner <charles at claws-mail.org>
Date: Mon Jul 20 16:13:21 2015 -0400
managesieve: fix list header tooltip
diff --git a/src/plugins/managesieve/sieve_manager.c b/src/plugins/managesieve/sieve_manager.c
index bae6afd..b2bff52 100644
--- a/src/plugins/managesieve/sieve_manager.c
+++ b/src/plugins/managesieve/sieve_manager.c
@@ -450,6 +450,7 @@ static void filters_create_list_view_columns(SieveManagerPage *page,
{
GtkTreeViewColumn *column;
GtkCellRenderer *renderer;
+ GtkWidget *label;
/* Name */
renderer = gtk_cell_renderer_text_new();
@@ -472,8 +473,14 @@ static void filters_create_list_view_columns(SieveManagerPage *page,
NULL);
gtk_tree_view_append_column(GTK_TREE_VIEW(list_view), column);
gtk_tree_view_column_set_alignment (column, 0.5);
- CLAWS_SET_TIP(gtk_tree_view_column_get_widget(column),
+
+ /* the column header needs a widget to have a tooltip */
+ label = gtk_label_new(gtk_tree_view_column_get_title(column));
+ gtk_widget_show(label);
+ gtk_tree_view_column_set_widget(column, label);
+ CLAWS_SET_TIP(label,
_("An account can only have one active script at a time."));
+
g_signal_connect(G_OBJECT(renderer), "toggled",
G_CALLBACK(filter_active_toggled), page);
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list