[Commits] [SCM] claws branch, master, updated. 3.15.0-182-gb2be2d2

mones at claws-mail.org mones at claws-mail.org
Sat Dec 2 21:19:00 CET 2017


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

Summary of changes:
 src/prefs_summary_column.c |   18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)


- Log -----------------------------------------------------------------
commit b2be2d2b0e588b0ef5fb496e651202ea95d968a1
Author: Ricardo Mones <ricardo at mones.org>
Date:   Sat Dec 2 21:12:39 2017 +0100

    Make column selector UI like open actions
    
    Set remove button to center column and add border to lists

diff --git a/src/prefs_summary_column.c b/src/prefs_summary_column.c
index 54ebd7b..7ea7daa 100644
--- a/src/prefs_summary_column.c
+++ b/src/prefs_summary_column.c
@@ -266,8 +266,9 @@ static void prefs_summary_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_summary_column_list_view_create
 				(_("Hidden columns"));
 	g_signal_connect(G_OBJECT(stock_list_view), "cursor-changed",
@@ -288,6 +289,13 @@ static void prefs_summary_column_create(void)
 	g_signal_connect(G_OBJECT(add_btn), "clicked",
 			 G_CALLBACK(prefs_summary_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_summary_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);
@@ -299,6 +307,8 @@ static void prefs_summary_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_summary_column_list_view_create
 				(_("Displayed columns"));
@@ -313,10 +323,6 @@ static void prefs_summary_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);
@@ -325,8 +331,6 @@ static void prefs_summary_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_summary_column_remove), NULL);
 	g_signal_connect(G_OBJECT(up_btn), "clicked",
 			 G_CALLBACK(prefs_summary_column_up), NULL);
 	g_signal_connect(G_OBJECT(down_btn), "clicked",

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list