summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--gui/Cheat.c8
2 files changed, 6 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index d9e812ad..45713389 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,9 +5,10 @@ April 10, 2010 Wei Mingzhi <whistler_wmz@users.sf.net>
* gui/DebugMemory.c: Implemented memory viewer/dumper.
* gui/DebugMemory.h: Likewise.
* gui/Makefile.am: Added DebugMemory.c.
+ * gui/Cheat.c: Changed the order of OK/Cancel buttons for consistency with
+ GNOME UI standards.
* libpcsxcore/psxmem.c: Minor cleanup (thanks Sebun).
* libpcsxcore/spu.c: Likewise.
- * gui/Cheat.c: Likewise.
* libpcsxcore/cdrom.c: Check case open/close in CdlStop (courtesy of shalma).
* po/zh_CN.po, po/zh_TW.po, po/it.po, po/pt_BR.po, po/pcsx.pot: Updated.
diff --git a/gui/Cheat.c b/gui/Cheat.c
index 7b7c7957..17cc7f0d 100644
--- a/gui/Cheat.c
+++ b/gui/Cheat.c
@@ -108,8 +108,8 @@ static void OnCheatListDlg_AddClicked(GtkWidget *widget, gpointer user_data) {
GtkWidget *box, *scroll, *label, *descr_edit, *code_edit;
dlg = gtk_dialog_new_with_buttons(_("Add New Cheat"), GTK_WINDOW(CheatListDlg),
- GTK_DIALOG_MODAL, GTK_STOCK_OK, GTK_RESPONSE_ACCEPT,
- GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, NULL);
+ GTK_DIALOG_MODAL, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+ GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, NULL);
gtk_window_set_default_size(GTK_WINDOW(dlg), 350, 350);
@@ -193,8 +193,8 @@ static void OnCheatListDlg_EditClicked(GtkWidget *widget, gpointer user_data) {
gtk_tree_path_free(path);
dlg = gtk_dialog_new_with_buttons(_("Edit Cheat"), GTK_WINDOW(CheatListDlg),
- GTK_DIALOG_MODAL, GTK_STOCK_OK, GTK_RESPONSE_ACCEPT,
- GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, NULL);
+ GTK_DIALOG_MODAL, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+ GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, NULL);
gtk_window_set_default_size(GTK_WINDOW(dlg), 350, 350);