HIG fixes in button order in the File Chooser

This commit is contained in:
Archit Baweja 2004-05-21 20:17:19 +00:00
parent d1b854589e
commit b727318957
2 changed files with 8 additions and 1 deletions

View File

@ -2,6 +2,12 @@
* 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>
* src/glade-menu-editor.c, glade-project-window.c, glade-utils.[ch]:

View File

@ -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);
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,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
NULL);
}