View Single Post
thp's Avatar
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#30
Originally Posted by kanishou View Post
I seem to have a version of python-hildon that should have the fix, so it's probably not that bug. But otherwise that would seem very likely.
The AppMenu problem is being discussed at https://bugs.maemo.org/show_bug.cgi?id=4682 - please subscribe there to help.

On the Welcome to gPodder! screen, the buttons are thumb sized now, but not properly themed. I wonder what is up with that. Are those just standard buttons created with HILDON_SIZE_THUMB_HEIGHT, and you are not changing the widget name afterwards?
No, they're defined in the GtkBuilder .ui file as HildonButton with the properties "label", "visible" and "size" set:

http://repo.or.cz/w/gpodder.git?a=bl.../fremantle#l62

Also, it looks fine in the SDK:

http://khan.thpinfo.com/~thp/images/...ome_090616.png

Having a different theme/engine in the SDK and in the device (with major differences in rendering buttons, etc...) is really bad. Developers can test how things look in the SDK, but it's hard to find out what is wrong when not being able to test directly with the real theme. At least the theme *engine* should be the same in the SDK, if you don't want to publish the "final" theme (engine + colors, graphics, styles) right now.

In the authentication dialog for my.gpodder:
Filed as https://bugs.maemo.org/show_bug.cgi?id=4709 - you can subscribe there to get notified when this has been fixed and is ready for a new review.

As for getting pango compatible strings for logical fonts and colors, this should help:

For colours, you should be able to get the GdkColor from a logical string with gtk_style_lookup_color() and then turn it into a pango compatible string with gdk_color_to_string().

For logical fonts, you can get the GtkStyle with gtk_rc_get_style_by_paths() (using the logical color name as widget_path), and pango_font_description_to_string() on the font-desc member of the style.

None of this is confirmed or tested, but hopefully it will help you out.
Filed a bug report at https://bugs.maemo.org/show_bug.cgi?id=4710

I can't implement this, as the current theme on the devices seems to be different from the themes in the beta SDK, and I can't reproduce most of the UI/style/theme bugs you have here. Kind of an awkward situation :/
 

The Following 5 Users Say Thank You to thp For This Useful Post: