1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-23 00:02:48 +02:00

Modified the key shortcuts for the wallpaper dialog.

This commit is contained in:
Ayla 2011-09-18 03:16:08 +02:00
parent d0cfe7c60d
commit 38cfd321f6

View File

@ -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;