From 38cfd321f60c74f0f74e25cc0d8c2f07f8fd8dfa Mon Sep 17 00:00:00 2001 From: Ayla Date: Sun, 18 Sep 2011 03:16:08 +0200 Subject: [PATCH] Modified the key shortcuts for the wallpaper dialog. --- src/wallpaperdialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wallpaperdialog.cpp b/src/wallpaperdialog.cpp index 9ce8b99..53c7691 100644 --- a/src/wallpaperdialog.cpp +++ b/src/wallpaperdialog.cpp @@ -73,6 +73,7 @@ bool WallpaperDialog::exec() ButtonBox buttonbox(gmenu2x); buttonbox.add(new IconButton(gmenu2x, "skin:imgs/buttons/b.png", gmenu2x->tr["Select wallpaper"])); + buttonbox.add(new IconButton(gmenu2x, "skin:imgs/buttons/a.png", gmenu2x->tr["Exit"])); while (!close) { if (selected>firstElement+9) firstElement=selected-9; @@ -107,8 +108,7 @@ bool WallpaperDialog::exec() gmenu2x->s->flip(); switch(gmenu2x->input.waitForPressedButton()) { - case MENU: - case CLEAR: + case CANCEL: close = true; result = false; break;