2006-09-06 [wwp] 2.4.0cvs154
authorTristan Chabredier <wwp@claws-mail.org>
Wed, 6 Sep 2006 09:14:40 +0000 (09:14 +0000)
committerTristan Chabredier <wwp@claws-mail.org>
Wed, 6 Sep 2006 09:14:40 +0000 (09:14 +0000)
* manual/pl/advanced.xml
* manual/advanced.xml
* manual/es/advanced.xml
* manual/fr/advanced.xml
* src/prefs_customheader.c
* src/prefs_filtering_action.c
* src/foldersel.c
* src/prefs_summaries.c
* src/prefs_filtering.c
* src/account.c
* src/compose.c
* src/prefs_summary_column.c
* src/addr_compl.c
* src/prefs_actions.c
* src/prefs_folder_column.c
* src/ssl_manager.c
* src/prefs_template.c
* src/prefs_display_header.c
* src/prefs_common.h
* src/prefs_matcher.c
* src/prefs_common.c
* src/prefs_toolbar.c
* src/summaryview.c
* src/folderview.c
* src/gtk/gtksctree.c
* src/gtk/pluginwindow.c
* src/gtk/progressdialog.c
* src/gtk/prefswindow.c
renamed hidden option enable_rules_hint to use_stripes_everywhere
to make its meaning more obvious (all versions of the manual reflect
the change).
added an extra hidden option use_stripes_in_summary to allow
discarding these stripes in mainwindow's folder and message lists;
en and fr manuals only are OK towards this.

31 files changed:
ChangeLog
PATCHSETS
configure.ac
manual/advanced.xml
manual/es/advanced.xml
manual/fr/advanced.xml
manual/pl/advanced.xml
src/account.c
src/addr_compl.c
src/compose.c
src/foldersel.c
src/folderview.c
src/gtk/gtksctree.c
src/gtk/pluginwindow.c
src/gtk/prefswindow.c
src/gtk/progressdialog.c
src/prefs_actions.c
src/prefs_common.c
src/prefs_common.h
src/prefs_customheader.c
src/prefs_display_header.c
src/prefs_filtering.c
src/prefs_filtering_action.c
src/prefs_folder_column.c
src/prefs_matcher.c
src/prefs_summaries.c
src/prefs_summary_column.c
src/prefs_template.c
src/prefs_toolbar.c
src/ssl_manager.c
src/summaryview.c

index ecff9a548f841d88ff926937e1119b5023cf7dc4..53354cb35b9a088655d044198ef07c6281eca713 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,40 @@
+2006-09-06 [wwp]       2.4.0cvs154
+
+       * manual/pl/advanced.xml
+       * manual/advanced.xml
+       * manual/es/advanced.xml
+       * manual/fr/advanced.xml
+       * src/prefs_customheader.c
+       * src/prefs_filtering_action.c
+       * src/foldersel.c
+       * src/prefs_summaries.c
+       * src/prefs_filtering.c
+       * src/account.c
+       * src/compose.c
+       * src/prefs_summary_column.c
+       * src/addr_compl.c
+       * src/prefs_actions.c
+       * src/prefs_folder_column.c
+       * src/ssl_manager.c
+       * src/prefs_template.c
+       * src/prefs_display_header.c
+       * src/prefs_common.h
+       * src/prefs_matcher.c
+       * src/prefs_common.c
+       * src/prefs_toolbar.c
+       * src/summaryview.c
+       * src/folderview.c
+       * src/gtk/gtksctree.c
+       * src/gtk/pluginwindow.c
+       * src/gtk/progressdialog.c
+       * src/gtk/prefswindow.c
+               renamed hidden option enable_rules_hint to use_stripes_everywhere
+               to make its meaning more obvious (all versions of the manual reflect
+               the change).
+               added an extra hidden option use_stripes_in_summary to allow
+               discarding these stripes in mainwindow's folder and message lists;
+               en and fr manuals only are OK towards this.
+
 2006-09-06 [colin]     2.4.0cvs153
 
        * src/textview.c
index 8261a0efba4bb8b0a3127e607680b2c41a5eae85..4258dcdbef868967e5e1c04a7042e00bec03cf5a 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.274.2.147 -r 1.274.2.148 src/mainwindow.c;  cvs diff -u -r 1.1.4.20 -r 1.1.4.21 src/gtk/logwindow.c;  ) > 2.4.0cvs151.patchset
 ( cvs diff -u -r 1.14.2.38 -r 1.14.2.39 src/plugins/trayicon/trayicon.c;  cvs diff -u -r 1.1.4.6 -r 1.1.4.7 src/plugins/trayicon/libeggtrayicon/eggtrayicon.c;  ) > 2.4.0cvs152.patchset
 ( cvs diff -u -r 1.96.2.145 -r 1.96.2.146 src/textview.c;  ) > 2.4.0cvs153.patchset
+( cvs diff -u -r 1.1.2.2 -r 1.1.2.3 manual/pl/advanced.xml;  cvs diff -u -r 1.1.2.27 -r 1.1.2.28 manual/advanced.xml;  cvs diff -u -r 1.1.2.2 -r 1.1.2.3 manual/es/advanced.xml;  cvs diff -u -r 1.1.2.12 -r 1.1.2.13 manual/fr/advanced.xml;  cvs diff -u -r 1.16.2.22 -r 1.16.2.23 src/prefs_customheader.c;  cvs diff -u -r 1.1.4.28 -r 1.1.4.29 src/prefs_filtering_action.c;  cvs diff -u -r 1.26.2.27 -r 1.26.2.28 src/foldersel.c;  cvs diff -u -r 1.1.2.25 -r 1.1.2.26 src/prefs_summaries.c;  cvs diff -u -r 1.59.2.42 -r 1.59.2.43 src/prefs_filtering.c;  cvs diff -u -r 1.61.2.50 -r 1.61.2.51 src/account.c;  cvs diff -u -r 1.382.2.306 -r 1.382.2.307 src/compose.c;  cvs diff -u -r 1.10.2.13 -r 1.10.2.14 src/prefs_summary_column.c;  cvs diff -u -r 1.27.2.19 -r 1.27.2.20 src/addr_compl.c;  cvs diff -u -r 1.60.2.39 -r 1.60.2.40 src/prefs_actions.c;  cvs diff -u -r 1.1.2.5 -r 1.1.2.6 src/prefs_folder_column.c;  cvs diff -u -r 1.3.2.20 -r 1.3.2.21 src/ssl_manager.c;  cvs diff -u -r 1.12.2.28 -r 1.12.2.29 src/prefs_template.c;  cvs diff -u -r 1.16.2.20 -r 1.16.2.21 src/prefs_display_header.c;  cvs diff -u -r 1.103.2.59 -r 1.103.2.60 src/prefs_common.h;  cvs diff -u -r 1.43.2.43 -r 1.43.2.44 src/prefs_matcher.c;  cvs diff -u -r 1.204.2.99 -r 1.204.2.100 src/prefs_common.c;  cvs diff -u -r 1.30.2.28 -r 1.30.2.29 src/prefs_toolbar.c;  cvs diff -u -r 1.395.2.244 -r 1.395.2.245 src/summaryview.c;  cvs diff -u -r 1.207.2.119 -r 1.207.2.120 src/folderview.c;  cvs diff -u -r 1.1.4.27 -r 1.1.4.28 src/gtk/gtksctree.c;  cvs diff -u -r 1.5.2.35 -r 1.5.2.36 src/gtk/pluginwindow.c;  cvs diff -u -r 1.1.4.17 -r 1.1.4.18 src/gtk/progressdialog.c;  cvs diff -u -r 1.12.2.27 -r 1.12.2.28 src/gtk/prefswindow.c;  ) > 2.4.0cvs154.patchset
index 0d3a8e7ba81a838bb7e1251d639fc3ec4f238c34..a4f3cdc02c5d8a337e5ee47fb86311a639f1f930 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=4
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=153
+EXTRA_VERSION=154
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 489e6a9ad8739f09961aa4154120c364adb9b6b0..02cc59fa15ce9d649d3889b6558540aaab4a9fa8 100644 (file)
        </listitem>
       </varlistentry>
       <varlistentry>
-       <term><literal>enable_rules_hint</literal></term>
+       <term><literal>use_stripes_everywhere</literal></term>
        <listitem>
          <para>
        Enable alternately coloured lines in GtkTreeView components.
          </para>
        </listitem>
       </varlistentry>
+      <varlistentry>
+       <term><literal>use_stripes_in_summaries</literal></term>
+       <listitem>
+         <para>
+       Enable alternately coloured lines in main window's GtkTreeView components
+       (folder list and messages list). The only useful way to use this option is
+       to set it to 0 when use_stripes_everywhere is set to 1.
+         </para>
+       </listitem>
+      </varlistentry>
       <varlistentry>
        <term><literal>enable_swap_from</literal></term>
        <listitem>
index 1f6be5fbbe4e718bd0ee5163f2fa15f63fdee35b..ad3baaa47942a63767eb5915650f71a270c4aa16 100644 (file)
        </listitem>
       </varlistentry>
       <varlistentry>
-       <term><literal>enable_rules_hint</literal></term>
+       <term><literal>use_stripes_everywhere</literal></term>
         <listitem>
           <para>
        Activar las líneas alternantes en los componentes GtkTreeView.
           </para>
         </listitem>
       </varlistentry>
+      <varlistentry>
       <varlistentry>
        <term><literal>enable_swap_from</literal></term>
        <listitem>
index e7180ca40431d6cc1bbde42bb8fe6bb64ca0d4d4..1325454935f84cb0556b10e377a32362f1d248cc 100644 (file)
            <varlistentry><term>enable_hscrollbar</term>
                    <listitem><para>Active la barre de défilement horizontale dans la liste de messages.</para></listitem>
            </varlistentry>
-           <varlistentry><term>enable_rules_hint</term>
+           <varlistentry><term>use_stripes_everywhere</term>
                    <listitem><para>Active les lignes alternées dans les GtkTreeViews (dialogues de filtrage, des traitements, etc.).</para></listitem>
            </varlistentry>
+           <varlistentry><term>use_stripes_in_summaries</term>
+                   <listitem><para>Active les lignes alternées dans les GtkTreeViews de la fenêtre principale (liste des dossiers et liste des messages). L'emploi de cette option (valeur 0) n'a de sens que lorsque l'option cachée use_stripes_everywhere est activée (valeur 1).</para></listitem>
+           </varlistentry>
            <varlistentry><term>enable_swap_from</term>
                    <listitem><para>Affiche l'adresse électronique de l'expéditeur dans la colonne <quote>De</quote> dans le dossier <quote>Envoyés</quote> au lieu des destinataires.</para></listitem>
            </varlistentry>
index 84b202b2bcd5976bc46c7cc2b7b1f54dc9f04f30..a5e5a474bccd2b357e3ac949f51cdd51fb78a5c0 100644 (file)
            <varlistentry><term>enable_hscrollbar</term>
                    <listitem><para>w³±czenie poziomego paska przewijania w li¶cie wiadomo¶ci</para></listitem>
            </varlistentry>
-           <varlistentry><term>enable_rules_hint</term>
+           <varlistentry><term>use_stripes_everywhere</term>
                    <listitem><para>w³±czenie alternatywnych linii w GtkTreeViews</para></listitem>
            </varlistentry>
            <varlistentry><term>enable_swap_from</term>
index 54fc31ddaba4865732a4168886bcb8f25847287e..5cded2c3701dd3060bd2216d769c52b750d013de 100644 (file)
@@ -1408,7 +1408,7 @@ static GtkWidget *account_list_view_create(void)
        list_view = GTK_TREE_VIEW(gtk_tree_view_new_with_model(GTK_TREE_MODEL(store)));
        g_object_unref(G_OBJECT(store));
 
-       gtk_tree_view_set_rules_hint(list_view, prefs_common.enable_rules_hint);
+       gtk_tree_view_set_rules_hint(list_view, prefs_common.use_stripes_everywhere);
        gtk_tree_view_set_reorderable(list_view, TRUE);
        
        selector = gtk_tree_view_get_selection(list_view);
index f2d3986843574c85a116c063bab60febb4b5ec5b..2e3b3ce72664e5267719dd2e77886357687e89a9 100644 (file)
@@ -1458,7 +1458,7 @@ static GtkWidget *addr_compl_list_view_create(CompletionWindow *window)
        list_view = GTK_TREE_VIEW(gtk_tree_view_new_with_model(model));
        g_object_unref(model);  
        
-       gtk_tree_view_set_rules_hint(list_view, prefs_common.enable_rules_hint);
+       gtk_tree_view_set_rules_hint(list_view, prefs_common.use_stripes_everywhere);
        gtk_tree_view_set_headers_visible(list_view, FALSE);
        
        selector = gtk_tree_view_get_selection(list_view);
index 6312da9442d981906fa6782f44ef1b549a6776de..19edd453b6093625194fcbed8d5bea1b697dac68 100644 (file)
@@ -5570,7 +5570,7 @@ GtkWidget *compose_create_attach(Compose *compose)
        gtk_tree_view_append_column(GTK_TREE_VIEW(attach_clist), column);
 
        gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(attach_clist),
-                                    prefs_common.enable_rules_hint);
+                                    prefs_common.use_stripes_everywhere);
        selection = gtk_tree_view_get_selection(GTK_TREE_VIEW(attach_clist));
        gtk_tree_selection_set_mode(selection, GTK_SELECTION_MULTIPLE);
 
index 63b663b048d54b90c91471e717945f41a4dc7958..c7caffcda7d69ee60b00b1e1d13d75ea9ca4b748 100644 (file)
@@ -267,7 +267,7 @@ static void foldersel_create(void)
        g_object_unref(G_OBJECT(tree_store));
        gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(treeview), FALSE);
        gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(treeview),
-                                    prefs_common.enable_rules_hint);
+                                    prefs_common.use_stripes_everywhere);
        gtk_tree_view_set_search_column(GTK_TREE_VIEW(treeview),
                                        FOLDERSEL_FOLDERNAME);
 
index f221da499b1abef0d2c44580eed1bc79ecfaab31..f75828655b3c6344625b7bd636c68f264175a42b 100644 (file)
@@ -467,7 +467,7 @@ GtkWidget *folderview_ctree_create(FolderView *folderview)
 
        ctree = gtk_sctree_new_with_titles(N_FOLDER_COLS, col_pos[F_COL_FOLDER],
                                           titles);
-       
+
        gtk_clist_set_selection_mode(GTK_CLIST(ctree), GTK_SELECTION_BROWSE);
        gtk_clist_set_column_justification(GTK_CLIST(ctree), col_pos[F_COL_NEW],
                                           GTK_JUSTIFY_RIGHT);
@@ -486,6 +486,9 @@ GtkWidget *folderview_ctree_create(FolderView *folderview)
                gtk_ctree_set_expander_style(GTK_CTREE(ctree),
                                     GTK_CTREE_EXPANDER_TRIANGLE);
        }
+
+       gtk_sctree_set_stripes(GTK_SCTREE(ctree), prefs_common.use_stripes_in_summaries);
+
        gtk_ctree_set_indent(GTK_CTREE(ctree), CTREE_INDENT);
        gtk_clist_set_compare_func(GTK_CLIST(ctree), folderview_clist_compare);
 
index 629aa79220221338fc8d52dd5e84a47e6bd2036a..847841a38e8ea17bb62aa09af45419e6e8470607 100644 (file)
@@ -894,7 +894,8 @@ gtk_sctree_draw_row (GtkCList     *clist,
   clip_rectangle.y = row_rectangle.y;
   clip_rectangle.height = row_rectangle.height;
 
-  if (prefs_common.enable_rules_hint && color_change && row % 2) {
+  if (prefs_common.use_stripes_everywhere && GTK_SCTREE(ctree)->show_stripes
+      && color_change && row % 2) {
     clist_row->background = greybg;
     clist_row->bg_set = TRUE;
   } else {
@@ -1771,6 +1772,8 @@ GtkWidget *gtk_sctree_new_with_titles (gint columns, gint tree_column,
                gtk_clist_column_titles_show (clist);
        }
 
+       GTK_SCTREE(widget)->show_stripes = TRUE;
+
        return widget;
 }
 
@@ -1815,6 +1818,11 @@ void gtk_sctree_remove_node (GtkSCTree *sctree, GtkCTreeNode *node)
        gtk_ctree_remove_node(GTK_CTREE(sctree), node);
 }
 
+void gtk_sctree_set_stripes(GtkSCTree  *sctree, gboolean show_stripes)
+{
+       sctree->show_stripes = show_stripes;
+}
+
 /***********************************************************
  *             Tree sorting functions                      *
  ***********************************************************/
index 008c7ae22a9c58524c71b7a6ab281b59e94d7277..175373684b82d0c0cb23da8245339d1c69c1bd04 100644 (file)
@@ -420,7 +420,7 @@ static GtkWidget *pluginwindow_list_view_create(PluginWindow *pluginwindow)
        list_view = GTK_TREE_VIEW(gtk_tree_view_new_with_model(model));
        g_object_unref(model);  
 
-       gtk_tree_view_set_rules_hint(list_view, prefs_common.enable_rules_hint);
+       gtk_tree_view_set_rules_hint(list_view, prefs_common.use_stripes_everywhere);
        gtk_tree_view_set_search_column (list_view, 0);
 
        selector = gtk_tree_view_get_selection(list_view);
index 71419d40097376629ace6929c3c0b807860b363b..8bbabdc6cf39b05828076fd89b10f339920b05a6 100644 (file)
@@ -504,7 +504,7 @@ static GtkWidget *prefswindow_tree_view_create(PrefsWindow *prefswindow)
        model = GTK_TREE_MODEL(prefswindow_create_data_store());
        tree_view = GTK_TREE_VIEW(gtk_tree_view_new_with_model(model));
        g_object_unref(model);
-       gtk_tree_view_set_rules_hint(tree_view, prefs_common.enable_rules_hint);
+       gtk_tree_view_set_rules_hint(tree_view, prefs_common.use_stripes_everywhere);
        
        selector = gtk_tree_view_get_selection(tree_view);
        gtk_tree_selection_set_mode(selector, GTK_SELECTION_BROWSE);
index 9a3f809c9f34efa8e7b0916a0fc5c0c4f2cbc6e5..0d34e74ff890fa3fa91473d1e972d11b0ffba81d 100644 (file)
@@ -119,7 +119,7 @@ ProgressDialog *progress_dialog_create(void)
        g_object_unref(G_OBJECT(store));
        gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(treeview), TRUE);
        gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(treeview),
-                                    prefs_common.enable_rules_hint);
+                                    prefs_common.use_stripes_everywhere);
        gtk_widget_show(treeview);
        gtk_container_add(GTK_CONTAINER(scrolledwin), treeview);
        gtk_widget_set_size_request(treeview, -1, 120);
index d406a29bc449dcae8328a62a8f838d7b39ead7e0..ca81b2b6bf83a0e7bb696387f8596b85140998b3 100644 (file)
@@ -889,7 +889,7 @@ static GtkWidget *prefs_actions_list_view_create(void)
        list_view = GTK_TREE_VIEW(gtk_tree_view_new_with_model(model));
        g_object_unref(model);  
        
-       gtk_tree_view_set_rules_hint(list_view, prefs_common.enable_rules_hint);
+       gtk_tree_view_set_rules_hint(list_view, prefs_common.use_stripes_everywhere);
        gtk_tree_view_set_reorderable(list_view, TRUE);
 
        selector = gtk_tree_view_get_selection(list_view);
index bddc460710c6c139e05ca83a32b5486e2f026876..e28d2b96dfb2478462c0a7a0f081d3fcfe4a2b5a 100644 (file)
@@ -759,7 +759,9 @@ static PrefParam param[] = {
         NULL, NULL, NULL},
        {"enable_swap_from", "FALSE", &prefs_common.swap_from, P_BOOL,
         NULL, NULL, NULL},
-       {"enable_rules_hint", "TRUE", &prefs_common.enable_rules_hint, P_BOOL,
+       {"use_stripes_everywhere", "TRUE", &prefs_common.use_stripes_everywhere, P_BOOL,
+        NULL, NULL, NULL},
+       {"use_stripes_in_summaries", "TRUE", &prefs_common.use_stripes_in_summaries, P_BOOL,
         NULL, NULL, NULL},
        {"enable_dotted_lines", "FALSE", &prefs_common.enable_dotted_lines, P_BOOL,
         NULL, NULL, NULL},
index 9f9442e574853ae1266918e76d161f399a84e3c5..fcc30351fc7f8633068cd58a1749a1e614280e4b 100644 (file)
@@ -179,7 +179,8 @@ struct _PrefsCommon
        gboolean use_addr_book;
        gchar *date_format;
 
-       gboolean enable_rules_hint;
+       gboolean use_stripes_everywhere;
+       gboolean use_stripes_in_summaries; /* overrides if use_stripes_everywhere is set to TRUE */
        gboolean enable_dotted_lines;
        gboolean enable_hscrollbar;
        gboolean bold_unread;
index 35135844891c347a37076dc0e63040ef9fd59735..ce1e22ccdd76401ba60fd3f3bf70ac95679d55c1 100644 (file)
@@ -842,7 +842,7 @@ static GtkWidget *prefs_custom_header_list_view_create(void)
        list_view = GTK_TREE_VIEW(gtk_tree_view_new_with_model(model));
        g_object_unref(model);  
        
-       gtk_tree_view_set_rules_hint(list_view, prefs_common.enable_rules_hint);
+       gtk_tree_view_set_rules_hint(list_view, prefs_common.use_stripes_everywhere);
        
        selector = gtk_tree_view_get_selection(list_view);
        gtk_tree_selection_set_mode(selector, GTK_SELECTION_BROWSE);
index 3f13de79f1f4eb3e65486d3614e678a071898208..95cb4db9df2821f20c3463426d692180a2492cc8 100644 (file)
@@ -741,7 +741,7 @@ static GtkWidget *prefs_display_header_list_view_create(const gchar *name)
        g_object_unref(G_OBJECT(model));
        
        gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(list_view),
-                                    prefs_common.enable_rules_hint);
+                                    prefs_common.use_stripes_everywhere);
        
        selector = gtk_tree_view_get_selection(GTK_TREE_VIEW(list_view));
        gtk_tree_selection_set_mode(selector, GTK_SELECTION_BROWSE);
index de09d3b790cf1f8e5467c4b4ccbce7cfa6cc987d..1b480e3bf39b64292c4cc95b6bb552ae60d0cad2 100644 (file)
@@ -1408,7 +1408,7 @@ static GtkWidget *prefs_filtering_list_view_create(void)
        list_view = GTK_TREE_VIEW(gtk_tree_view_new_with_model(GTK_TREE_MODEL
                (prefs_filtering_create_data_store())));
        
-       gtk_tree_view_set_rules_hint(list_view, prefs_common.enable_rules_hint);
+       gtk_tree_view_set_rules_hint(list_view, prefs_common.use_stripes_everywhere);
        gtk_tree_view_set_reorderable(list_view, TRUE);
        
        selector = gtk_tree_view_get_selection(list_view);
index 9fb5836dc2d56e5b140fb90d2a3f9da01fe0e11c..bfbe7b566bb30cd6ad07dde6c35527d439528821 100644 (file)
@@ -1381,7 +1381,7 @@ static GtkWidget *prefs_filtering_action_list_view_create(void)
        list_view = GTK_TREE_VIEW(gtk_tree_view_new_with_model(model));
        g_object_unref(model);  
        
-       gtk_tree_view_set_rules_hint(list_view, prefs_common.enable_rules_hint);
+       gtk_tree_view_set_rules_hint(list_view, prefs_common.use_stripes_everywhere);
 
        selector = gtk_tree_view_get_selection(list_view);
        gtk_tree_selection_set_mode(selector, GTK_SELECTION_BROWSE);
index 9d5d6f44427c4c84b2472940c2ea244e1031f149..02f9710f01ad0582cfd4a0ff9d9b4030befe2d09 100644 (file)
@@ -707,7 +707,7 @@ static GtkWidget *prefs_folder_column_list_view_create(const gchar *name)
        g_object_unref(G_OBJECT(model));
        
        gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(list_view),
-                                    prefs_common.enable_rules_hint);
+                                    prefs_common.use_stripes_everywhere);
        
        selector = gtk_tree_view_get_selection(GTK_TREE_VIEW(list_view));
        gtk_tree_selection_set_mode(selector, GTK_SELECTION_BROWSE);
index a20b5b60502cd3eb73a4c988df5ddcd09a34d741..dd87ba261b57fab81a046b6326d61e2535b6c654 100644 (file)
@@ -1940,7 +1940,7 @@ static GtkWidget *prefs_matcher_list_view_create(void)
        list_view = GTK_TREE_VIEW(gtk_tree_view_new_with_model(model));
        g_object_unref(model);  
        
-       gtk_tree_view_set_rules_hint(list_view, prefs_common.enable_rules_hint);
+       gtk_tree_view_set_rules_hint(list_view, prefs_common.use_stripes_everywhere);
        
        selector = gtk_tree_view_get_selection(list_view);
        gtk_tree_selection_set_mode(selector, GTK_SELECTION_BROWSE);
index 58c88d4732f1e9ab9f4cb41b18257b7bf9c8e75d..4444c81acc38dc05958c5d71558cf275cc4545ba 100644 (file)
@@ -195,7 +195,7 @@ static GtkWidget *date_format_create(GtkButton *button, void *data)
        datefmt_list_view = gtk_tree_view_new_with_model(GTK_TREE_MODEL(store));
        g_object_unref(G_OBJECT(store));
        gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(datefmt_list_view),
-                                    prefs_common.enable_rules_hint);
+                                    prefs_common.use_stripes_everywhere);
        gtk_widget_show(datefmt_list_view);
        gtk_container_add(GTK_CONTAINER(scrolledwindow1), datefmt_list_view);
 
index 290c0013070db1226e81665ef7d1e2dbf7a1ce8d..2c2307e81b841c433a88386c3309bf51ec5c525a 100644 (file)
@@ -721,7 +721,7 @@ static GtkWidget *prefs_summary_column_list_view_create(const gchar *name)
        g_object_unref(G_OBJECT(model));
        
        gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(list_view),
-                                    prefs_common.enable_rules_hint);
+                                    prefs_common.use_stripes_everywhere);
        
        selector = gtk_tree_view_get_selection(GTK_TREE_VIEW(list_view));
        gtk_tree_selection_set_mode(selector, GTK_SELECTION_BROWSE);
index 4b09b5d09614b7dcabe7943e1498989171365341..292f0199a46e573eb568d9b3d9d8561282eda03d 100644 (file)
@@ -735,7 +735,7 @@ static GtkWidget *prefs_template_list_view_create(void)
        list_view = GTK_TREE_VIEW(gtk_tree_view_new_with_model(model));
        g_object_unref(model);  
        
-       gtk_tree_view_set_rules_hint(list_view, prefs_common.enable_rules_hint);
+       gtk_tree_view_set_rules_hint(list_view, prefs_common.use_stripes_everywhere);
        
        selector = gtk_tree_view_get_selection(list_view);
        gtk_tree_selection_set_mode(selector, GTK_SELECTION_BROWSE);
index de13f03e483151ed60792f088532a83dce74cfb7..780ac1511b5be4a5e8bfbea8ce31aa2c0adf050a 100644 (file)
@@ -1002,7 +1002,7 @@ static GtkWidget *create_icon_list_view(ToolbarPage *prefs_toolbar)
        gtk_tree_view_append_column(list_view, column);
 
        /* various other tree view attributes */
-       gtk_tree_view_set_rules_hint(list_view, prefs_common.enable_rules_hint);
+       gtk_tree_view_set_rules_hint(list_view, prefs_common.use_stripes_everywhere);
        gtk_tree_view_set_headers_visible(list_view, FALSE);
        
        selector = gtk_tree_view_get_selection(list_view);
@@ -1085,7 +1085,7 @@ static GtkWidget *create_set_list_view(ToolbarPage *prefs_toolbar)
        gtk_tree_view_append_column(list_view, column);
 
        /* various other tree view attributes */
-       gtk_tree_view_set_rules_hint(list_view, prefs_common.enable_rules_hint);
+       gtk_tree_view_set_rules_hint(list_view, prefs_common.use_stripes_everywhere);
        
        selector = gtk_tree_view_get_selection(list_view);
        gtk_tree_selection_set_mode(selector, GTK_SELECTION_BROWSE);
index c80d80350fbf497b602ff1264a652bccf0f4b136..d956edc0df039838972f1e6f4c5ab65e9e7d0c0f 100644 (file)
@@ -126,7 +126,7 @@ static GtkWidget *ssl_manager_list_view_create      (void)
        
        gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE(model),
                                              0, GTK_SORT_ASCENDING);
-       gtk_tree_view_set_rules_hint(list_view, prefs_common.enable_rules_hint);
+       gtk_tree_view_set_rules_hint(list_view, prefs_common.use_stripes_everywhere);
        
        selector = gtk_tree_view_get_selection(list_view);
        gtk_tree_selection_set_mode(selector, GTK_SELECTION_BROWSE);
index 43ebf2589cd2e22cc1bde71dc179af019575cbdb..e86200c75e7a65188b3b7868ca82209d686169e5 100644 (file)
@@ -5030,6 +5030,8 @@ static GtkWidget *summary_ctree_create(SummaryView *summaryview)
                                     GTK_CTREE_EXPANDER_TRIANGLE);
        }
 
+       gtk_sctree_set_stripes(GTK_SCTREE(ctree), prefs_common.use_stripes_in_summaries);
+
        gtk_ctree_set_indent(GTK_CTREE(ctree), 12);
        g_object_set_data(G_OBJECT(ctree), "summaryview", (gpointer)summaryview);