aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/addressbook-config.c
diff options
context:
space:
mode:
authorRodney Dawes <dobey@novell.com>2004-08-03 02:03:04 +0800
committerRodney Dawes <dobey@src.gnome.org>2004-08-03 02:03:04 +0800
commit697f8281271c5d992829c83ba54c4f45ec62a0b0 (patch)
tree2b7ff238c0edb8891a73ad9ce0433f191eb95e26 /addressbook/gui/component/addressbook-config.c
parent1b83ca38ebf6c8f45bd4d2fc32bdf2055824c4b2 (diff)
downloadgsoc2013-evolution-697f8281271c5d992829c83ba54c4f45ec62a0b0.tar
gsoc2013-evolution-697f8281271c5d992829c83ba54c4f45ec62a0b0.tar.gz
gsoc2013-evolution-697f8281271c5d992829c83ba54c4f45ec62a0b0.tar.bz2
gsoc2013-evolution-697f8281271c5d992829c83ba54c4f45ec62a0b0.tar.lz
gsoc2013-evolution-697f8281271c5d992829c83ba54c4f45ec62a0b0.tar.xz
gsoc2013-evolution-697f8281271c5d992829c83ba54c4f45ec62a0b0.tar.zst
gsoc2013-evolution-697f8281271c5d992829c83ba54c4f45ec62a0b0.zip
Make the main dialog here be an actual GtkDialog instead of a GtkWindow
2004-08-02 Rodney Dawes <dobey@novell.com> * gui/component/ldap-config.glade: Make the main dialog here be an actual GtkDialog instead of a GtkWindow Fix up a few small spacing issues with the UI Change "Contacts Group" to "Address Book" * gui/component/addressbook-config.c (query_for_supported_bases): Use gtk_widget_ensure_style instead of gtk_widget_realize (addressbook_add_server_dialog): Use gtk_widget_ensure_style on the dialog and fix the spacing and border width of the dialog containers Fixes #61365 svn path=/trunk/; revision=26795
Diffstat (limited to 'addressbook/gui/component/addressbook-config.c')
-rw-r--r--addressbook/gui/component/addressbook-config.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/addressbook/gui/component/addressbook-config.c b/addressbook/gui/component/addressbook-config.c
index 60d0afe432..6c1d1fc9cc 100644
--- a/addressbook/gui/component/addressbook-config.c
+++ b/addressbook/gui/component/addressbook-config.c
@@ -716,7 +716,7 @@ query_for_supported_bases (GtkWidget *button, AddressbookSourceDialog *sdialog)
gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (sdialog->window));
gtk_window_set_modal (GTK_WINDOW (dialog), TRUE);
- gtk_widget_realize (dialog);
+ gtk_widget_ensure_style (dialog);
gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (dialog)->vbox), 0);
gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (dialog)->action_area), 12);
@@ -933,6 +933,10 @@ addressbook_add_server_dialog (void)
sdialog->window = glade_xml_get_widget (sdialog->gui, "account-add-window");
+ gtk_widget_ensure_style (sdialog->window);
+ gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (sdialog->window)->vbox), 0);
+ gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (sdialog->window)->action_area), 12);
+
sdialog->display_name = glade_xml_get_widget (sdialog->gui, "display-name-entry");
g_signal_connect (sdialog->display_name, "changed",
G_CALLBACK (add_folder_modify), sdialog);