summaryrefslogtreecommitdiff
authorkergoth <kergoth>2002-04-14 03:24:23 (UTC)
committer kergoth <kergoth>2002-04-14 03:24:23 (UTC)
commit908a0fb11fd33161a3899f29c11cfbec9dcadbfc (patch) (unidiff)
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) (show 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 )
79 pm = Resource::loadPixmap( "folder" ); 79 pm = Resource::loadPixmap( "folder" );
80 } 80 }
81 else if( !fi.isReadable() ) 81 else if( !fi.isReadable() )
82 pm = Resource::loadPixmap( "locked" ); 82 pm = Resource::loadPixmap( "locked" );
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
99QString FileItem::sizeString( unsigned int s ) 99QString FileItem::sizeString( unsigned int s )
100{ 100{
101 double size = s; 101 double size = s;
102 102
103 if ( size > 1024 * 1024 * 1024 ) 103 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 @@
1Files: bin/filebrowser apps/Applications/filebrowser.desktop 1Files: bin/filebrowser apps/Applications/filebrowser.desktop pics/filebrowser/symlink.png
2Priority: optional 2Priority: optional
3Section: opie/applications 3Section: opie/applications
4Maintainer: Warwick Allison <warwick@trolltech.com> 4Maintainer: Warwick Allison <warwick@trolltech.com>
5Architecture: arm 5Architecture: arm
6Version: $QPE_VERSION-$SUB_VERSION 6Version: $QPE_VERSION-$SUB_VERSION
7Depends: opie-base ($QPE_VERSION) 7Depends: opie-base ($QPE_VERSION)
8Description: Browse the file system 8Description: 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