maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] - FTP Client (https://talk.maemo.org/showthread.php?t=55336)

MohammadAG 2010-06-08 08:52

Re: [Announce] - FTP Client
 
I'll leave you to add the icons (as an exercise :p)
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

maxximuscool 2010-06-08 09:01

Re: [Announce] - FTP Client
 
Quote:

Originally Posted by jojop2 (Post 705007)
Nice one, I really like.

Thank you!

No problem buddy. You contributed to this community and I am glad i can help you out :)

I choose Orange theme for it because of Maemo.org, your application deserve an orange colour :)

Hahah it's my first icon making as well. I did some GIMP reading and tutorial and learn to make that :D for 30mins before I send it to you. I can make you plenty more now since I've already know how to make icon.

I'm thinking of making wallpaper next :D

maxximuscool 2010-06-08 09:08

Re: [Announce] - FTP Client
 
1 Attachment(s)
Here if you need a smaller version of it.
I have resized it for you from 300px to 100px and 50px.
Incase you might find it easier to use.

jojop2 2010-06-08 09:48

Re: [Announce] - FTP Client
 
Working with gimp is not the problem for me, but being creative enough for graphics stuff. :-)

jojop2 2010-06-08 21:16

Re: [Announce] - FTP Client
 
Success!!!!

I finally managed to package and build the app for the first time with the help of maxximuscool, mohammadag and noobmonkey.
You guys will definitely mentioned on the upcoming "About" Screen :-)

You can find it in extra-dev already.

jojop2 2010-06-08 21:19

Re: [Announce] - FTP Client
 
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

Code:

self.m_lw_remote.addItem(QListWidgetItem(QIcon("ressource/folder.xpm"), ftpItem.name(), self.m_lw_remote))
Does someone have a clue why it is not working after deb installation?

maxximuscool 2010-06-08 21:25

Re: [Announce] - FTP Client
 
I've no clue with maemo coding lol. I haven't done any coding for more than 2years now. My C++, Java, C#, VB.net and other languages are rusty as a rusty car left in the rain for century.

I don't know how to help in this area with installation build sorry. Mohammad knows how to fix this

jojop2 2010-06-08 22:15

Re: [Announce] - FTP Client
 
OK, I think I fixed the icon bug with the 3rd build, which should show up in a few mins.

I put the absolute path in front of the icon ressource. Strange that it used to work on windows and on N900 sourcefiles.

Screenshots will be added tomorrow.

I have to go to bed.

Ciao

MohammadAG 2010-06-09 17:12

Re: [Announce] - FTP Client
 
Quote:

Originally Posted by jojop2 (Post 706095)
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

Code:

self.m_lw_remote.addItem(QListWidgetItem(QIcon("ressource/folder.xpm"), ftpItem.name(), self.m_lw_remote))
Does someone have a clue why it is not working after deb installation?

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

jojop2 2010-06-09 17:24

Re: [Announce] - FTP Client
 
Quote:

Originally Posted by MohammadAG (Post 707504)
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

Thanks, I figured out already.
The change is in latest version of extra-devel.

I'm still wondering why it is working when I run the python files located in /home/user/Mydocs


All times are GMT. The time now is 18:06.

vBulletin® Version 3.8.8