[network-manager-iodine] Remove action area spacing



commit a09ce60f10c0c978336663e3d1ec9280ed7e8cb7
Author: Guido Günther <agx sigxcpu org>
Date:   Mon Mar 17 20:00:26 2014 +0100

    Remove action area spacing
    
    Leave this to the theme instead.

 auth-dialog/vpn-password-dialog.c |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/auth-dialog/vpn-password-dialog.c b/auth-dialog/vpn-password-dialog.c
index 09fed44..6b5cb34 100644
--- a/auth-dialog/vpn-password-dialog.c
+++ b/auth-dialog/vpn-password-dialog.c
@@ -173,7 +173,7 @@ vpn_password_dialog_new (const char *title,
        GtkWidget *vbox;
        GtkWidget *main_vbox;
        GtkWidget *dialog_icon;
-       GtkBox *content, *action_area;
+       GtkBox *content;
 
        dialog = gtk_widget_new (VPN_TYPE_PASSWORD_DIALOG, NULL);
        if (!dialog)
@@ -190,13 +190,6 @@ vpn_password_dialog_new (const char *title,
        gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
 
        content = GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog)));
-       action_area = GTK_BOX (gtk_dialog_get_action_area (GTK_DIALOG (dialog)));
-
-       /* Setup the dialog */
-       gtk_container_set_border_width (GTK_CONTAINER (dialog), 5);
-       gtk_box_set_spacing (content, 2); /* 2 * 5 + 2 = 12 */
-       gtk_container_set_border_width (GTK_CONTAINER (action_area), 5);
-       gtk_box_set_spacing (action_area, 6);
 
        gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_CENTER);
        gtk_window_set_modal (GTK_WINDOW (dialog), TRUE);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]