From a4cc4cd1dade1aa80a5794ca1d71eff5957cc941 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Wed, 19 Nov 2003 20:45:17 +0000 Subject: [PATCH] Turn off the dialog's separator (thanks to Iain Holmes). 2003-11-19 Federico Mena Quintero * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_init): Turn off the dialog's separator (thanks to Iain Holmes). --- ChangeLog | 15 +++++++++++++++ ChangeLog.pre-2-10 | 15 +++++++++++++++ ChangeLog.pre-2-4 | 15 +++++++++++++++ ChangeLog.pre-2-6 | 15 +++++++++++++++ ChangeLog.pre-2-8 | 15 +++++++++++++++ gtk/gtkfilechooserdefault.c | 7 +++---- gtk/gtkfilechooserdialog.c | 2 ++ 7 files changed, 80 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index c5bfee466b..c18a4850d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-11-19 Federico Mena Quintero + + * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_init): Turn + off the dialog's separator (thanks to Iain Holmes). + Wed Nov 19 18:15:00 2003 Soeren Sandmann * gtk/gtkmenu.c (DEFAULT_POPUP_DELAY): set to 200 instead of 225 @@ -10,6 +15,16 @@ Wed Nov 19 18:11:08 2003 Soeren Sandmann "ItemState" field indicating the overflowed-ness etc. of the item. (gtk_toolbar_size_allocate): update the field here. +2003-11-19 Federico Mena Quintero + + * gtk/gtkfilechooserdefault.c (create_filter): Don't add padding + to the alignment. Use the HIG-specified spacing between the + filter label and the combo. + (create_filename_entry): Use HIG-specified spacing between the + location label and the entry. + (gtk_file_chooser_default_constructor): Don't use vertical padding + around the filename entry. + 2003-11-19 Federico Mena Quintero * gtk/gtkfilesystem.h (struct _GtkFileSystemIface): Added a diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index c5bfee466b..c18a4850d8 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2003-11-19 Federico Mena Quintero + + * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_init): Turn + off the dialog's separator (thanks to Iain Holmes). + Wed Nov 19 18:15:00 2003 Soeren Sandmann * gtk/gtkmenu.c (DEFAULT_POPUP_DELAY): set to 200 instead of 225 @@ -10,6 +15,16 @@ Wed Nov 19 18:11:08 2003 Soeren Sandmann "ItemState" field indicating the overflowed-ness etc. of the item. (gtk_toolbar_size_allocate): update the field here. +2003-11-19 Federico Mena Quintero + + * gtk/gtkfilechooserdefault.c (create_filter): Don't add padding + to the alignment. Use the HIG-specified spacing between the + filter label and the combo. + (create_filename_entry): Use HIG-specified spacing between the + location label and the entry. + (gtk_file_chooser_default_constructor): Don't use vertical padding + around the filename entry. + 2003-11-19 Federico Mena Quintero * gtk/gtkfilesystem.h (struct _GtkFileSystemIface): Added a diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index c5bfee466b..c18a4850d8 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +2003-11-19 Federico Mena Quintero + + * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_init): Turn + off the dialog's separator (thanks to Iain Holmes). + Wed Nov 19 18:15:00 2003 Soeren Sandmann * gtk/gtkmenu.c (DEFAULT_POPUP_DELAY): set to 200 instead of 225 @@ -10,6 +15,16 @@ Wed Nov 19 18:11:08 2003 Soeren Sandmann "ItemState" field indicating the overflowed-ness etc. of the item. (gtk_toolbar_size_allocate): update the field here. +2003-11-19 Federico Mena Quintero + + * gtk/gtkfilechooserdefault.c (create_filter): Don't add padding + to the alignment. Use the HIG-specified spacing between the + filter label and the combo. + (create_filename_entry): Use HIG-specified spacing between the + location label and the entry. + (gtk_file_chooser_default_constructor): Don't use vertical padding + around the filename entry. + 2003-11-19 Federico Mena Quintero * gtk/gtkfilesystem.h (struct _GtkFileSystemIface): Added a diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index c5bfee466b..c18a4850d8 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +2003-11-19 Federico Mena Quintero + + * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_init): Turn + off the dialog's separator (thanks to Iain Holmes). + Wed Nov 19 18:15:00 2003 Soeren Sandmann * gtk/gtkmenu.c (DEFAULT_POPUP_DELAY): set to 200 instead of 225 @@ -10,6 +15,16 @@ Wed Nov 19 18:11:08 2003 Soeren Sandmann "ItemState" field indicating the overflowed-ness etc. of the item. (gtk_toolbar_size_allocate): update the field here. +2003-11-19 Federico Mena Quintero + + * gtk/gtkfilechooserdefault.c (create_filter): Don't add padding + to the alignment. Use the HIG-specified spacing between the + filter label and the combo. + (create_filename_entry): Use HIG-specified spacing between the + location label and the entry. + (gtk_file_chooser_default_constructor): Don't use vertical padding + around the filename entry. + 2003-11-19 Federico Mena Quintero * gtk/gtkfilesystem.h (struct _GtkFileSystemIface): Added a diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index c5bfee466b..c18a4850d8 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2003-11-19 Federico Mena Quintero + + * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_init): Turn + off the dialog's separator (thanks to Iain Holmes). + Wed Nov 19 18:15:00 2003 Soeren Sandmann * gtk/gtkmenu.c (DEFAULT_POPUP_DELAY): set to 200 instead of 225 @@ -10,6 +15,16 @@ Wed Nov 19 18:11:08 2003 Soeren Sandmann "ItemState" field indicating the overflowed-ness etc. of the item. (gtk_toolbar_size_allocate): update the field here. +2003-11-19 Federico Mena Quintero + + * gtk/gtkfilechooserdefault.c (create_filter): Don't add padding + to the alignment. Use the HIG-specified spacing between the + filter label and the combo. + (create_filename_entry): Use HIG-specified spacing between the + location label and the entry. + (gtk_file_chooser_default_constructor): Don't use vertical padding + around the filename entry. + 2003-11-19 Federico Mena Quintero * gtk/gtkfilesystem.h (struct _GtkFileSystemIface): Added a diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c index 16232bc35d..bc43d1de34 100644 --- a/gtk/gtkfilechooserdefault.c +++ b/gtk/gtkfilechooserdefault.c @@ -764,10 +764,9 @@ create_filter (GtkFileChooserDefault *impl) GtkWidget *label; impl->filter_alignment = gtk_alignment_new (0.0, 0.5, 0.0, 1.0); - gtk_alignment_set_padding (GTK_ALIGNMENT (impl->filter_alignment), 0, 6, 0, 0); /* Don't show filter initially -- don't gtk_widget_show() the filter_alignment here */ - hbox = gtk_hbox_new (FALSE, 6); + hbox = gtk_hbox_new (FALSE, 12); gtk_container_add (GTK_CONTAINER (impl->filter_alignment), hbox); gtk_widget_show (hbox); @@ -1123,7 +1122,7 @@ create_filename_entry (GtkFileChooserDefault *impl) GtkWidget *hbox; GtkWidget *label; - hbox = gtk_hbox_new (FALSE, 6); + hbox = gtk_hbox_new (FALSE, 12); gtk_widget_show (hbox); label = gtk_label_new_with_mnemonic (_("_Location:")); @@ -1225,7 +1224,7 @@ gtk_file_chooser_default_constructor (GType type, gtk_table_attach (GTK_TABLE (table), entry_widget, 0, 2, 2, 3, GTK_EXPAND | GTK_FILL, 0, - 0, 6); + 0, 0); /* Preview */ diff --git a/gtk/gtkfilechooserdialog.c b/gtk/gtkfilechooserdialog.c index f5b9d1b8f5..91b09fd8b2 100644 --- a/gtk/gtkfilechooserdialog.c +++ b/gtk/gtkfilechooserdialog.c @@ -112,6 +112,8 @@ gtk_file_chooser_dialog_init (GtkFileChooserDialog *dialog) GTK_TYPE_FILE_CHOOSER_DIALOG, GtkFileChooserDialogPrivate); dialog->priv = priv; + + gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE); } /* Callback used when the user activates a file in the file chooser widget */ -- 2.26.2