[Commits] [SCM] claws branch, master, updated. 3.18.0-40-g074f7e60c

wwp at claws-mail.org wwp at claws-mail.org
Tue Aug 24 21:07:52 UTC 2021


The branch, master has been updated
       via  074f7e60c16594824b05a686d5156f82cca833f3 (commit)
      from  b7f9ed3b2aa4a088e80ce67ab9568c9b847d3c4e (commit)

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


- Log -----------------------------------------------------------------
commit 074f7e60c16594824b05a686d5156f82cca833f3
Author: wwp <subscript at free.fr>
Date:   Tue Aug 24 23:07:46 2021 +0200

    Add more missing tooltips.

diff --git a/src/account.c b/src/account.c
index b72762ccd..c61aab5f5 100644
--- a/src/account.c
+++ b/src/account.c
@@ -784,24 +784,32 @@ 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_from_stock (GTK_STOCK_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 = gtk_button_new_from_stock(GTK_STOCK_DELETE);
 	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(down_btn,
+			_("Delete the selected account from the list"));
 
 	clone_btn = gtk_button_new_from_stock(GTK_STOCK_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 = gtk_button_new_from_stock(GTK_STOCK_GO_DOWN);
 	gtk_widget_show (down_btn);
diff --git a/src/edittags.c b/src/edittags.c
index c53653e66..94504c33c 100644
--- a/src/edittags.c
+++ b/src/edittags.c
@@ -563,22 +563,26 @@ static void apply_window_create(void)
 
 	vbox1 = gtk_vbox_new(FALSE, 6);
 	hbox1 = gtk_hbox_new(FALSE, 6);
-	
+
 	new_tag_label = gtk_label_new(_("New tag:"));
 	gtk_misc_set_alignment(GTK_MISC(new_tag_label), 0, 0.5);
 	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 = gtk_button_new_from_stock(GTK_STOCK_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 = gtk_button_new_from_stock(GTK_STOCK_DELETE);
 	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_from_stock(GTK_STOCK_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 d6ff428b0..45b2c07db 100644
--- a/src/gtk/foldersort.c
+++ b/src/gtk/foldersort.c
@@ -323,10 +323,14 @@ void foldersort_open()
 	moveup_btn = gtk_button_new_from_stock(GTK_STOCK_GO_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 =  gtk_button_new_from_stock(GTK_STOCK_GO_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