[Commits] [SCM] claws branch, master, updated. 3.16.0-24-g93eaaa9

mones at claws-mail.org mones at claws-mail.org
Tue Jan 23 00:25:50 CET 2018


The branch, master has been updated
       via  93eaaa941d8914bfc95d0b77da0f698dc719bcbd (commit)
      from  ea987497157612319b18293a32553d080b3db180 (commit)

Summary of changes:
 src/prefs_receive.c |   17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)


- Log -----------------------------------------------------------------
commit 93eaaa941d8914bfc95d0b77da0f698dc719bcbd
Author: Ricardo Mones <ricardo at mones.org>
Date:   Tue Jan 23 00:24:36 2018 +0100

    Move syntax help after entry

diff --git a/src/prefs_receive.c b/src/prefs_receive.c
index d1f04fb..83fc3f9 100644
--- a/src/prefs_receive.c
+++ b/src/prefs_receive.c
@@ -126,7 +126,8 @@ static void prefs_receive_create_widget(PrefsPage *_page, GtkWindow *window,
 	GtkWidget *checkbtn_newmail_manu;
 	GtkWidget *entry_newmail_notify_cmd;
 	GtkWidget *label_newmail_notify_cmd;
-	
+	GtkWidget *label_newmail_notify_cmd_syntax;
+
 	GtkWidget *label_recvdialog;
 	GtkListStore *menu;
 	GtkTreeIter iter;
@@ -262,10 +263,8 @@ static void prefs_receive_create_widget(PrefsPage *_page, GtkWindow *window,
 	gtk_box_pack_start (GTK_BOX (vbox3), hbox_newmail_notify, FALSE, 
 			    FALSE, 0);
 
-	label_newmail_notify_cmd = gtk_label_new (_("Command to execute:\n"
-						    "(use %d as number of new "
-						    "mails)"));
-	gtk_label_set_justify(GTK_LABEL(label_newmail_notify_cmd), 
+	label_newmail_notify_cmd = gtk_label_new (_("Command to execute"));
+	gtk_label_set_justify(GTK_LABEL(label_newmail_notify_cmd),
 			      GTK_JUSTIFY_RIGHT);
 	gtk_widget_show (label_newmail_notify_cmd);
 	gtk_box_pack_start (GTK_BOX (hbox_newmail_notify), 
@@ -273,9 +272,15 @@ static void prefs_receive_create_widget(PrefsPage *_page, GtkWindow *window,
 
 	entry_newmail_notify_cmd = gtk_entry_new ();
 	gtk_widget_show (entry_newmail_notify_cmd);
-	gtk_box_pack_start (GTK_BOX (hbox_newmail_notify), 
+	gtk_box_pack_start (GTK_BOX (hbox_newmail_notify),
 			    entry_newmail_notify_cmd, TRUE, TRUE, 0);
 
+	label_newmail_notify_cmd_syntax =  gtk_label_new (_("Use %d as number of new mails"));
+	gtk_widget_show (label_newmail_notify_cmd_syntax);
+	gtkut_widget_set_small_font_size (label_newmail_notify_cmd_syntax);
+	gtk_box_pack_start (GTK_BOX (hbox_newmail_notify),
+			    label_newmail_notify_cmd_syntax, FALSE, FALSE, 0);
+
 	gtk_widget_set_sensitive(hbox_newmail_notify, 
 				 prefs_common.newmail_notify_auto || 
 				 prefs_common.newmail_notify_manu);

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list