2005-05-31 [paul] 1.9.11cvs26
authorPaul Mangan <paul@claws-mail.org>
Tue, 31 May 2005 07:04:59 +0000 (07:04 +0000)
committerPaul Mangan <paul@claws-mail.org>
Tue, 31 May 2005 07:04:59 +0000 (07:04 +0000)
* src/account.c
* src/addr_compl.c
* src/compose.c
* src/foldersel.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_matcher.c
* src/prefs_summaries.c
* src/prefs_summary_column.c
* src/prefs_template.c
* src/prefs_toolbar.c
* src/ssl_manager.c
* src/gtk/pluginwindow.c
* src/gtk/prefswindow.c
* src/gtk/progressdialog.c
add hidden prefs 'enable_rules_hint'
for gtk_tree_view_set_rules_hint()
(sync with main)

23 files changed:
ChangeLog-gtk2.claws
PATCHSETS
configure.ac
src/account.c
src/addr_compl.c
src/compose.c
src/foldersel.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_matcher.c
src/prefs_summaries.c
src/prefs_summary_column.c
src/prefs_template.c
src/prefs_toolbar.c
src/ssl_manager.c

index 5e38938e37e2f0054a4131f0cec370819a242e6e..7dd3cda91636848f52c6e6f38deadee051b594e2 100644 (file)
@@ -1,3 +1,30 @@
+2005-05-31 [paul]      1.9.11cvs26
+
+       * src/account.c
+       * src/addr_compl.c
+       * src/compose.c
+       * src/foldersel.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_matcher.c
+       * src/prefs_summaries.c
+       * src/prefs_summary_column.c
+       * src/prefs_template.c
+       * src/prefs_toolbar.c
+       * src/ssl_manager.c
+       * src/gtk/pluginwindow.c
+       * src/gtk/prefswindow.c
+       * src/gtk/progressdialog.c
+               add hidden prefs 'enable_rules_hint'
+               for gtk_tree_view_set_rules_hint()
+               (sync with main)
+               
+
 2005-05-31 [colin]     1.9.11cvs25
 
        * src/Makefile.am
index 9ad36904eae36f80a2e35f36179b4fed49b066de..00d5f60cb54c61ffa9cacf1352a304a7fa448ff2 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.155.2.22 -r 1.155.2.23 src/Makefile.am; cvs diff -u -r 1.115.2.34 -r 1.115.2.35 src/main.c; cvs diff -u -r 1.204.2.39 -r 1.204.2.40 src/prefs_common.c; diff -u /dev/null src/prefs_compose_writing.c; diff -u /dev/null src/prefs_compose_writing.h; ) > 1.9.11cvs23.patchset
 ( cvs diff -u -r 1.155.2.23 -r 1.155.2.24 src/Makefile.am; cvs diff -u -r 1.115.2.35 -r 1.115.2.36 src/main.c; cvs diff -u -r 1.204.2.40 -r 1.204.2.41 src/prefs_common.c; cvs diff -u -r 1.103.2.17 -r 1.103.2.18 src/prefs_common.h; diff -u /dev/null src/prefs_quote.c; diff -u /dev/null src/prefs_quote.h; cvs diff -u -r 1.12.2.17 -r 1.12.2.18 src/gtk/prefswindow.c; ) > 1.9.11cvs24.patchset
 ( cvs diff -u -r 1.155.2.24 -r 1.155.2.25 src/Makefile.am; cvs diff -u -r 1.115.2.36 -r 1.115.2.37 src/main.c; cvs diff -u -r 1.204.2.41 -r 1.204.2.42 src/prefs_common.c; diff -u /dev/null src/prefs_summaries.c; diff -u /dev/null src/prefs_summaries.h; ) > 1.9.11cvs25.patchset
+( cvs diff -u -r 1.61.2.24 -r 1.61.2.25 src/account.c;  cvs diff -u -r 1.27.2.9 -r 1.27.2.10 src/addr_compl.c;  cvs diff -u -r 1.382.2.123 -r 1.382.2.124 src/compose.c;  cvs diff -u -r 1.26.2.15 -r 1.26.2.16 src/foldersel.c;  cvs diff -u -r 1.60.2.14 -r 1.60.2.15 src/prefs_actions.c;  cvs diff -u -r 1.204.2.42 -r 1.204.2.43 src/prefs_common.c;  cvs diff -u -r 1.103.2.18 -r 1.103.2.19 src/prefs_common.h;  cvs diff -u -r 1.16.2.8 -r 1.16.2.9 src/prefs_customheader.c;  cvs diff -u -r 1.16.2.8 -r 1.16.2.9 src/prefs_display_header.c;  cvs diff -u -r 1.59.2.17 -r 1.59.2.18 src/prefs_filtering.c;  cvs diff -u -r 1.1.4.13 -r 1.1.4.14 src/prefs_filtering_action.c;  cvs diff -u -r 1.43.2.18 -r 1.43.2.19 src/prefs_matcher.c;  cvs diff -u -r 1.1.2.1 -r 1.1.2.2 src/prefs_summaries.c;  cvs diff -u -r 1.10.2.6 -r 1.10.2.7 src/prefs_summary_column.c;  cvs diff -u -r 1.12.2.9 -r 1.12.2.10 src/prefs_template.c;  cvs diff -u -r 1.30.2.12 -r 1.30.2.13 src/prefs_toolbar.c;  cvs diff -u -r 1.3.2.8 -r 1.3.2.9 src/ssl_manager.c;  cvs diff -u -r 1.5.2.13 -r 1.5.2.14 src/gtk/pluginwindow.c;  cvs diff -u -r 1.12.2.18 -r 1.12.2.19 src/gtk/prefswindow.c;  cvs diff -u -r 1.1.4.9 -r 1.1.4.10 src/gtk/progressdialog.c;  ) > 1.9.11cvs26.patchset
index bd39c58ede61f1b61ea144f8554cf8c28f453cdd..ac9269d523a9577cdb54935de4278d34431f8705 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=11
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=25
+EXTRA_VERSION=26
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 14af4538541679b6c268ecaf7a9b0adcf37d82e1..7fac482da0cc31285fd028b829e827a1ec2fbc03 100644 (file)
@@ -37,6 +37,7 @@
 #include "account.h"
 #include "prefs_gtk.h"
 #include "prefs_account.h"
+#include "prefs_common.h"
 #include "folder_item_prefs.h"
 #include "compose.h"
 #include "manage_window.h"
@@ -1314,7 +1315,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, TRUE);
+       gtk_tree_view_set_rules_hint(list_view, prefs_common.enable_rules_hint);
        
        selector = gtk_tree_view_get_selection(list_view);
        gtk_tree_selection_set_mode(selector, GTK_SELECTION_BROWSE);
index b277c9ff8a7d3b90a9db1a8f17d3417a56be6949..e33dde0f1748a7f911276ffd60cf4f2eda881964 100644 (file)
@@ -45,6 +45,7 @@
 #include "addrindex.h"
 #include "addr_compl.h"
 #include "utils.h"
+#include "prefs_common.h"
 #include <pthread.h>
 
 /*!
@@ -1491,7 +1492,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, TRUE);
+       gtk_tree_view_set_rules_hint(list_view, prefs_common.enable_rules_hint);
        gtk_tree_view_set_headers_visible(list_view, FALSE);
        
        selector = gtk_tree_view_get_selection(list_view);
index a44ad5347eb664ec4f9230715056ee7d7cd19785..11829589eb9765ba767c2fa18481104c7340d382 100644 (file)
@@ -4505,7 +4505,8 @@ 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), TRUE);
+       gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(attach_clist),
+                                    prefs_common.enable_rules_hint);
        selection = gtk_tree_view_get_selection(GTK_TREE_VIEW(attach_clist));
        gtk_tree_selection_set_mode(selection, GTK_SELECTION_MULTIPLE);
 
index a9706bb1a48f3d6ea634a56f0c750e03d0042371..ced132ee4fa8295d731360c5e9eede524c72ae55 100644 (file)
@@ -50,6 +50,7 @@
 #include "folderview.h"
 #include "inputdialog.h"
 #include "folder.h"
+#include "prefs_common.h"
 
 enum {
        FOLDERSEL_FOLDERNAME,
@@ -252,7 +253,8 @@ static void foldersel_create(void)
        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), TRUE);
+       gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(treeview),
+                                    prefs_common.enable_rules_hint);
        gtk_tree_view_set_search_column(GTK_TREE_VIEW(treeview),
                                        FOLDERSEL_FOLDERNAME);
 
index 3b3fa9153726270e571138b1af103c99b518b887..a45566617fa0ffb5719a54318db8d57fd1712863 100644 (file)
@@ -32,6 +32,7 @@
 
 #include "filesel.h"
 #include "alertpanel.h"
+#include "prefs_common.h"
 #include "../inc.h"
 
 enum {
@@ -332,7 +333,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, TRUE);
+       gtk_tree_view_set_rules_hint(list_view, prefs_common.enable_rules_hint);
        
        selector = gtk_tree_view_get_selection(list_view);
        gtk_tree_selection_set_mode(selector, GTK_SELECTION_BROWSE);
index 69c9adbbf126f4febba12f36da695816140b9e03..c899a5880fd2f00d9ec59887ae5738eb3c965c5f 100644 (file)
@@ -31,6 +31,7 @@
 #include "utils.h"
 #include "prefswindow.h"
 #include "gtkutils.h"
+#include "prefs_common.h"
 
 enum { 
        PREFS_PAGE_TITLE,               /* page title */
@@ -447,7 +448,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, TRUE);
+       gtk_tree_view_set_rules_hint(tree_view, prefs_common.enable_rules_hint);
        
        selector = gtk_tree_view_get_selection(tree_view);
        gtk_tree_selection_set_mode(selector, GTK_SELECTION_BROWSE);
index 626e9171bf52589d34c25403acb4c965525a751f..d922bfd6a8ff2c76c61e9756adc364730a2a6d6a 100644 (file)
@@ -35,6 +35,7 @@
 #include "progressdialog.h"
 #include "gtkutils.h"
 #include "utils.h"
+#include "prefs_common.h"
 
 enum {
        PROGRESS_IMAGE,
@@ -295,7 +296,7 @@ static GtkWidget *progress_dialog_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, TRUE);
+       gtk_tree_view_set_rules_hint(list_view, prefs_common.enable_rules_hint);
        
        /* create the columns */
        progress_dialog_create_list_view_columns(list_view);
index 45a4294386db8d6be6ac759aee769de3a3392b3f..84fcc313160016919fb903a808ce9223d3a3b7c9 100644 (file)
@@ -832,7 +832,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, TRUE);
+       gtk_tree_view_set_rules_hint(list_view, prefs_common.enable_rules_hint);
        
        selector = gtk_tree_view_get_selection(list_view);
        gtk_tree_selection_set_mode(selector, GTK_SELECTION_BROWSE);
index c5f4942b518cda0a2391a2c272db566481aca304..9f77ab5b6c8bf089a4c7aa42c721fb83348fe50e 100644 (file)
@@ -373,6 +373,8 @@ static PrefParam param[] = {
        {"date_format", "%y/%m/%d(%a) %H:%M", &prefs_common.date_format,
         P_STRING, NULL, NULL, NULL},
 
+       {"enable_rules_hint", "TRUE", &prefs_common.enable_rules_hint, P_BOOL,
+        NULL, NULL, NULL},
        {"enable_hscrollbar", "TRUE", &prefs_common.enable_hscrollbar, P_BOOL,
         NULL, NULL, NULL},
        {"bold_unread", "TRUE", &prefs_common.bold_unread, P_BOOL,
index 1ebd7cd730d8a93a82d3d37eeec3daf25a6b7317..524cf2fbc2068684398074b63de4b146e52d8b36 100644 (file)
@@ -151,6 +151,7 @@ struct _PrefsCommon
        gboolean use_addr_book;
        gchar *date_format;
 
+       gboolean enable_rules_hint;
        gboolean enable_hscrollbar;
        gboolean bold_unread;
        gboolean enable_thread;
index cdf9b6b500e934fc85e76e61eaf9651536b1e95a..ffec857119729f1dad890fc8f5fe9609f23d1ac2 100644 (file)
@@ -693,7 +693,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, TRUE);
+       gtk_tree_view_set_rules_hint(list_view, prefs_common.enable_rules_hint);
        
        selector = gtk_tree_view_get_selection(list_view);
        gtk_tree_selection_set_mode(selector, GTK_SELECTION_BROWSE);
index 3110a29faea1753b7c0ff7fa68195394d87963c5..7dbcef2b6c549301fa7e024df1ba7aeb3ab329a9 100644 (file)
@@ -732,7 +732,8 @@ static GtkWidget *prefs_display_header_list_view_create(const gchar *name)
        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), TRUE);
+       gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(list_view),
+                                    prefs_common.enable_rules_hint);
        
        selector = gtk_tree_view_get_selection(GTK_TREE_VIEW(list_view));
        gtk_tree_selection_set_mode(selector, GTK_SELECTION_BROWSE);
index b2584bf7247b9a7f978b0510b4d96f2b9f88c763..8a8b34fa4556f95d8643441c349bf3af5bdb8725 100644 (file)
@@ -1144,7 +1144,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, TRUE);
+       gtk_tree_view_set_rules_hint(list_view, prefs_common.enable_rules_hint);
        
        selector = gtk_tree_view_get_selection(list_view);
        gtk_tree_selection_set_mode(selector, GTK_SELECTION_BROWSE);
index fd704db86b69281aed3cc293eff578c621d6e8aa..d90dd261a8ffc3bb0f4e8d3283ff5c39432fa89e 100644 (file)
@@ -1342,7 +1342,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, TRUE);
+       gtk_tree_view_set_rules_hint(list_view, prefs_common.enable_rules_hint);
 
        selector = gtk_tree_view_get_selection(list_view);
        gtk_tree_selection_set_mode(selector, GTK_SELECTION_BROWSE);
index 2276b75d2e569b950d0b005538e1840685e74ade..241b6ba0c4c418636f134d7e3e134aadc1de1b1d 100644 (file)
@@ -1725,7 +1725,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, TRUE);
+       gtk_tree_view_set_rules_hint(list_view, prefs_common.enable_rules_hint);
        
        selector = gtk_tree_view_get_selection(list_view);
        gtk_tree_selection_set_mode(selector, GTK_SELECTION_BROWSE);
index 2323adad1979a3e9a8c6dee3c646821316a84e6f..9fd8ea9d8dfc4a4121031836318e6210b0b70395 100644 (file)
@@ -186,7 +186,8 @@ 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), TRUE);
+       gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(datefmt_list_view),
+                                    prefs_common.enable_rules_hint);
        gtk_widget_show(datefmt_list_view);
        gtk_container_add(GTK_CONTAINER(scrolledwindow1), datefmt_list_view);
 
index 82c091398df37d3e097e392e7e87fd13365b7401..61d6801ae75884fde7bf6f7673d678f677734646 100644 (file)
@@ -728,7 +728,8 @@ static GtkWidget *prefs_summary_column_list_view_create(const gchar *name)
        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), TRUE);
+       gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(list_view),
+                                    prefs_common.enable_rules_hint);
        
        selector = gtk_tree_view_get_selection(GTK_TREE_VIEW(list_view));
        gtk_tree_selection_set_mode(selector, GTK_SELECTION_BROWSE);
index 0f3d55c6dcf352b91eaed2695511b7e6a6b6ad7e..298312218de3b4872ddd0f8a6a1492399cc8a4d0 100644 (file)
@@ -38,6 +38,7 @@
 #include "compose.h"
 #include "addr_compl.h"
 #include "quote_fmt.h"
+#include "prefs_common.h"
 
 enum {
        TEMPL_TEXT,
@@ -627,7 +628,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, TRUE);
+       gtk_tree_view_set_rules_hint(list_view, prefs_common.enable_rules_hint);
        
        selector = gtk_tree_view_get_selection(list_view);
        gtk_tree_selection_set_mode(selector, GTK_SELECTION_BROWSE);
index f3d6ec90ea467464c72dd76611580edcf3ec0b32..76292450b3ddc6104af513d60f0686c85e5f7909 100644 (file)
@@ -997,7 +997,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, TRUE);
+       gtk_tree_view_set_rules_hint(list_view, prefs_common.enable_rules_hint);
        gtk_tree_view_set_headers_visible(list_view, FALSE);
        
        selector = gtk_tree_view_get_selection(list_view);
@@ -1080,7 +1080,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, TRUE);
+       gtk_tree_view_set_rules_hint(list_view, prefs_common.enable_rules_hint);
        
        selector = gtk_tree_view_get_selection(list_view);
        gtk_tree_selection_set_mode(selector, GTK_SELECTION_BROWSE);
index efabcf1abd3ed4e99f2c6de954c5ced91fa3f53a..90240809d0b206ce2c189110a12b67b4727d6d0f 100644 (file)
@@ -35,6 +35,7 @@
 #include "gtksctree.h"
 #include "alertpanel.h"
 #include "sslcertwindow.h"
+#include "prefs_common.h"
 
 enum {
        SSL_MANAGER_HOST,
@@ -119,7 +120,7 @@ static GtkWidget *ssl_manager_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, TRUE);
+       gtk_tree_view_set_rules_hint(list_view, prefs_common.enable_rules_hint);
        
        selector = gtk_tree_view_get_selection(list_view);
        gtk_tree_selection_set_mode(selector, GTK_SELECTION_BROWSE);