summaryrefslogtreecommitdiff
path: root/library
authormickeyl <mickeyl>2004-02-24 14:29:33 (UTC)
committer mickeyl <mickeyl>2004-02-24 14:29:33 (UTC)
commitb044a19bc3ea1983989c81e2743a3590fab85bae (patch) (unidiff)
tree739825bedb3c86009457aac15a0a87f2c699d391 /library
parent5548f96b149e8416dd65661f9cc85ba8e434e0e5 (diff)
downloadopie-b044a19bc3ea1983989c81e2743a3590fab85bae.zip
opie-b044a19bc3ea1983989c81e2743a3590fab85bae.tar.gz
opie-b044a19bc3ea1983989c81e2743a3590fab85bae.tar.bz2
add missing patch from v1_0_3 disabling fixed custom rotation in favour of live rotation
Diffstat (limited to 'library') (more/less context) (ignore whitespace changes)
-rw-r--r--library/lnkproperties.cpp19
1 files changed, 13 insertions, 6 deletions
diff --git a/library/lnkproperties.cpp b/library/lnkproperties.cpp
index 50cf5af..8dca4ab 100644
--- a/library/lnkproperties.cpp
+++ b/library/lnkproperties.cpp
@@ -65,2 +65,7 @@ LnkProperties::LnkProperties( AppLnk* l, QWidget* parent )
65 65
66 // hide custom rotation feature for now, need a new implementation to fit quicklauch,
67 // is confusing for the user and doubtable useful since life rotation
68 d->rotate->hide();
69 d->rotateButtons->hide();
70
66 d->docname->setText(l->name()); 71 d->docname->setText(l->name());
@@ -117,3 +122,4 @@ LnkProperties::LnkProperties( AppLnk* l, QWidget* parent )
117 d->rotate->setChecked ( true ); 122 d->rotate->setChecked ( true );
118 d->rotateButtons->setButton((l->rotation().toInt()%360)/90); 123 //don't use rotate buttons for now (see comment above)
124 //d->rotateButtons->setButton((l->rotation().toInt()%360)/90);
119 } 125 }
@@ -170,6 +176,7 @@ void LnkProperties::setupLocations()
170 (*it)->disk().left(13) == "/dev/mtdblock" || 176 (*it)->disk().left(13) == "/dev/mtdblock" ||
171 (*it)->disk() == "/dev/mtdblock6" || 177 (*it)->disk() == "/dev/mtdblock6" ||
178 (*it )->disk() == "/dev/root" ||
172 (*it)->disk() == "tmpfs" ) { 179 (*it)->disk() == "tmpfs" ) {
173 d->locationCombo->insertItem( (*it)->name(), index ); 180 d->locationCombo->insertItem( (*it)->name(), index );
174 locations.append( ( ((*it)->isRemovable() || 181 locations.append( ( ((*it)->isRemovable() ||
175 (*it)->disk() == "/dev/mtdblock6" || 182 (*it)->disk() == "/dev/mtdblock6" ||
@@ -277,3 +284,3 @@ void LnkProperties::done(int ok)
277 bool reloadMime=FALSE; 284 bool reloadMime=FALSE;
278 285
279 if ( lnk->name() != d->docname->text() ) { 286 if ( lnk->name() != d->docname->text() ) {
@@ -291,3 +298,3 @@ void LnkProperties::done(int ok)
291 QString newrot; 298 QString newrot;
292 299
293 if ( d->rotate->isChecked() ) { 300 if ( d->rotate->isChecked() ) {
@@ -311,3 +318,3 @@ void LnkProperties::done(int ok)
311 } 318 }
312 319
313 if ( !d->preload->isHidden() ) { 320 if ( !d->preload->isHidden() ) {