summaryrefslogtreecommitdiff
path: root/settings
diff options
context:
space:
mode:
authorSimon Steinbeiss <simon.steinbeiss@elfenbeinturm.at>2019-06-22 00:41:13 +0200
committerSimon Steinbeiss <simon.steinbeiss@elfenbeinturm.at>2019-06-22 00:41:13 +0200
commit811b169c69016bd60b4a0652c94e966cf3000ee8 (patch)
tree901d10ee7b5a961ec3d4208b366476c5925adfd8 /settings
parent73e1213825cc882c932aafb016f8a13f97c17d34 (diff)
downloadxfce4-session-811b169c69016bd60b4a0652c94e966cf3000ee8.tar.gz
Improve layout of autostart add/edit dialogs
Diffstat (limited to 'settings')
-rw-r--r--settings/xfae-dialog.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/settings/xfae-dialog.c b/settings/xfae-dialog.c
index c94569de..4a426fa4 100644
--- a/settings/xfae-dialog.c
+++ b/settings/xfae-dialog.c
@@ -74,20 +74,22 @@ xfae_dialog_init (XfaeDialog *dialog)
guint i;
gtk_dialog_add_buttons (GTK_DIALOG (dialog),
- _("Cancel"), GTK_RESPONSE_CANCEL,
- _("OK"), GTK_RESPONSE_OK,
+ _("_Cancel"), GTK_RESPONSE_CANCEL,
+ _("_OK"), GTK_RESPONSE_OK,
NULL);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
gtk_dialog_set_response_sensitive (GTK_DIALOG (dialog), GTK_RESPONSE_OK, FALSE);
gtk_window_set_title (GTK_WINDOW (dialog), _("Add application"));
content_area = gtk_dialog_get_content_area (GTK_DIALOG (dialog));
+ gtk_container_set_border_width (GTK_CONTAINER (content_area), 6);
grid = g_object_new (GTK_TYPE_GRID,
"row-spacing", 6,
"column-spacing", 12,
NULL);
gtk_container_add (GTK_CONTAINER (content_area), grid);
+ gtk_container_set_border_width (GTK_CONTAINER (grid), 6);
gtk_widget_show (grid);
label = g_object_new (GTK_TYPE_LABEL,