[Xfce4-commits] [xfce/xfce4-session] 01/01: Improve layout of autostart add/edit dialogs

noreply at xfce.org noreply at xfce.org
Sat Jun 22 00:41:27 CEST 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 811b169c69016bd60b4a0652c94e966cf3000ee8
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Sat Jun 22 00:41:13 2019 +0200

    Improve layout of autostart add/edit dialogs
---
 settings/xfae-dialog.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/settings/xfae-dialog.c b/settings/xfae-dialog.c
index c94569d..4a426fa 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,

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list