]> Pileus Git - ~andy/gtk/commitdiff
Turn off the dialog's separator (thanks to Iain Holmes).
authorFederico Mena Quintero <federico@ximian.com>
Wed, 19 Nov 2003 20:45:17 +0000 (20:45 +0000)
committerFederico Mena Quintero <federico@src.gnome.org>
Wed, 19 Nov 2003 20:45:17 +0000 (20:45 +0000)
2003-11-19  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_init): Turn
off the dialog's separator (thanks to Iain Holmes).

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkfilechooserdefault.c
gtk/gtkfilechooserdialog.c

index c5bfee466b8175ab643adba5fa899cf1a3fb7b48..c18a4850d84d84580e25a9a8b4cbd85a84c90c09 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-11-19  Federico Mena Quintero  <federico@ximian.com>
+
+       * 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  <sandmann@daimi.au.dk>
 
        * 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  <sandmann@daimi.au.dk>
        "ItemState" field indicating the overflowed-ness etc. of the item.
        (gtk_toolbar_size_allocate): update the field here.
 
+2003-11-19  Federico Mena Quintero  <federico@ximian.com>
+
+       * 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  <federico@ximian.com>
 
        * gtk/gtkfilesystem.h (struct _GtkFileSystemIface): Added a
index c5bfee466b8175ab643adba5fa899cf1a3fb7b48..c18a4850d84d84580e25a9a8b4cbd85a84c90c09 100644 (file)
@@ -1,3 +1,8 @@
+2003-11-19  Federico Mena Quintero  <federico@ximian.com>
+
+       * 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  <sandmann@daimi.au.dk>
 
        * 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  <sandmann@daimi.au.dk>
        "ItemState" field indicating the overflowed-ness etc. of the item.
        (gtk_toolbar_size_allocate): update the field here.
 
+2003-11-19  Federico Mena Quintero  <federico@ximian.com>
+
+       * 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  <federico@ximian.com>
 
        * gtk/gtkfilesystem.h (struct _GtkFileSystemIface): Added a
index c5bfee466b8175ab643adba5fa899cf1a3fb7b48..c18a4850d84d84580e25a9a8b4cbd85a84c90c09 100644 (file)
@@ -1,3 +1,8 @@
+2003-11-19  Federico Mena Quintero  <federico@ximian.com>
+
+       * 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  <sandmann@daimi.au.dk>
 
        * 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  <sandmann@daimi.au.dk>
        "ItemState" field indicating the overflowed-ness etc. of the item.
        (gtk_toolbar_size_allocate): update the field here.
 
+2003-11-19  Federico Mena Quintero  <federico@ximian.com>
+
+       * 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  <federico@ximian.com>
 
        * gtk/gtkfilesystem.h (struct _GtkFileSystemIface): Added a
index c5bfee466b8175ab643adba5fa899cf1a3fb7b48..c18a4850d84d84580e25a9a8b4cbd85a84c90c09 100644 (file)
@@ -1,3 +1,8 @@
+2003-11-19  Federico Mena Quintero  <federico@ximian.com>
+
+       * 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  <sandmann@daimi.au.dk>
 
        * 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  <sandmann@daimi.au.dk>
        "ItemState" field indicating the overflowed-ness etc. of the item.
        (gtk_toolbar_size_allocate): update the field here.
 
+2003-11-19  Federico Mena Quintero  <federico@ximian.com>
+
+       * 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  <federico@ximian.com>
 
        * gtk/gtkfilesystem.h (struct _GtkFileSystemIface): Added a
index c5bfee466b8175ab643adba5fa899cf1a3fb7b48..c18a4850d84d84580e25a9a8b4cbd85a84c90c09 100644 (file)
@@ -1,3 +1,8 @@
+2003-11-19  Federico Mena Quintero  <federico@ximian.com>
+
+       * 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  <sandmann@daimi.au.dk>
 
        * 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  <sandmann@daimi.au.dk>
        "ItemState" field indicating the overflowed-ness etc. of the item.
        (gtk_toolbar_size_allocate): update the field here.
 
+2003-11-19  Federico Mena Quintero  <federico@ximian.com>
+
+       * 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  <federico@ximian.com>
 
        * gtk/gtkfilesystem.h (struct _GtkFileSystemIface): Added a
index 16232bc35d05f87bb03c6aec6e76bab1c443b63b..bc43d1de347b787bf66f1efa795e35b9af9e12ec 100644 (file)
@@ -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 */
 
index f5b9d1b8f5334feb76c58db297ca294b22519848..91b09fd8b2c65ff208ed418a3308fb6e864d8baf 100644 (file)
@@ -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 */