|
2010-06-08
, 09:01
|
Posts: 3,664 |
Thanked: 1,530 times |
Joined on Sep 2009
@ Hamilton, New Zealand
|
#22
|
|
2010-06-08
, 09:08
|
Posts: 3,664 |
Thanked: 1,530 times |
Joined on Sep 2009
@ Hamilton, New Zealand
|
#23
|
|
2010-06-08
, 09:48
|
Posts: 48 |
Thanked: 67 times |
Joined on Apr 2010
|
#24
|
The Following User Says Thank You to jojop2 For This Useful Post: | ||
|
2010-06-08
, 21:16
|
Posts: 48 |
Thanked: 67 times |
Joined on Apr 2010
|
#25
|
The Following 4 Users Say Thank You to jojop2 For This Useful Post: | ||
|
2010-06-08
, 21:19
|
Posts: 48 |
Thanked: 67 times |
Joined on Apr 2010
|
#26
|
self.m_lw_remote.addItem(QListWidgetItem(QIcon("ressource/folder.xpm"), ftpItem.name(), self.m_lw_remote))
|
2010-06-08
, 21:25
|
Posts: 3,664 |
Thanked: 1,530 times |
Joined on Sep 2009
@ Hamilton, New Zealand
|
#27
|
The Following User Says Thank You to maxximuscool For This Useful Post: | ||
|
2010-06-08
, 22:15
|
Posts: 48 |
Thanked: 67 times |
Joined on Apr 2010
|
#28
|
The Following User Says Thank You to jojop2 For This Useful Post: | ||
|
2010-06-09
, 17:12
|
|
Posts: 2,473 |
Thanked: 12,265 times |
Joined on Oct 2009
@ Jerusalem, PS/IL
|
#29
|
Just realized a problem after installation.
The folder icons are not shown anymore.
In this code I set the icon, which is available in the ressource folder
Does someone have a clue why it is not working after deb installation?Code:self.m_lw_remote.addItem(QListWidgetItem(QIcon("ressource/folder.xpm"), ftpItem.name(), self.m_lw_remote))
|
2010-06-09
, 17:24
|
Posts: 48 |
Thanked: 67 times |
Joined on Apr 2010
|
#30
|
Well, you can just install the icon in /usr/share/pixmaps/ and change the path accordingly, or just change it to /opt/n900ftp/resource/folder.xpm
Copy it from somewhere in your source directory to /usr/share/pixmaps.
Don't forgot to add usr/share/pixmaps in the debian/dirs file.
If you run into any problem just ask here
Oh and the line for the desktop file is Icon=filename
filename is the filename is /usr/share/pixmaps, if it was called n900ftp.png then just add Icon=n900ftp