[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-79-g947a066e5

wwp at claws-mail.org wwp at claws-mail.org
Tue Aug 24 21:11:04 UTC 2021


The branch, gtk3 has been updated
       via  947a066e563599cc7046128dd2b392ee78c36d57 (commit)
      from  76fe80e6d6e9ee0966ac2e6f15730581fc39ebf2 (commit)

Summary of changes:
 src/account.c        | 14 +++++++++++++-
 src/edittags.c       | 14 +++++++++-----
 src/gtk/foldersort.c |  4 ++++
 3 files changed, 26 insertions(+), 6 deletions(-)


- Log -----------------------------------------------------------------
commit 947a066e563599cc7046128dd2b392ee78c36d57
Author: wwp <subscript at free.fr>
Date:   Tue Aug 24 23:10:55 2021 +0200

    Add missing tooltips.

diff --git a/src/account.c b/src/account.c
index e3994ffe5..f25c9ce89 100644
--- a/src/account.c
+++ b/src/account.c
@@ -783,36 +783,48 @@ static void account_edit_create(void)
 	gtk_box_pack_start (GTK_BOX (vbox2), add_btn, FALSE, FALSE, 4);
 	g_signal_connect (G_OBJECT(add_btn), "clicked",
 			  G_CALLBACK (account_add), NULL);
+	CLAWS_SET_TIP(add_btn,
+			_("Create a new account"));
 
 	edit_btn = gtk_button_new_with_mnemonic(_("_Edit"));
 	gtk_widget_show (edit_btn);
 	gtk_box_pack_start (GTK_BOX (vbox2), edit_btn, FALSE, FALSE, 4);
 	g_signal_connect (G_OBJECT(edit_btn), "clicked",
 			  G_CALLBACK (account_edit_prefs), NULL);
+	CLAWS_SET_TIP(edit_btn,
+			_("Edit preferences for the selected account"));
 
 	del_btn = gtkut_stock_button("edit-delete", _("D_elete"));
 	gtk_widget_show (del_btn);
 	gtk_box_pack_start (GTK_BOX (vbox2), del_btn, FALSE, FALSE, 4);
 	g_signal_connect (G_OBJECT(del_btn), "clicked",
 			  G_CALLBACK (account_delete), NULL);
+	CLAWS_SET_TIP(del_btn,
+			_("Delete the selected account from the list"));
 
 	clone_btn = gtkut_stock_button("edit-copy", _("_Copy"));
 	gtk_widget_show (clone_btn);
 	gtk_box_pack_start (GTK_BOX (vbox2), clone_btn, FALSE, FALSE, 4);
 	g_signal_connect(G_OBJECT(clone_btn), "clicked",
 			 G_CALLBACK(account_clone), NULL);
-	
+	CLAWS_SET_TIP(clone_btn,
+			_("Create a new copy of the selected account"));
+
 	down_btn = gtkut_stock_button("go-down", _("_Down"));
 	gtk_widget_show (down_btn);
 	gtk_box_pack_end (GTK_BOX (vbox2), down_btn, FALSE, FALSE, 4);
 	g_signal_connect (G_OBJECT(down_btn), "clicked",
 			  G_CALLBACK (account_down), NULL);
+	CLAWS_SET_TIP(down_btn,
+			_("Move the selected account down"));
 
 	up_btn = gtkut_stock_button("go-up", _("_Up"));
 	gtk_widget_show (up_btn);
 	gtk_box_pack_end (GTK_BOX (vbox2), up_btn, FALSE, FALSE, 4);
 	g_signal_connect (G_OBJECT(up_btn), "clicked",
 			  G_CALLBACK (account_up), NULL);
+	CLAWS_SET_TIP(up_btn,
+			_("Move the selected account up"));
 
 	hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 8);
 	gtk_widget_show (hbox);
diff --git a/src/edittags.c b/src/edittags.c
index 5bba177cb..57923fcc4 100644
--- a/src/edittags.c
+++ b/src/edittags.c
@@ -560,22 +560,26 @@ static void apply_window_create(void)
 
 	vbox1 = gtk_box_new(GTK_ORIENTATION_VERTICAL, 6);
 	hbox1 = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6);
-	
+
 	new_tag_label = gtk_label_new(_("New tag:"));
 	gtk_label_set_xalign(GTK_LABEL(new_tag_label), 0.0);
 	gtk_box_pack_start(GTK_BOX(hbox1), new_tag_label, FALSE, FALSE, 0);
-	
+
 	new_tag_entry = gtk_entry_new();
 	gtk_box_pack_start(GTK_BOX(hbox1), new_tag_entry, FALSE, FALSE, 0);
 	g_signal_connect(G_OBJECT(new_tag_entry), "key_press_event",
 			 G_CALLBACK(apply_window_add_key_pressed), NULL);
-	
+
 	add_btn = gtkut_stock_button("list-add", _("_Add"));
 	gtk_box_pack_start(GTK_BOX(hbox1), add_btn, FALSE, FALSE, 0);
-	
+	CLAWS_SET_TIP(add_btn,
+			_("Create a new tag with name defined beside"));
+
 	del_btn = gtkut_stock_button("edit-delete", _("D_elete"));
 	gtk_box_pack_start(GTK_BOX(hbox1), del_btn, FALSE, FALSE, 0);
-	
+	CLAWS_SET_TIP(del_btn,
+			_("Delete the selected tag from the list"));
+
 	close_btn = gtk_button_new_with_mnemonic("_Close");
 	gtk_box_pack_end(GTK_BOX(hbox1), close_btn, FALSE, FALSE, 0);
 
diff --git a/src/gtk/foldersort.c b/src/gtk/foldersort.c
index e4ba7ede4..91fa1cc46 100644
--- a/src/gtk/foldersort.c
+++ b/src/gtk/foldersort.c
@@ -311,10 +311,14 @@ void foldersort_open()
 	moveup_btn = gtkut_stock_button("go-up", _("_Up"));
 	gtk_widget_show(moveup_btn);
 	gtk_box_pack_start(GTK_BOX(btn_vbox), moveup_btn, FALSE, FALSE, 0);
+	CLAWS_SET_TIP(moveup_btn,
+			_("Move the selected mailbox up"));
 
 	movedown_btn =  gtkut_stock_button("go-down", _("_Down"));
 	gtk_widget_show(movedown_btn);
 	gtk_box_pack_start(GTK_BOX(btn_vbox), movedown_btn, FALSE, FALSE, 0);
+	CLAWS_SET_TIP(movedown_btn,
+			_("Move the selected mailbox down"));
 
 	if (!geometry.min_height) {
 		geometry.min_width = 400;

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list