diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-12-16 22:30:03 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-12-22 17:46:18 +0800 |
commit | 0691f67b1625f98bc403ee1fa84b5da3b862f856 (patch) | |
tree | 543efbffd8f83d4b7ee019883361e9c4061d40bc | |
parent | c98ccae7f1b293302018206dfbeae5c461c6cd15 (diff) | |
download | gsoc2013-empathy-0691f67b1625f98bc403ee1fa84b5da3b862f856.tar gsoc2013-empathy-0691f67b1625f98bc403ee1fa84b5da3b862f856.tar.gz gsoc2013-empathy-0691f67b1625f98bc403ee1fa84b5da3b862f856.tar.bz2 gsoc2013-empathy-0691f67b1625f98bc403ee1fa84b5da3b862f856.tar.lz gsoc2013-empathy-0691f67b1625f98bc403ee1fa84b5da3b862f856.tar.xz gsoc2013-empathy-0691f67b1625f98bc403ee1fa84b5da3b862f856.tar.zst gsoc2013-empathy-0691f67b1625f98bc403ee1fa84b5da3b862f856.zip |
add some padding in the edit conn settings dialog
Looks better that way.
-rw-r--r-- | src/empathy-accounts-dialog.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c index c83905654..488388c4f 100644 --- a/src/empathy-accounts-dialog.c +++ b/src/empathy-accounts-dialog.c @@ -552,7 +552,7 @@ account_dialog_create_edit_params_dialog (EmpathyAccountsDialog *dialog) { EmpathyAccountsDialogPriv *priv = GET_PRIV (dialog); EmpathyAccountSettings *settings; - GtkWidget *subdialog, *content; + GtkWidget *subdialog, *content, *content_area, *align; settings = accounts_dialog_model_get_selected_settings (dialog); @@ -581,11 +581,16 @@ account_dialog_create_edit_params_dialog (EmpathyAccountsDialog *dialog) g_signal_connect_swapped (priv->setting_widget_object, "close", G_CALLBACK (gtk_widget_destroy), subdialog); - gtk_container_add ( - GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (subdialog))), - content); + content_area = gtk_dialog_get_content_area (GTK_DIALOG (subdialog)); + + align = gtk_alignment_new (0.5, 0.5, 1, 1); + gtk_alignment_set_padding (GTK_ALIGNMENT (align), 6, 0, 6, 6); + + gtk_container_add (GTK_CONTAINER (align), content); + gtk_box_pack_start (GTK_BOX (content_area), align, TRUE, TRUE, 0); gtk_widget_show (content); + gtk_widget_show (align); gtk_widget_show (subdialog); } |