author | kergoth <kergoth> | 2002-04-14 03:24:23 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-04-14 03:24:23 (UTC) |
commit | 908a0fb11fd33161a3899f29c11cfbec9dcadbfc (patch) (unidiff) | |
tree | 915acafe981ba9e381ff54ceaf5f2aeb1cdc15bf | |
parent | 02fc6c820f98d58e856f410e3f1167027f084bec (diff) | |
download | opie-908a0fb11fd33161a3899f29c11cfbec9dcadbfc.zip opie-908a0fb11fd33161a3899f29c11cfbec9dcadbfc.tar.gz opie-908a0fb11fd33161a3899f29c11cfbec9dcadbfc.tar.bz2 |
Fixing policy violation.. no app pics in the root of pics/\!
-rw-r--r-- | noncore/unsupported/filebrowser/filebrowser.cpp | 2 | ||||
-rw-r--r-- | noncore/unsupported/filebrowser/opie-filebrowser.control | 2 | ||||
-rw-r--r-- | pics/filebrowser/symlink.png (renamed from pics/symlink.png) | bin | 103 -> 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 | |||
@@ -83,17 +83,17 @@ FileItem::FileItem( QListView * parent, const QFileInfo & fi ) | |||
83 | else if( isLib() ) | 83 | else if( isLib() ) |
84 | pm = Resource::loadPixmap( "library" ); | 84 | pm = Resource::loadPixmap( "library" ); |
85 | else | 85 | else |
86 | pm = mt.pixmap(); | 86 | pm = mt.pixmap(); |
87 | if ( pm.isNull() ) | 87 | if ( pm.isNull() ) |
88 | pm = Resource::loadPixmap("UnknownDocument-14"); | 88 | pm = Resource::loadPixmap("UnknownDocument-14"); |
89 | if( fi.isSymLink() ){ | 89 | if( fi.isSymLink() ){ |
90 | // overlay link image | 90 | // overlay link image |
91 | QPixmap lnk = Resource::loadPixmap( "symlink" ); | 91 | QPixmap lnk = Resource::loadPixmap( "filebrowser/symlink" ); |
92 | QPainter painter( &pm ); | 92 | QPainter painter( &pm ); |
93 | painter.drawPixmap( pm.width()-lnk.width(), pm.height()-lnk.height(), lnk ); | 93 | painter.drawPixmap( pm.width()-lnk.width(), pm.height()-lnk.height(), lnk ); |
94 | pm.setMask( pm.createHeuristicMask( FALSE ) ); | 94 | pm.setMask( pm.createHeuristicMask( FALSE ) ); |
95 | } | 95 | } |
96 | setPixmap(0,pm); | 96 | setPixmap(0,pm); |
97 | } | 97 | } |
98 | 98 | ||
99 | QString FileItem::sizeString( unsigned int s ) | 99 | QString FileItem::sizeString( unsigned int s ) |
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 @@ | |||
1 | Files: bin/filebrowser apps/Applications/filebrowser.desktop | 1 | Files: bin/filebrowser apps/Applications/filebrowser.desktop pics/filebrowser/symlink.png |
2 | Priority: optional | 2 | Priority: optional |
3 | Section: opie/applications | 3 | Section: opie/applications |
4 | Maintainer: Warwick Allison <warwick@trolltech.com> | 4 | Maintainer: Warwick Allison <warwick@trolltech.com> |
5 | Architecture: arm | 5 | Architecture: arm |
6 | Version: $QPE_VERSION-$SUB_VERSION | 6 | Version: $QPE_VERSION-$SUB_VERSION |
7 | Depends: opie-base ($QPE_VERSION) | 7 | Depends: opie-base ($QPE_VERSION) |
8 | Description: Browse the file system | 8 | Description: Browse the file system |
9 | The filebrowser for the Opie environment. | 9 | 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 | |||