forked from AuroraMiddleware/gtk
Make the dialog look like the nautilus dialog. (expander_activate_cb): get
Tue Feb 24 01:41:30 2004 Jonathan Blandford <jrb@gnome.org> * gtk/gtkfilechooserdefault.c (location_popup_handler): Make the dialog look like the nautilus dialog. (expander_activate_cb): get the order correct.
This commit is contained in:
parent
ca831202f2
commit
6f75d838e8
@ -1,3 +1,9 @@
|
|||||||
|
Tue Feb 24 01:41:30 2004 Jonathan Blandford <jrb@gnome.org>
|
||||||
|
|
||||||
|
* 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 <federico@ximian.com>
|
2004-02-23 Federico Mena Quintero <federico@ximian.com>
|
||||||
|
|
||||||
* gtk/gtkfilechooserdefault.c (list_selection_changed): Call
|
* gtk/gtkfilechooserdefault.c (list_selection_changed): Call
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Tue Feb 24 01:41:30 2004 Jonathan Blandford <jrb@gnome.org>
|
||||||
|
|
||||||
|
* 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 <federico@ximian.com>
|
2004-02-23 Federico Mena Quintero <federico@ximian.com>
|
||||||
|
|
||||||
* gtk/gtkfilechooserdefault.c (list_selection_changed): Call
|
* gtk/gtkfilechooserdefault.c (list_selection_changed): Call
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Tue Feb 24 01:41:30 2004 Jonathan Blandford <jrb@gnome.org>
|
||||||
|
|
||||||
|
* 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 <federico@ximian.com>
|
2004-02-23 Federico Mena Quintero <federico@ximian.com>
|
||||||
|
|
||||||
* gtk/gtkfilechooserdefault.c (list_selection_changed): Call
|
* gtk/gtkfilechooserdefault.c (list_selection_changed): Call
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Tue Feb 24 01:41:30 2004 Jonathan Blandford <jrb@gnome.org>
|
||||||
|
|
||||||
|
* 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 <federico@ximian.com>
|
2004-02-23 Federico Mena Quintero <federico@ximian.com>
|
||||||
|
|
||||||
* gtk/gtkfilechooserdefault.c (list_selection_changed): Call
|
* gtk/gtkfilechooserdefault.c (list_selection_changed): Call
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Tue Feb 24 01:41:30 2004 Jonathan Blandford <jrb@gnome.org>
|
||||||
|
|
||||||
|
* 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 <federico@ximian.com>
|
2004-02-23 Federico Mena Quintero <federico@ximian.com>
|
||||||
|
|
||||||
* gtk/gtkfilechooserdefault.c (list_selection_changed): Call
|
* gtk/gtkfilechooserdefault.c (list_selection_changed): Call
|
||||||
|
@ -1770,9 +1770,9 @@ expander_activate_cb (GtkExpander *expander,
|
|||||||
active = gtk_expander_get_expanded (expander);
|
active = gtk_expander_get_expanded (expander);
|
||||||
|
|
||||||
if (active)
|
if (active)
|
||||||
gtk_widget_show (impl->hpaned);
|
|
||||||
else
|
|
||||||
gtk_widget_hide (impl->hpaned);
|
gtk_widget_hide (impl->hpaned);
|
||||||
|
else
|
||||||
|
gtk_widget_show (impl->hpaned);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Creates the widgets specific to Save mode */
|
/* Creates the widgets specific to Save mode */
|
||||||
@ -3552,13 +3552,17 @@ location_popup_handler (GtkFileChooserDefault *impl)
|
|||||||
dialog = gtk_dialog_new_with_buttons (_("Open Location"),
|
dialog = gtk_dialog_new_with_buttons (_("Open Location"),
|
||||||
GTK_WINDOW (toplevel),
|
GTK_WINDOW (toplevel),
|
||||||
GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_NO_SEPARATOR,
|
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_CANCEL, GTK_RESPONSE_CANCEL,
|
||||||
|
GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
|
||||||
NULL);
|
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);
|
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_ACCEPT);
|
||||||
|
|
||||||
hbox = gtk_hbox_new (FALSE, 12);
|
hbox = gtk_hbox_new (FALSE, 12);
|
||||||
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), hbox, FALSE, FALSE, 0);
|
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:"));
|
label = gtk_label_new_with_mnemonic (_("_Location:"));
|
||||||
gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
|
gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user