[Commits] [SCM] claws branch, master, updated. 4.2.0-85-g50a05744c

mones at claws-mail.org mones at claws-mail.org
Mon Apr 15 14:17:34 UTC 2024


The branch, master has been updated
       via  50a05744c402a511d5382ddfa723c1be4ca32cb2 (commit)
      from  471fdc18503eb51ed0c4917ca20701e985e2953e (commit)

Summary of changes:
 src/account.c                                       | 4 +---
 src/addr_compl.c                                    | 4 +---
 src/addrcustomattr.c                                | 4 +---
 src/addrduplicates.c                                | 4 +---
 src/addressadd.c                                    | 1 -
 src/addressbook_foldersel.c                         | 4 +---
 src/compose.c                                       | 2 --
 src/edittags.c                                      | 4 +---
 src/foldersel.c                                     | 4 +---
 src/gtk/pluginwindow.c                              | 3 +--
 src/gtk/prefswindow.c                               | 5 ++---
 src/gtk/progressdialog.c                            | 5 +----
 src/mimeview.c                                      | 4 +---
 src/plugins/att_remover/att_remover.c               | 3 +--
 src/plugins/notification/notification_foldercheck.c | 4 +---
 src/prefs_actions.c                                 | 3 +--
 src/prefs_customheader.c                            | 5 ++---
 src/prefs_display_header.c                          | 8 ++------
 src/prefs_filtering.c                               | 5 ++---
 src/prefs_filtering_action.c                        | 5 ++---
 src/prefs_folder_column.c                           | 5 +----
 src/prefs_matcher.c                                 | 5 ++---
 src/prefs_summaries.c                               | 4 +---
 src/prefs_summary_column.c                          | 7 ++-----
 src/prefs_summary_open.c                            | 8 ++------
 src/prefs_template.c                                | 3 +--
 src/prefs_toolbar.c                                 | 4 +---
 src/ssl_manager.c                                   | 5 ++---
 src/uri_opener.c                                    | 5 ++---
 29 files changed, 37 insertions(+), 90 deletions(-)


- Log -----------------------------------------------------------------
commit 50a05744c402a511d5382ddfa723c1be4ca32cb2
Author: Ricardo Mones <ricardo at mones.org>
Date:   Mon Apr 15 12:35:10 2024 +0200

    Remove deprecated gtk_tree_view_set_rules_hint
    
    This call has been deprecated since version 3.14 and removal doesn't
    change current visual appearance. CSS support for this was removed 8
    years ago, and it also seems strips in TreeViews are never going to
    come back¹. The only option for now seems to use ListBox² after having
    migrated to GTK 4…
    
    ¹ https://gitlab.gnome.org/GNOME/gtk/-/issues/581
    ² https://docs.gtk.org/gtk4/class.ListBox.html
    
    Removes thirty “warning: ‘gtk_tree_view_set_rules_hint’ is deprecated”

diff --git a/src/account.c b/src/account.c
index 2a1645473..13cffa9ad 100644
--- a/src/account.c
+++ b/src/account.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2023 the Claws Mail team and Hiroyuki Yamamoto
+ * Copyright (C) 1999-2024 the Claws Mail team and Hiroyuki Yamamoto
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -14,7 +14,6 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
- * 
  */
 
 #ifdef HAVE_CONFIG_H
@@ -1576,7 +1575,6 @@ static GtkWidget *account_list_view_create(void)
 #ifdef GENERIC_UMPC
 	g_object_set(list_view, "allow-checkbox-mode", FALSE, NULL);
 #endif
-	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);
diff --git a/src/addr_compl.c b/src/addr_compl.c
index 1decafd8a..eede0ac6a 100644
--- a/src/addr_compl.c
+++ b/src/addr_compl.c
@@ -1,7 +1,7 @@
 /*
  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
  *
- * Copyright (C) 2000-2021 the Claws Mail team and Alfons Hoogervorst
+ * Copyright (C) 2000-2024 the Claws Mail team and Alfons Hoogervorst
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -15,7 +15,6 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
- * 
  */
 
 #ifdef HAVE_CONFIG_H
@@ -1771,7 +1770,6 @@ 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.use_stripes_everywhere);
 	gtk_tree_view_set_headers_visible(list_view, FALSE);
 
 	selector = gtk_tree_view_get_selection(list_view);
diff --git a/src/addrcustomattr.c b/src/addrcustomattr.c
index db465683d..7a4d9d513 100644
--- a/src/addrcustomattr.c
+++ b/src/addrcustomattr.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 2007-2022 The Claws Mail Team
+ * Copyright (C) 2007-2024 The Claws Mail Team
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -276,8 +276,6 @@ static GtkWidget *custom_attr_window_list_view_create	(void)
 	gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE(model),
 			CUSTOM_ATTR_NAME, GTK_SORT_ASCENDING);
 
-	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);
 
diff --git a/src/addrduplicates.c b/src/addrduplicates.c
index aaf7e0117..e2a753fda 100644
--- a/src/addrduplicates.c
+++ b/src/addrduplicates.c
@@ -1,5 +1,5 @@
 /* Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 2007-2022 Holger Berndt <hb at claws-mail.org>
+ * Copyright (C) 2007-2024 Holger Berndt <hb at claws-mail.org>
  * and the Claws Mail team
  *
  * This program is free software; you can redistribute it and/or modify
@@ -436,7 +436,6 @@ static GtkWidget* create_email_view(GtkListStore *store)
 	GtkCellRenderer *renderer;
 
 	view = gtk_tree_view_new_with_model(GTK_TREE_MODEL(store));
-	gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(view), prefs_common.use_stripes_everywhere);
 	renderer = gtk_cell_renderer_text_new();
 	gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW(view),
 	        -1,
@@ -456,7 +455,6 @@ static GtkWidget* create_detail_view(GtkListStore *store)
 	GList *walk;
 
 	view = gtk_tree_view_new_with_model(GTK_TREE_MODEL(store));
-	gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(view), prefs_common.use_stripes_everywhere);
 	renderer = gtk_cell_renderer_text_new();
 
 	/* col 1 */
diff --git a/src/addressadd.c b/src/addressadd.c
index 34b8b8a58..ecca31e11 100644
--- a/src/addressadd.c
+++ b/src/addressadd.c
@@ -267,7 +267,6 @@ static void addressadd_create( void ) {
 	tree_folder = gtk_tree_view_new_with_model(GTK_TREE_MODEL(store));
 	gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE(store), ADDRADD_COL_NAME, GTK_SORT_ASCENDING);
 	g_object_unref(store);
-	gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(tree_folder), prefs_common.use_stripes_everywhere);
 	gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(tree_folder), TRUE);
 	gtk_tree_view_set_enable_tree_lines(GTK_TREE_VIEW(tree_folder), FALSE);
 	gtk_tree_view_set_search_column(GTK_TREE_VIEW(tree_folder),
diff --git a/src/addressbook_foldersel.c b/src/addressbook_foldersel.c
index dfea3a105..2cf3b359c 100644
--- a/src/addressbook_foldersel.c
+++ b/src/addressbook_foldersel.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 2001-2022 the Claws Mail team and Match Grun
+ * Copyright (C) 2001-2024 the Claws Mail team and Match Grun
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -14,7 +14,6 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
- * 
  */
 
 /*
@@ -185,7 +184,6 @@ static void addressbook_foldersel_create( void )
 
 	view = gtk_tree_view_new_with_model(GTK_TREE_MODEL(store));
 	gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE(store), COL_NAME, GTK_SORT_ASCENDING);
-	gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(view), prefs_common.use_stripes_everywhere);
 	gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(view), TRUE);
 	gtk_tree_view_set_enable_tree_lines(GTK_TREE_VIEW(view), FALSE);
 	gtk_tree_view_set_search_column(GTK_TREE_VIEW(view), COL_NAME);
diff --git a/src/compose.c b/src/compose.c
index bf2a50a1c..8618b2f7c 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -7505,8 +7505,6 @@ static GtkWidget *compose_create_attach(Compose *compose)
 			 COL_NAME, NULL);
 	gtk_tree_view_append_column(GTK_TREE_VIEW(attach_clist), column);
 
-	gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(attach_clist),
-				     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);
 
diff --git a/src/edittags.c b/src/edittags.c
index ca1d8d116..9ee64b5e1 100644
--- a/src/edittags.c
+++ b/src/edittags.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 2007-2022 Colin Leroy and The Claws Mail Team
+ * Copyright (C) 2007-2024 Colin Leroy and The Claws Mail Team
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -361,8 +361,6 @@ static GtkWidget *tags_window_list_view_create	(void)
 	g_object_unref(model);	
 	gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE(model), TAG_NAME, GTK_SORT_ASCENDING);
 
-	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);
 
diff --git a/src/foldersel.c b/src/foldersel.c
index fa8905662..fab33691a 100644
--- a/src/foldersel.c
+++ b/src/foldersel.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2022 the Claws Mail team and Hiroyuki Yamamoto
+ * Copyright (C) 1999-2024 the Claws Mail team and Hiroyuki Yamamoto
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -295,8 +295,6 @@ static void foldersel_create(const gchar *title)
 	treeview = gtk_tree_view_new_with_model(GTK_TREE_MODEL(tree_store));
 	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.use_stripes_everywhere);
 	gtk_tree_view_set_enable_tree_lines(GTK_TREE_VIEW(treeview), FALSE);
 	gtk_tree_view_set_search_column(GTK_TREE_VIEW(treeview),
 					FOLDERSEL_FOLDERNAME);
diff --git a/src/gtk/pluginwindow.c b/src/gtk/pluginwindow.c
index 413f14f12..4e6baf21a 100644
--- a/src/gtk/pluginwindow.c
+++ b/src/gtk/pluginwindow.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2022 the Claws Mail Team and Hiroyuki Yamamoto
+ * Copyright (C) 1999-2024 the Claws Mail Team and Hiroyuki Yamamoto
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -464,7 +464,6 @@ 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.use_stripes_everywhere);
 	gtk_tree_view_set_search_column (list_view, 0);
 
 	selector = gtk_tree_view_get_selection(list_view);
diff --git a/src/gtk/prefswindow.c b/src/gtk/prefswindow.c
index 6fb84d6aa..aca664b55 100644
--- a/src/gtk/prefswindow.c
+++ b/src/gtk/prefswindow.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2022 the Claws Mail Team and Hiroyuki Yamamoto
+ * Copyright (C) 1999-2024 the Claws Mail Team and Hiroyuki Yamamoto
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -624,8 +624,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.use_stripes_everywhere);
-	
+
 	selector = gtk_tree_view_get_selection(tree_view);
 	gtk_tree_selection_set_mode(selector, GTK_SELECTION_BROWSE);
 	gtk_tree_selection_set_select_function(selector, prefswindow_row_selected,
diff --git a/src/gtk/progressdialog.c b/src/gtk/progressdialog.c
index b5b638131..15b87ab45 100644
--- a/src/gtk/progressdialog.c
+++ b/src/gtk/progressdialog.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2021 the Claws Mail team and Hiroyuki Yamamoto
+ * Copyright (C) 1999-2024 the Claws Mail team and Hiroyuki Yamamoto
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -14,7 +14,6 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
- * 
  */
 
 #ifdef HAVE_CONFIG_H
@@ -116,8 +115,6 @@ ProgressDialog *progress_dialog_create(void)
 	treeview = gtk_tree_view_new_with_model(GTK_TREE_MODEL(store));
 	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.use_stripes_everywhere);
 	gtk_widget_show(treeview);
 	gtk_container_add(GTK_CONTAINER(scrolledwin), treeview);
 	gtk_widget_set_size_request(treeview, -1, 120);
diff --git a/src/mimeview.c b/src/mimeview.c
index a8de83666..cb84b50fb 100644
--- a/src/mimeview.c
+++ b/src/mimeview.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2023 the Claws Mail team and Hiroyuki Yamamoto
+ * Copyright (C) 1999-2024 the Claws Mail team and Hiroyuki Yamamoto
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -325,8 +325,6 @@ MimeView *mimeview_create(MainWindow *mainwin)
 	ctree = gtk_tree_view_new_with_model(GTK_TREE_MODEL(model));
 	g_object_unref(model);
 	gtk_tree_view_set_enable_search(GTK_TREE_VIEW(ctree), FALSE);
-	gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(ctree),
-					prefs_common.use_stripes_everywhere);
 	gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(ctree),
 					prefs_common.show_col_headers);
 
diff --git a/src/plugins/att_remover/att_remover.c b/src/plugins/att_remover/att_remover.c
index dbfb43cbd..3ef278065 100644
--- a/src/plugins/att_remover/att_remover.c
+++ b/src/plugins/att_remover/att_remover.c
@@ -352,8 +352,7 @@ static void remove_attachments_dialog(AttRemover *attremover)
 				  G_TYPE_BOOLEAN,
 				  -1));
 	list_view = GTK_TREE_VIEW(gtk_tree_view_new_with_model(model));
-	gtk_tree_view_set_rules_hint(list_view, prefs_common_get_prefs()->use_stripes_everywhere);
-	
+
 	renderer = gtk_cell_renderer_toggle_new();
 	g_signal_connect(renderer, "toggled", G_CALLBACK(remove_toggled_cb), model);
 	g_object_unref(model);	
diff --git a/src/plugins/notification/notification_foldercheck.c b/src/plugins/notification/notification_foldercheck.c
index 8d6770709..5fa8d4a1e 100644
--- a/src/plugins/notification/notification_foldercheck.c
+++ b/src/plugins/notification/notification_foldercheck.c
@@ -1,6 +1,6 @@
 
 /* Notification plugin for Claws Mail
- * Copyright (C) 2005-2022 Holger Berndt and the Claws Mail Team
+ * Copyright (C) 2005-2024 Holger Berndt and the Claws Mail Team
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -525,8 +525,6 @@ static void foldercheck_create_window(SpecificFolderArrayEntry *entry)
   gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(entry->treeview), FALSE);
   gtk_tree_view_set_search_column(GTK_TREE_VIEW(entry->treeview),
 				  FOLDERCHECK_FOLDERNAME);
-  gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(entry->treeview),
-				  prefs_common_get_prefs()->use_stripes_everywhere);
   gtk_tree_view_set_enable_tree_lines(GTK_TREE_VIEW(entry->treeview), FALSE);
 
   selection = gtk_tree_view_get_selection(GTK_TREE_VIEW(entry->treeview));
diff --git a/src/prefs_actions.c b/src/prefs_actions.c
index eac5dcfe7..b37f6c1cb 100644
--- a/src/prefs_actions.c
+++ b/src/prefs_actions.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2022 the Claws Mail Team and Hiroyuki Yamamoto
+ * Copyright (C) 1999-2024 the Claws Mail Team and Hiroyuki Yamamoto
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -1201,7 +1201,6 @@ static GtkWidget *prefs_actions_list_view_create(void)
 	g_signal_connect(G_OBJECT(list_view), "button-press-event",
 			G_CALLBACK(prefs_actions_list_btn_pressed), list_view);
 
-	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);
diff --git a/src/prefs_customheader.c b/src/prefs_customheader.c
index 9530eec7c..7fa50017b 100644
--- a/src/prefs_customheader.c
+++ b/src/prefs_customheader.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2022 the Claws Mail team and Hiroyuki Yamamoto
+ * Copyright (C) 1999-2024 the Claws Mail team and Hiroyuki Yamamoto
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -844,8 +844,7 @@ static GtkWidget *prefs_custom_header_list_view_create(void)
 	model = GTK_TREE_MODEL(prefs_custom_header_create_data_store());
 	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.use_stripes_everywhere);
+
 	gtk_tree_view_set_reorderable(list_view, TRUE);
 	
 	selector = gtk_tree_view_get_selection(list_view);
diff --git a/src/prefs_display_header.c b/src/prefs_display_header.c
index f6bc931c5..142269bfe 100644
--- a/src/prefs_display_header.c
+++ b/src/prefs_display_header.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2022 the Claws Mail team and Hiroyuki Yamamoto
+ * Copyright (C) 1999-2024 the Claws Mail team and Hiroyuki Yamamoto
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -14,7 +14,6 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
- * 
  */
 
 #ifdef HAVE_CONFIG_H
@@ -766,10 +765,7 @@ static GtkWidget *prefs_display_header_list_view_create(const gchar *name)
 	model = GTK_TREE_MODEL(prefs_display_header_create_store());
 	list_view = gtk_tree_view_new_with_model(model);
 	g_object_unref(G_OBJECT(model));
-	
-	gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(list_view),
-				     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);
 
diff --git a/src/prefs_filtering.c b/src/prefs_filtering.c
index 81e0f59bb..6ada266c3 100644
--- a/src/prefs_filtering.c
+++ b/src/prefs_filtering.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2022 the Claws Mail team and Hiroyuki Yamamoto
+ * Copyright (C) 1999-2024 the Claws Mail team and Hiroyuki Yamamoto
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -1801,8 +1801,7 @@ static GtkWidget *prefs_filtering_list_view_create(void)
 			 G_CALLBACK(prefs_filtering_list_popup_menu), list_view);
 	g_signal_connect(G_OBJECT(list_view), "button-press-event",
 			G_CALLBACK(prefs_filtering_list_btn_pressed), list_view);
-	
-	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);
diff --git a/src/prefs_filtering_action.c b/src/prefs_filtering_action.c
index 7016af880..622d74854 100644
--- a/src/prefs_filtering_action.c
+++ b/src/prefs_filtering_action.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 2003-2022 the Claws Mail team
+ * Copyright (C) 2003-2024 the Claws Mail team
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -1452,8 +1452,7 @@ static GtkWidget *prefs_filtering_action_list_view_create(void)
 	model = GTK_TREE_MODEL(prefs_filtering_action_create_data_store());
 	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.use_stripes_everywhere);
+
 	gtk_tree_view_set_reorderable(list_view, TRUE);
 
 	selector = gtk_tree_view_get_selection(list_view);
diff --git a/src/prefs_folder_column.c b/src/prefs_folder_column.c
index 5ee397c86..d0633625b 100644
--- a/src/prefs_folder_column.c
+++ b/src/prefs_folder_column.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2022 the Claws Mail team and Hiroyuki Yamamoto
+ * Copyright (C) 1999-2024 the Claws Mail team and Hiroyuki Yamamoto
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -732,9 +732,6 @@ static GtkWidget *prefs_folder_column_list_view_create(const gchar *name)
 	model = GTK_TREE_MODEL(prefs_folder_column_create_store());
 	list_view = gtk_tree_view_new_with_model(model);
 	g_object_unref(G_OBJECT(model));
-	
-	gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(list_view),
-				     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);
diff --git a/src/prefs_matcher.c b/src/prefs_matcher.c
index e1b05478f..1a5521c90 100644
--- a/src/prefs_matcher.c
+++ b/src/prefs_matcher.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2022 the Claws Mail team and Hiroyuki Yamamoto
+ * Copyright (C) 1999-2024 the Claws Mail team and Hiroyuki Yamamoto
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -2309,8 +2309,7 @@ static GtkWidget *prefs_matcher_list_view_create(void)
 	model = GTK_TREE_MODEL(prefs_matcher_create_data_store());
 	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.use_stripes_everywhere);
+
 	gtk_tree_view_set_reorderable(list_view, TRUE);
 	
 	selector = gtk_tree_view_get_selection(list_view);
diff --git a/src/prefs_summaries.c b/src/prefs_summaries.c
index eb75163c8..576174746 100644
--- a/src/prefs_summaries.c
+++ b/src/prefs_summaries.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 2005-2023 the Claws Mail Team and Colin Leroy
+ * Copyright (C) 2005-2024 the Claws Mail Team and Colin Leroy
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -257,8 +257,6 @@ 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.use_stripes_everywhere);
 	gtk_widget_show(datefmt_list_view);
 	gtk_container_add(GTK_CONTAINER(scrolledwindow1), datefmt_list_view);
 
diff --git a/src/prefs_summary_column.c b/src/prefs_summary_column.c
index b21e4689a..aa5d75e69 100644
--- a/src/prefs_summary_column.c
+++ b/src/prefs_summary_column.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2022 the Claws Mail team and Hiroyuki Yamamoto
+ * Copyright (C) 1999-2024 the Claws Mail team and Hiroyuki Yamamoto
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -747,10 +747,7 @@ static GtkWidget *prefs_summary_column_list_view_create(const gchar *name)
 	model = GTK_TREE_MODEL(prefs_summary_column_create_store());
 	list_view = gtk_tree_view_new_with_model(model);
 	g_object_unref(G_OBJECT(model));
-	
-	gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(list_view),
-				     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);
 
diff --git a/src/prefs_summary_open.c b/src/prefs_summary_open.c
index b2e95093d..1f1563e3b 100644
--- a/src/prefs_summary_open.c
+++ b/src/prefs_summary_open.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2022 the Claws Mail team and Hiroyuki Yamamoto
+ * Copyright (C) 1999-2024 the Claws Mail team and Hiroyuki Yamamoto
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -14,7 +14,6 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
- * 
  */
 
 #ifdef HAVE_CONFIG_H
@@ -599,10 +598,7 @@ static GtkWidget *prefs_summary_open_list_view_create(const gchar *name)
 	model = GTK_TREE_MODEL(prefs_summary_open_create_store());
 	list_view = gtk_tree_view_new_with_model(model);
 	g_object_unref(G_OBJECT(model));
-	
-	gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(list_view),
-				     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);
 
diff --git a/src/prefs_template.c b/src/prefs_template.c
index b20683b37..57604ff9a 100644
--- a/src/prefs_template.c
+++ b/src/prefs_template.c
@@ -1199,8 +1199,7 @@ static GtkWidget *prefs_template_list_view_create(void)
 			 G_CALLBACK(prefs_template_list_popup_menu), list_view);
 	g_signal_connect(G_OBJECT(list_view), "button-press-event",
 			G_CALLBACK(prefs_template_list_btn_pressed), list_view);
-	
-	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);
diff --git a/src/prefs_toolbar.c b/src/prefs_toolbar.c
index a7626c9cb..5b472d6c3 100644
--- a/src/prefs_toolbar.c
+++ b/src/prefs_toolbar.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 2002-2021 the Claws Mail team
+ * Copyright (C) 2002-2024 the Claws Mail team
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -1376,8 +1376,6 @@ 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.use_stripes_everywhere);
-
 	selector = gtk_tree_view_get_selection(list_view);
 	gtk_tree_selection_set_mode(selector, GTK_SELECTION_BROWSE);
 	gtk_tree_selection_set_select_function
diff --git a/src/ssl_manager.c b/src/ssl_manager.c
index b055ecb36..1fbf83d30 100644
--- a/src/ssl_manager.c
+++ b/src/ssl_manager.c
@@ -15,6 +15,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
+
 #ifdef HAVE_CONFIG_H
 #  include "config.h"
 #include "claws-features.h"
@@ -149,9 +150,7 @@ static GtkWidget *ssl_manager_list_view_create	(void)
 	
  	gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE(model),
                                              0, GTK_SORT_ASCENDING);
-	g_object_unref(model);	
-	gtk_tree_view_set_rules_hint(list_view, prefs_common.use_stripes_everywhere);
-	
+	g_object_unref(model);
 	selector = gtk_tree_view_get_selection(list_view);
 	gtk_tree_selection_set_mode(selector, GTK_SELECTION_BROWSE);
 
diff --git a/src/uri_opener.c b/src/uri_opener.c
index cca1ceb92..0f28f7ad9 100644
--- a/src/uri_opener.c
+++ b/src/uri_opener.c
@@ -15,6 +15,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
+
 #ifdef HAVE_CONFIG_H
 #  include "config.h"
 #include "claws-features.h"
@@ -141,9 +142,7 @@ static GtkWidget *uri_opener_list_view_create(void)
 	model = GTK_TREE_MODEL(uri_opener_create_data_store());
 	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.use_stripes_everywhere);
-	
+
 	selector = gtk_tree_view_get_selection(list_view);
 	gtk_tree_selection_set_mode(selector, GTK_SELECTION_MULTIPLE);
 

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list