[Xfce4-commits] [xfce/xfce4-session] 01/01: settings: Add tooltips to image-buttons
noreply at xfce.org
noreply at xfce.org
Tue Jan 14 01:16:35 CET 2020
This is an automated email from the git hooks/post-receive script.
o c h o s i p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/xfce4-session.
commit e0efa80fc927db383f97b9f9fe6ad0b274bfc715
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Tue Jan 14 01:16:18 2020 +0100
settings: Add tooltips to image-buttons
---
settings/xfae-window.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/settings/xfae-window.c b/settings/xfae-window.c
index 08bcb81..a4dc0ed 100644
--- a/settings/xfae-window.c
+++ b/settings/xfae-window.c
@@ -217,6 +217,7 @@ xfae_window_init (XfaeWindow *window)
button = gtk_button_new ();
img = gtk_image_new_from_icon_name ("list-add-symbolic", GTK_ICON_SIZE_BUTTON);
gtk_button_set_image (GTK_BUTTON (button), img);
+ gtk_widget_set_tooltip_text (GTK_WIDGET (button), _("Add application"));
g_signal_connect_swapped (G_OBJECT (button), "clicked",
G_CALLBACK (xfae_window_add), window);
gtk_box_pack_start (GTK_BOX (bbox), button, FALSE, FALSE, 0);
@@ -225,6 +226,7 @@ xfae_window_init (XfaeWindow *window)
button = gtk_button_new ();
img = gtk_image_new_from_icon_name ("list-remove-symbolic", GTK_ICON_SIZE_BUTTON);
gtk_button_set_image (GTK_BUTTON (button), img);
+ gtk_widget_set_tooltip_text (GTK_WIDGET (button), _("Remove application"));
g_signal_connect_swapped (G_OBJECT (button), "clicked",
G_CALLBACK (xfae_window_remove), window);
gtk_box_pack_start (GTK_BOX (bbox), button, FALSE, FALSE, 0);
@@ -237,6 +239,7 @@ xfae_window_init (XfaeWindow *window)
button = gtk_button_new ();
img = gtk_image_new_from_icon_name ("document-edit-symbolic", GTK_ICON_SIZE_BUTTON);
gtk_button_set_image (GTK_BUTTON (button), img);
+ gtk_widget_set_tooltip_text (GTK_WIDGET (button), _("Edit application"));
g_signal_connect_swapped (G_OBJECT (button), "clicked",
G_CALLBACK (xfae_window_edit), window);
gtk_box_pack_start (GTK_BOX (bbox), button, FALSE, FALSE, 0);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list