summaryrefslogtreecommitdiff
path: root/settings
diff options
context:
space:
mode:
authorSimon Steinbeiss <simon.steinbeiss@elfenbeinturm.at>2019-11-05 00:57:39 +0100
committerSimon Steinbeiss <simon.steinbeiss@elfenbeinturm.at>2019-11-05 00:57:39 +0100
commit6820f93e44b7ed1d3d1548257f88ceb5d17e739f (patch)
treed011cccb8e61bf83e506bece13556010f037c344 /settings
parent59a1a8df4de9ec270f36859fc30d819a607048cf (diff)
downloadxfce4-session-6820f93e44b7ed1d3d1548257f88ceb5d17e739f.tar.gz
settings: Drop inline-toolbar button labels
Hopefully this will make them more consistent with other Xfce inline toolbars.
Diffstat (limited to 'settings')
-rw-r--r--settings/xfae-window.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/settings/xfae-window.c b/settings/xfae-window.c
index 14de842a..08bcb812 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",