maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   RSS Feed Applet - Now shows more! (https://talk.maemo.org/showthread.php?t=19913)

benny1967 2009-02-23 19:32

Re: RSS Feed Applet - Now shows more!
 
there's a new version 1.5.39-2 in the downloads section: no more line breaks.

be warned, it might look weird ;)
i now cut lines right in the middle of words. the nokia code tries to find a space for line breaks and does line breaks within words only if absolutely necessary.
i used the second piece of nokias code and replaced the line break with "…". while this doesnt look pretty, there are situations when you miss only the last 2-3 letters of a 10-letter-word - with the prettier "find last space in line" algorithm the whole word would be lost.

also, i found that the way Nokia calculates the maximum line length isn't very reliable. you'll notice lines are not of equal length. well. my knowledge of C and GTK+ ends here for the time being. ;)

sondjata 2009-02-23 19:54

Re: RSS Feed Applet - Now shows more!
 
I suppose this is different from the built in RSS applet? I won't use the thing cause it sucks battery when scrolling.

munky261 2009-02-23 21:13

Re: RSS Feed Applet - Now shows more!
 
Works great now benny! My only further request, could you make it use the standard size up and down arrow buttons, and there is no refresh button icon.

benny1967 2009-02-23 21:39

Re: RSS Feed Applet - Now shows more!
 
actually, the button size changed just like that - i didn't want it that way. now that i see it, though, i might even like the small ones better... don't know. i'm thinking of making the space around the buttons just a little bit smaller (they look very lost there as they are now), but that's version 113 then. ;)

oh, and:
the refresh button is there on my N800. just look at the screenshot. theming troubles revisited here, maybe? can you post a screenshot?

munky261 2009-02-23 21:55

Re: RSS Feed Applet - Now shows more!
 
1 Attachment(s)
Heres the screenshot. I did a reboot right after install. was only wondering about the buttons cause of how my applet is the width of the screen and id just like the bigger buttons so there isnt so much space.

qwerty12 2009-02-23 23:58

Re: RSS Feed Applet - Now shows more!
 
benny, I had the same problem with the tritanium theme. Spent an hour copying files, editing and conparing gtkrc files and then "regenning" the gtk icon cache & rerunning hildon theme cacher to find the answer was staring me in the face - well, at least in the diff I had made.

Changing the ICON_SIZE define from 40 to 26 causes this problem under the other themes. Also, changing that define offers no realistic improvement as the part of the background image holding the images for that part does not get smaller as the icon size goes down.

The above is not meant as a criticism - your version has given me a reason to actually use it! ;)

Thanks for the applet. :)

Oh! It's changed to 24 even.

./hicolor/26x26/hildon/qgn_toolb_gene_refresh.png ./hicolor/26x26/hildon/qgn_toolb_gene_refresh_pressed.png
./hicolor/40x40/hildon/qgn_toolb_gene_refresh.png
./hicolor/40x40/hildon/qgn_toolb_gene_refresh_pressed.png
./tritanium/26x26/hildon/qgn_toolb_gene_refresh.png
./tritanium/26x26/hildon/qgn_toolb_gene_refresh_pressed.png
./tritanium/40x40/hildon/qgn_toolb_gene_refresh.png
./tritanium/40x40/hildon/qgn_toolb_gene_refresh_pressed.png

^ It exists in 40x40 form (which is the value of the original applet) & in 26x26 form but ICON_SIZE is 24. Maybe 26 will work better than 24 or 40. ;)

Well, I see you listened looking at the SVN log ;)

benny1967 2009-02-24 16:16

Re: RSS Feed Applet - Now shows more!
 
Quote:

Originally Posted by qwerty12 (Post 266662)
The above is not meant as a criticism - your version has given me a reason to actually use it! ;)

:D

Thanks... For using it and for pointing me to the right direction.


Quote:

Originally Posted by qwerty12 (Post 266662)
./hicolor/26x26/hildon/qgn_toolb_gene_refresh.png ./hicolor/26x26/hildon/qgn_toolb_gene_refresh_pressed.png
./hicolor/40x40/hildon/qgn_toolb_gene_refresh.png
./hicolor/40x40/hildon/qgn_toolb_gene_refresh_pressed.png
./tritanium/26x26/hildon/qgn_toolb_gene_refresh.png
./tritanium/26x26/hildon/qgn_toolb_gene_refresh_pressed.png
./tritanium/40x40/hildon/qgn_toolb_gene_refresh.png
./tritanium/40x40/hildon/qgn_toolb_gene_refresh_pressed.png

^ It exists in 40x40 form (which is the value of the original applet) & in 26x26 form but ICON_SIZE is 24. Maybe 26 will work better than 24 or 40. ;)

In fact, the problem is much simpler and still I can't solve it:
I tried the Kobayashi theme and found that even its
26x26/hildon/qgn_toolb_gene_refresh.png
is not black (as th 40x40-version), but exactly the same color as the background! So the button is there, it was just made (pseudo-)transparent. Great! :confused:

Probably there'd be a way to not use these nice 3 buttons, but get some replacements that work as 26x26 or even smaller... same as there should be a way to make the background image smaller so we gain maybe 4 or five pixels for the actual content... but I don't know how.

Given my inability to get things really working the way I want... and munky261's wish to keep the original size... I'll do a version 3. big icons, visible in Kobayashi.

Quote:

Originally Posted by qwerty12 (Post 266662)
Well, I see you listened looking at the SVN log ;)

WTF?! how dare you spoil the surprise!? :D

benny1967 2009-02-24 16:47

Re: RSS Feed Applet - Now shows more!
 
Surprise!!!!

munky261 2009-02-24 21:23

Re: RSS Feed Applet - Now shows more!
 
Thanks!! Looks great now.

qwerty12 2009-02-27 08:20

Re: RSS Feed Applet - Now shows more!
 
As per your request on the homepage, I've half-done it anyway...

I've implemented just the option to toggle a possible stylus mode just in the settings dialog (i.e it wont do anything because the applet doesn't know about it):

http://slexy.org/view/s2URAwmdLH

I don't have the time (and probably the knowledge) to finish the applet part but I may be able to sometime.


All times are GMT. The time now is 00:16.

vBulletin® Version 3.8.8