Change Details
| gmenu2x/Makefile |
| 10 | 10 | PKG_NAME:=gmenu2x |
| 11 | 11 | PKG_VERSION:=20100222 |
| 12 | 12 | PKG_REV:= 745321edf9101688ac1ffe3a0bff5773f08b36db |
| 13 | | PKG_RELEASE:=4 |
| 13 | PKG_RELEASE:=5 |
| 14 | 14 | |
| 15 | 15 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
| 16 | 16 | PKG_SOURCE_URL:=git://projects.qi-hardware.com/gmenu2x.git |
| gmenu2x/patches/001-filedialog.patch |
| 1 | --- gmenu2x/src/filedialog.cpp 2010-08-03 12:18:26.000000000 +0200 |
| 2 | @@ -35,7 +35,7 @@ |
| 3 | this->text = text; |
| 4 | this->filter = filter; |
| 5 | this->file = ""; |
| 6 | - setPath("/card"); |
| 7 | + setPath("/"); |
| 8 | title = "File Browser"; |
| 9 | if (!file.empty()) { |
| 10 | string::size_type pos = file.rfind("/"); |
| 11 | @@ -50,7 +50,7 @@ |
| 12 | bool FileDialog::exec() { |
| 13 | bool close = false, result = true, ts_pressed = false; |
| 14 | if (!fileExists(path())) |
| 15 | - setPath("/card"); |
| 16 | + setPath("/"); |
| 17 | |
| 18 | fl.setFilter(filter); |
| 19 | fl.browse(); |
| 20 | @@ -155,7 +155,7 @@ |
| 21 | } break; |
| 22 | case FD_ACTION_GOUP: { |
| 23 | string::size_type p = path().rfind("/"); |
| 24 | - if (p==string::npos || path().substr(0,11)!="/card" || p<4) |
| 25 | + if (p==string::npos || path().substr(0,11)!="/" || p<4) |
| 26 | return false; |
| 27 | else |
| 28 | setPath( path().substr(0,p) ); |
| 29 | --- gmenu2x/src/gmenu2x.cpp 2010-08-03 13:55:31.000000000 +0200 |
| 30 | @@ -998,7 +998,7 @@ |
| 31 | } |
| 32 | |
| 33 | void GMenu2X::explorer() { |
| 34 | - FileDialog fd(this,tr["Select an application"],".gpu,.dge,.sh"); |
| 35 | + FileDialog fd(this,tr["Select an application"],".gpu,.dge,.sh,"); |
| 36 | if (fd.exec()) { |
| 37 | if (confInt["saveSelection"] && (confInt["section"]!=menu->selSectionIndex() || confInt["link"]!=menu->selLinkIndex())) |
| 38 | writeConfig(); |
Download the corresponding diff file