Zhu, Peter J wrote:
> Hi,
>
> I tried to add one style and use that style at end of
> gtkrc.maemo_af_desktop as following: style "mid-media-back"
> {
> GtkButton::child_displacement_x = 0
> GtkButton::child_displacement_y = 0
> engine "sapwood" {
> image {
> function = BOX
> state = NORMAL
> file = "../images/mb_media_btn_back.png"
> }
> }
> }
> widget "*.wm_pm_tb_prev_bn" style: hightest "mid-media-back"
>
> And wm_pm_tb_prev_bn is the ID of "previous" button of photo view in
> moblin-media defined in a glade file. To guarantee, I even use
> GtkWidget.set_name("wm_pm_tb_prev_bn").
>
> But it just doesn't work as expected. Anyone knows possible reasons?
> Thanks in advance.
>
> Best regards
> Peter
Peter,
I've found this URL helpful: http://orford.org/gtk/#gtkrc_files
Did you change the name of the widget? Did you try overriding the
widget class like GtkButton (just to test if gtkrc changes were actually
working).
Bob
--
Ubuntu-mobile mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile