diff options
author | Simon Steinbeiss <simon.steinbeiss@elfenbeinturm.at> | 2021-05-04 09:16:50 +0200 |
---|---|---|
committer | Simon Steinbeiss <simon.steinbeiss@elfenbeinturm.at> | 2021-05-04 09:19:45 +0200 |
commit | 4bc8616f60385d4f031184293b7c55771606c81d (patch) | |
tree | 67b3c891d97da354e85cb93cbfd0fcdbe84e52e1 /settings | |
parent | a606d625badcb3f7f7ff8207e70c6d2f63be7d26 (diff) | |
download | xfce4-session-4bc8616f60385d4f031184293b7c55771606c81d.tar.gz |
Add labels to inline toolbar buttons
For consistency we use labels in all of our inline toolbar buttons.
Diffstat (limited to 'settings')
-rw-r--r-- | settings/xfae-window.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/settings/xfae-window.c b/settings/xfae-window.c index a9ebd376..5f3d80ae 100644 --- a/settings/xfae-window.c +++ b/settings/xfae-window.c @@ -238,7 +238,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 (); + button = gtk_button_new_with_label (_("Add")); 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")); @@ -247,7 +247,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 (); + button = gtk_button_new_with_label (_("Remove")); 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")); @@ -260,7 +260,7 @@ xfae_window_init (XfaeWindow *window) G_CALLBACK (xfae_window_selection_changed), button); xfae_window_selection_changed (window->selection, button); - button = gtk_button_new (); + button = gtk_button_new_with_label (_("Edit")); 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")); |