Thread: daperl's PoRN
View Single Post
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#10
qwerty12 is the Man, but GtkViewport might be the Devil

Originally Posted by qwerty12 View Post
The opensource FriendStatus app which appears to be utilizing RtcommLogView also has the ability for its top buttons to scroll. And it's made by a Nokia employee.
Dude, thank you, this is brilliant. He did exactly what I thought needed to be done; he forces the style properties with these two lines:

Code:
gtk_widget_set_name (priv->log_view,
        "friend-status::timeline-view::timeline-view");
gtk_rc_parse_string (
        "widget \"*.friend-status::timeline-view::timeline-view\""
        " style \"fremantle-touchlist\"");
He writes some very good code; I should leave my cave more often.

For some reason, that is probably not a bug, when you use the "_with_viewport" calls the fremantle styles get lost. I'm guessing it has to do with placing a non-hildon widget between two hildon/Nokia widgets. I encourage anyone who knows to weigh in here.

Thanks for the contents of your PoRN thread. Wacking off to source code is the best way to start a morning, I find.
[George Carlin]And I have no ending response to this joke, so I just take a bow.[/George Carlin]
__________________
N9: Go white or go home

Last edited by daperl; 2010-04-20 at 20:04.
 

The Following 3 Users Say Thank You to daperl For This Useful Post: