diff options
author | Anna Marie Dirks <anna@ximian.com> | 2003-04-22 03:44:39 +0800 |
---|---|---|
committer | Anna Dirks <anna@src.gnome.org> | 2003-04-22 03:44:39 +0800 |
commit | fa118783407dcbd061b72f97b71d5be68866df07 (patch) | |
tree | 163066b0586d96a4e80c6b54211ec34dd3bd5645 | |
parent | a0efb21e9fda15e1bcb33d315a962e85bdc75169 (diff) | |
download | gsoc2013-evolution-fa118783407dcbd061b72f97b71d5be68866df07.tar.gz gsoc2013-evolution-fa118783407dcbd061b72f97b71d5be68866df07.tar.zst gsoc2013-evolution-fa118783407dcbd061b72f97b71d5be68866df07.zip |
Added appropriate border width to the folder selection dialog. Fixes
2003-04-21 Anna Marie Dirks <anna@ximian.com>
* e-shell-folder-selection-dialog.c
(e_shell_folder_selection_dialog_construct): Added appropriate border
width to the folder selection dialog. Fixes 41022, 41146, 41147,
41010, partially fixes 41025.
svn path=/trunk/; revision=20909
-rw-r--r-- | shell/ChangeLog | 8 | ||||
-rw-r--r-- | shell/e-shell-folder-selection-dialog.c | 17 |
2 files changed, 21 insertions, 4 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index 8aacf112f3..aae43847ff 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,4 +1,12 @@ 2003-04-21 Anna Marie Dirks <anna@ximian.com> + + * e-shell-folder-selection-dialog.c + (e_shell_folder_selection_dialog_construct): Added appropriate border + width to the folder selection dialog. Fixes 41022, 41146, 41147, + 41010, partially fixes 41025. + + +2003-04-21 Anna Marie Dirks <anna@ximian.com> * glade/evolution-startup-wizard.glade: Added spacing/padding to first-run dialog. Fixes 41242. diff --git a/shell/e-shell-folder-selection-dialog.c b/shell/e-shell-folder-selection-dialog.c index b378b44ec7..3b707c7ab2 100644 --- a/shell/e-shell-folder-selection-dialog.c +++ b/shell/e-shell-folder-selection-dialog.c @@ -403,6 +403,7 @@ e_shell_folder_selection_dialog_construct (EShellFolderSelectionDialog *folder_s gtk_window_set_default_size (GTK_WINDOW (folder_selection_dialog), 350, 300); gtk_window_set_modal (GTK_WINDOW (folder_selection_dialog), TRUE); gtk_window_set_title (GTK_WINDOW (folder_selection_dialog), title); + gtk_container_set_border_width (GTK_CONTAINER (folder_selection_dialog), 6); if (allow_creation) gtk_dialog_add_buttons (GTK_DIALOG (folder_selection_dialog), @@ -425,10 +426,15 @@ e_shell_folder_selection_dialog_construct (EShellFolderSelectionDialog *folder_s if (caption != NULL) { caption_label = gtk_label_new (caption); + gtk_label_set_justify (GTK_LABEL (caption_label), GTK_JUSTIFY_LEFT); gtk_widget_show (caption_label); gtk_box_pack_start (GTK_BOX (GTK_DIALOG (folder_selection_dialog)->vbox), - caption_label, FALSE, TRUE, 2); + caption_label, FALSE, TRUE, 6); + gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (folder_selection_dialog)->vbox), + 6); + + } /* Set up the storage set and its view. */ @@ -473,10 +479,13 @@ e_shell_folder_selection_dialog_construct (EShellFolderSelectionDialog *folder_s GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); gtk_container_add (GTK_CONTAINER (scrolled_window), priv->storage_set_view); - + gtk_box_pack_start (GTK_BOX (GTK_DIALOG (folder_selection_dialog)->vbox), - scrolled_window, TRUE, TRUE, 2); - + scrolled_window, TRUE, TRUE, 6); + gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (folder_selection_dialog)->vbox), 6); + + gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (folder_selection_dialog)->vbox), 6); + gtk_widget_show (priv->storage_set_view); gtk_widget_show (scrolled_window); |