[Commits] [SCM] claws branch, master, updated. 3.15.0-183-g2a0a151

mones at claws-mail.org mones at claws-mail.org
Sat Dec 2 23:44:59 CET 2017


The branch, master has been updated
       via  2a0a1514b240c883695a8d8ccbccf85d7e03f80b (commit)
      from  b2be2d2b0e588b0ef5fb496e651202ea95d968a1 (commit)

Summary of changes:
 src/prefs_folder_column.c  |   23 +++++++++++++----------
 src/prefs_summary_column.c |    9 ++++-----
 2 files changed, 17 insertions(+), 15 deletions(-)


- Log -----------------------------------------------------------------
commit 2a0a1514b240c883695a8d8ccbccf85d7e03f80b
Author: Ricardo Mones <ricardo at mones.org>
Date:   Sat Dec 2 23:44:34 2017 +0100

    Complete previous patch

diff --git a/src/prefs_folder_column.c b/src/prefs_folder_column.c
index 3a11400..a37fb54 100644
--- a/src/prefs_folder_column.c
+++ b/src/prefs_folder_column.c
@@ -1,6 +1,6 @@
 /*
- * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2012 Hiroyuki Yamamoto & the Claws Mail team
+ * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
+ * Copyright (C) 1999-2017 Hiroyuki Yamamoto & 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
@@ -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
@@ -252,8 +251,9 @@ static void prefs_folder_column_create(void)
 	gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolledwin),
 				       GTK_POLICY_AUTOMATIC,
 				       GTK_POLICY_AUTOMATIC);
+	gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(scrolledwin),
+					   GTK_SHADOW_IN);
 
-				       
 	stock_list_view = prefs_folder_column_list_view_create
 				(_("Hidden columns"));
 	g_signal_connect(G_OBJECT(stock_list_view), "cursor-changed",
@@ -274,6 +274,13 @@ static void prefs_folder_column_create(void)
 	g_signal_connect(G_OBJECT(add_btn), "clicked",
 			 G_CALLBACK(prefs_folder_column_add), NULL);
 
+	remove_btn = gtk_button_new_from_stock(GTK_STOCK_REMOVE);
+	gtk_widget_show(remove_btn);
+	gtk_box_pack_start(GTK_BOX(btn_vbox), remove_btn, FALSE, TRUE, 0);
+
+	g_signal_connect(G_OBJECT(remove_btn), "clicked",
+			 G_CALLBACK(prefs_folder_column_remove), NULL);
+
 	clist_hbox = gtk_hbox_new(FALSE, 8);
 	gtk_widget_show(clist_hbox);
 	gtk_box_pack_start(GTK_BOX(hbox1), clist_hbox, TRUE, TRUE, 0);
@@ -285,6 +292,8 @@ static void prefs_folder_column_create(void)
 	gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolledwin),
 				       GTK_POLICY_AUTOMATIC,
 				       GTK_POLICY_AUTOMATIC);
+	gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(scrolledwin),
+					   GTK_SHADOW_IN);
 
 	shown_list_view = prefs_folder_column_list_view_create
 				(_("Displayed columns"));
@@ -299,10 +308,6 @@ static void prefs_folder_column_create(void)
 	gtk_widget_show(btn_vbox);
 	gtk_box_pack_start(GTK_BOX(hbox1), btn_vbox, FALSE, FALSE, 0);
 
-	remove_btn = gtk_button_new_from_stock(GTK_STOCK_REMOVE);
-	gtk_widget_show(remove_btn);
-	gtk_box_pack_start(GTK_BOX(btn_vbox), remove_btn, FALSE, TRUE, 0);
-
 	up_btn = gtk_button_new_from_stock(GTK_STOCK_GO_UP);
 	gtk_widget_show(up_btn);
 	gtk_box_pack_start(GTK_BOX(btn_vbox), up_btn, FALSE, TRUE, 0);
@@ -311,8 +316,6 @@ static void prefs_folder_column_create(void)
 	gtk_widget_show(down_btn);
 	gtk_box_pack_start(GTK_BOX(btn_vbox), down_btn, FALSE, TRUE, 0);
 
-	g_signal_connect(G_OBJECT(remove_btn), "clicked",
-			 G_CALLBACK(prefs_folder_column_remove), NULL);
 	g_signal_connect(G_OBJECT(up_btn), "clicked",
 			 G_CALLBACK(prefs_folder_column_up), NULL);
 	g_signal_connect(G_OBJECT(down_btn), "clicked",
diff --git a/src/prefs_summary_column.c b/src/prefs_summary_column.c
index 7ea7daa..39b6f80 100644
--- a/src/prefs_summary_column.c
+++ b/src/prefs_summary_column.c
@@ -1,6 +1,6 @@
 /*
- * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2012 Hiroyuki Yamamoto and the Claws Mail team
+ * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
+ * Copyright (C) 1999-2017 Hiroyuki Yamamoto 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
@@ -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
@@ -84,7 +83,7 @@ static const gchar *const col_name[N_SUMMARY_COLS] = {
 	N_("Date"),		/* S_COL_DATE    */
 	N_("Size"),		/* S_COL_SIZE    */
 	N_("Number"),		/* S_COL_NUMBER  */
-        N_("Score"),		/* S_COL_SCORE   */
+	N_("Score"),		/* S_COL_SCORE   */
 	N_("Locked"),		/* S_COL_LOCKED  */
 	N_("Tags"),		/* S_COL_TAGS  */
 };
@@ -99,7 +98,7 @@ static SummaryColumnState default_state[N_SUMMARY_COLS] = {
 	{ S_COL_DATE   , TRUE  },
 	{ S_COL_SIZE   , TRUE  },
 	{ S_COL_NUMBER , FALSE },
-        { S_COL_SCORE  , FALSE },
+	{ S_COL_SCORE  , FALSE },
 	{ S_COL_LOCKED , FALSE },
 	{ S_COL_TAGS   , FALSE },
 };

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list