From 6f75d838e8721ee62587c93f8232e660cbbbdd0b Mon Sep 17 00:00:00 2001 From: Jonathan Blandford Date: Tue, 24 Feb 2004 06:47:51 +0000 Subject: [PATCH] Make the dialog look like the nautilus dialog. (expander_activate_cb): get Tue Feb 24 01:41:30 2004 Jonathan Blandford * gtk/gtkfilechooserdefault.c (location_popup_handler): Make the dialog look like the nautilus dialog. (expander_activate_cb): get the order correct. --- ChangeLog | 6 ++++++ ChangeLog.pre-2-10 | 6 ++++++ ChangeLog.pre-2-4 | 6 ++++++ ChangeLog.pre-2-6 | 6 ++++++ ChangeLog.pre-2-8 | 6 ++++++ gtk/gtkfilechooserdefault.c | 10 +++++++--- 6 files changed, 37 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8eb92b7fd0..864d856c70 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Tue Feb 24 01:41:30 2004 Jonathan Blandford + + * gtk/gtkfilechooserdefault.c (location_popup_handler): Make the + dialog look like the nautilus dialog. + (expander_activate_cb): get the order correct. + 2004-02-23 Federico Mena Quintero * gtk/gtkfilechooserdefault.c (list_selection_changed): Call diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 8eb92b7fd0..864d856c70 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +Tue Feb 24 01:41:30 2004 Jonathan Blandford + + * gtk/gtkfilechooserdefault.c (location_popup_handler): Make the + dialog look like the nautilus dialog. + (expander_activate_cb): get the order correct. + 2004-02-23 Federico Mena Quintero * gtk/gtkfilechooserdefault.c (list_selection_changed): Call diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 8eb92b7fd0..864d856c70 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +Tue Feb 24 01:41:30 2004 Jonathan Blandford + + * gtk/gtkfilechooserdefault.c (location_popup_handler): Make the + dialog look like the nautilus dialog. + (expander_activate_cb): get the order correct. + 2004-02-23 Federico Mena Quintero * gtk/gtkfilechooserdefault.c (list_selection_changed): Call diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 8eb92b7fd0..864d856c70 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +Tue Feb 24 01:41:30 2004 Jonathan Blandford + + * gtk/gtkfilechooserdefault.c (location_popup_handler): Make the + dialog look like the nautilus dialog. + (expander_activate_cb): get the order correct. + 2004-02-23 Federico Mena Quintero * gtk/gtkfilechooserdefault.c (list_selection_changed): Call diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 8eb92b7fd0..864d856c70 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +Tue Feb 24 01:41:30 2004 Jonathan Blandford + + * gtk/gtkfilechooserdefault.c (location_popup_handler): Make the + dialog look like the nautilus dialog. + (expander_activate_cb): get the order correct. + 2004-02-23 Federico Mena Quintero * gtk/gtkfilechooserdefault.c (list_selection_changed): Call diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c index c3949d1ac0..7f1cd17fb1 100644 --- a/gtk/gtkfilechooserdefault.c +++ b/gtk/gtkfilechooserdefault.c @@ -1770,9 +1770,9 @@ expander_activate_cb (GtkExpander *expander, active = gtk_expander_get_expanded (expander); if (active) - gtk_widget_show (impl->hpaned); - else gtk_widget_hide (impl->hpaned); + else + gtk_widget_show (impl->hpaned); } /* Creates the widgets specific to Save mode */ @@ -3552,13 +3552,17 @@ location_popup_handler (GtkFileChooserDefault *impl) dialog = gtk_dialog_new_with_buttons (_("Open Location"), GTK_WINDOW (toplevel), GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_NO_SEPARATOR, - GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, + GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT, NULL); + gtk_window_set_default_size (GTK_WINDOW (dialog), 300, -1); + gtk_container_set_border_width (GTK_CONTAINER (dialog), 5); + gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (dialog)->vbox), 2); gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_ACCEPT); hbox = gtk_hbox_new (FALSE, 12); gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), hbox, FALSE, FALSE, 0); + gtk_container_set_border_width (GTK_CONTAINER (hbox), 5); label = gtk_label_new_with_mnemonic (_("_Location:")); gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);