[Xfce4-commits] [xfce/xfce4-session] 02/02: settings: Drop inline-toolbar button labels
noreply at xfce.org
noreply at xfce.org
Tue Nov 5 00:58:04 CET 2019
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 6820f93e44b7ed1d3d1548257f88ceb5d17e739f
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Tue Nov 5 00:57:39 2019 +0100
settings: Drop inline-toolbar button labels
Hopefully this will make them more consistent with other Xfce inline
toolbars.
---
settings/xfae-window.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/settings/xfae-window.c b/settings/xfae-window.c
index 14de842..08bcb81 100644
--- a/settings/xfae-window.c
+++ b/settings/xfae-window.c
@@ -214,7 +214,7 @@ xfae_window_init (XfaeWindow *window)
gtk_style_context_add_class (gtk_widget_get_style_context (bbox), "inline-toolbar");
gtk_widget_show (bbox);
- button = gtk_button_new_with_label (_("Add"));
+ 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);
g_signal_connect_swapped (G_OBJECT (button), "clicked",
@@ -222,7 +222,7 @@ xfae_window_init (XfaeWindow *window)
gtk_box_pack_start (GTK_BOX (bbox), button, FALSE, FALSE, 0);
gtk_widget_show (button);
- button = gtk_button_new_with_label (_("Remove"));
+ 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);
g_signal_connect_swapped (G_OBJECT (button), "clicked",
@@ -234,7 +234,7 @@ xfae_window_init (XfaeWindow *window)
G_CALLBACK (xfae_window_selection_changed), button);
xfae_window_selection_changed (window->selection, button);
- button = gtk_button_new_with_label (_("Edit"));
+ 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);
g_signal_connect_swapped (G_OBJECT (button), "clicked",
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list