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 ecff9a5..53354cb 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 8261a0e..4258dcd 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 0d3a8e7..a4f3cdc 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 489e6a9..02cc59f 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 1f6be5f..ad3baaa 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 e7180ca..1325454 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 84b202b..a5e5a47 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 54fc31d..5cded2c 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 f2d3986..2e3b3ce 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 6312da9..19edd45 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 63b663b..c7caffc 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 f221da4..f758286 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 629aa79..847841a 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 008c7ae..1753736 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 71419d4..8bbabdc 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 9a3f809..0d34e74 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 d406a29..ca81b2b 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 bddc460..e28d2b9 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 9f9442e..fcc3035 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 3513584..ce1e22c 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 3f13de7..95cb4db 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 de09d3b..1b480e3 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 9fb5836..bfbe7b5 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 9d5d6f4..02f9710 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 a20b5b6..dd87ba2 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 58c88d4..4444c81 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 290c001..2c2307e 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 4b09b5d..292f019 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 de13f03..780ac15 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 c80d803..d956edc 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 43ebf25..e86200c 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);