summaryrefslogtreecommitdiff
authorkergoth <kergoth>2002-04-14 03:24:23 (UTC)
committer kergoth <kergoth>2002-04-14 03:24:23 (UTC)
commit908a0fb11fd33161a3899f29c11cfbec9dcadbfc (patch) (side-by-side diff)
tree915acafe981ba9e381ff54ceaf5f2aeb1cdc15bf
parent02fc6c820f98d58e856f410e3f1167027f084bec (diff)
downloadopie-908a0fb11fd33161a3899f29c11cfbec9dcadbfc.zip
opie-908a0fb11fd33161a3899f29c11cfbec9dcadbfc.tar.gz
opie-908a0fb11fd33161a3899f29c11cfbec9dcadbfc.tar.bz2
Fixing policy violation.. no app pics in the root of pics/\!
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/filebrowser/filebrowser.cpp2
-rw-r--r--noncore/unsupported/filebrowser/opie-filebrowser.control2
-rw-r--r--pics/filebrowser/symlink.png (renamed from pics/symlink.png)bin103 -> 103 bytes
3 files changed, 2 insertions, 2 deletions
diff --git a/noncore/unsupported/filebrowser/filebrowser.cpp b/noncore/unsupported/filebrowser/filebrowser.cpp
index 34d5177..d9e2afa 100644
--- a/noncore/unsupported/filebrowser/filebrowser.cpp
+++ b/noncore/unsupported/filebrowser/filebrowser.cpp
@@ -79,25 +79,25 @@ FileItem::FileItem( QListView * parent, const QFileInfo & fi )
pm = Resource::loadPixmap( "folder" );
}
else if( !fi.isReadable() )
pm = Resource::loadPixmap( "locked" );
else if( isLib() )
pm = Resource::loadPixmap( "library" );
else
pm = mt.pixmap();
if ( pm.isNull() )
pm = Resource::loadPixmap("UnknownDocument-14");
if( fi.isSymLink() ){
// overlay link image
- QPixmap lnk = Resource::loadPixmap( "symlink" );
+ QPixmap lnk = Resource::loadPixmap( "filebrowser/symlink" );
QPainter painter( &pm );
painter.drawPixmap( pm.width()-lnk.width(), pm.height()-lnk.height(), lnk );
pm.setMask( pm.createHeuristicMask( FALSE ) );
}
setPixmap(0,pm);
}
QString FileItem::sizeString( unsigned int s )
{
double size = s;
if ( size > 1024 * 1024 * 1024 )
diff --git a/noncore/unsupported/filebrowser/opie-filebrowser.control b/noncore/unsupported/filebrowser/opie-filebrowser.control
index c15ae17..9de926f 100644
--- a/noncore/unsupported/filebrowser/opie-filebrowser.control
+++ b/noncore/unsupported/filebrowser/opie-filebrowser.control
@@ -1,9 +1,9 @@
-Files: bin/filebrowser apps/Applications/filebrowser.desktop
+Files: bin/filebrowser apps/Applications/filebrowser.desktop pics/filebrowser/symlink.png
Priority: optional
Section: opie/applications
Maintainer: Warwick Allison <warwick@trolltech.com>
Architecture: arm
Version: $QPE_VERSION-$SUB_VERSION
Depends: opie-base ($QPE_VERSION)
Description: Browse the file system
The filebrowser for the Opie environment.
diff --git a/pics/symlink.png b/pics/filebrowser/symlink.png
index a0b267a..a0b267a 100644
--- a/pics/symlink.png
+++ b/pics/filebrowser/symlink.png
Binary files differ