mirror of
https://gitlab.gnome.org/GNOME/glade.git
synced 2025-10-09 00:07:00 -04:00
HIG fixes in button order in the File Chooser
This commit is contained in:
parent
d1b854589e
commit
b727318957
@ -2,6 +2,12 @@
|
|||||||
|
|
||||||
* src/glade-widget.c (glade_widget_write_child): don't save empty packing tag.
|
* src/glade-widget.c (glade_widget_write_child): don't save empty packing tag.
|
||||||
|
|
||||||
|
2004-05-17 Archit Baweja <bighead@users.sourceforge.net>
|
||||||
|
|
||||||
|
* src/glade-utils.c (glade_util_file_chooser_new): the order of buttons
|
||||||
|
should be Cancel then Open/Save, not the other way around (as per HIG)
|
||||||
|
Fixed :-).
|
||||||
|
|
||||||
2004-05-16 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
2004-05-16 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
|
||||||
|
|
||||||
* src/glade-menu-editor.c, glade-project-window.c, glade-utils.[ch]:
|
* src/glade-menu-editor.c, glade-project-window.c, glade-utils.[ch]:
|
||||||
|
@ -308,8 +308,9 @@ glade_util_file_chooser_new (const gchar *title, GtkWindow *parent,
|
|||||||
{
|
{
|
||||||
g_assert (action == GTK_FILE_CHOOSER_ACTION_OPEN || action == GTK_FILE_CHOOSER_ACTION_SAVE);
|
g_assert (action == GTK_FILE_CHOOSER_ACTION_OPEN || action == GTK_FILE_CHOOSER_ACTION_SAVE);
|
||||||
return gtk_file_chooser_dialog_new (title, parent, action,
|
return gtk_file_chooser_dialog_new (title, parent, action,
|
||||||
|
GTK_STOCK_CANCEL,
|
||||||
|
GTK_RESPONSE_CANCEL,
|
||||||
action == GTK_FILE_CHOOSER_ACTION_OPEN ? GTK_STOCK_OPEN : GTK_STOCK_SAVE, GTK_RESPONSE_OK,
|
action == GTK_FILE_CHOOSER_ACTION_OPEN ? GTK_STOCK_OPEN : GTK_STOCK_SAVE, GTK_RESPONSE_OK,
|
||||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
|
||||||
NULL);
|
NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user