All of lore.kernel.org
 help / color / mirror / Atom feed
* Using gnome icons
@ 2013-01-16 16:19 Gary Thomas
  2013-01-16 16:36 ` Burton, Ross
  2013-01-21  7:00 ` Jesse Zhang
  0 siblings, 2 replies; 11+ messages in thread
From: Gary Thomas @ 2013-01-16 16:19 UTC (permalink / raw)
  To: Poky Project

I have an image based on core-image-sato.  How can I enable this
to use the full gnome icon set?  e.g. I run an application
which uses GTK+ directly which has a button using GTK_STOCK_MEDIA_RECORD
On my Sato based device, this button just says 'Record' whereas on
my desktop it shows with a nice red record icon.

Is there a way to make this work on my Poky/Yocto based system?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Using gnome icons
  2013-01-16 16:19 Using gnome icons Gary Thomas
@ 2013-01-16 16:36 ` Burton, Ross
  2013-01-16 16:41   ` Gary Thomas
  2013-01-21  7:00 ` Jesse Zhang
  1 sibling, 1 reply; 11+ messages in thread
From: Burton, Ross @ 2013-01-16 16:36 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Poky Project

On 16 January 2013 16:19, Gary Thomas <gary@mlbassoc.com> wrote:
> I have an image based on core-image-sato.  How can I enable this
> to use the full gnome icon set?  e.g. I run an application
> which uses GTK+ directly which has a button using GTK_STOCK_MEDIA_RECORD
> On my Sato based device, this button just says 'Record' whereas on
> my desktop it shows with a nice red record icon.
>
> Is there a way to make this work on my Poky/Yocto based system?

Did your image include the gnome-icon-theme package?

Ross


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Using gnome icons
  2013-01-16 16:36 ` Burton, Ross
@ 2013-01-16 16:41   ` Gary Thomas
  2013-01-16 16:46     ` Burton, Ross
  0 siblings, 1 reply; 11+ messages in thread
From: Gary Thomas @ 2013-01-16 16:41 UTC (permalink / raw)
  To: Burton, Ross; +Cc: Poky Project

On 2013-01-16 09:36, Burton, Ross wrote:
> On 16 January 2013 16:19, Gary Thomas <gary@mlbassoc.com> wrote:
>> I have an image based on core-image-sato.  How can I enable this
>> to use the full gnome icon set?  e.g. I run an application
>> which uses GTK+ directly which has a button using GTK_STOCK_MEDIA_RECORD
>> On my Sato based device, this button just says 'Record' whereas on
>> my desktop it shows with a nice red record icon.
>>
>> Is there a way to make this work on my Poky/Yocto based system?
>
> Did your image include the gnome-icon-theme package?

Yes (actually I added it post build but it should be the same)

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Using gnome icons
  2013-01-16 16:41   ` Gary Thomas
@ 2013-01-16 16:46     ` Burton, Ross
  2013-01-16 16:49       ` Gary Thomas
  0 siblings, 1 reply; 11+ messages in thread
From: Burton, Ross @ 2013-01-16 16:46 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Poky Project

On 16 January 2013 16:41, Gary Thomas <gary@mlbassoc.com> wrote:
>> Did your image include the gnome-icon-theme package?
>
> Yes (actually I added it post build but it should be the same)

Hmph.  Danny or Denzil?

Ross


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Using gnome icons
  2013-01-16 16:46     ` Burton, Ross
@ 2013-01-16 16:49       ` Gary Thomas
  2013-01-16 17:45         ` Burton, Ross
  0 siblings, 1 reply; 11+ messages in thread
From: Gary Thomas @ 2013-01-16 16:49 UTC (permalink / raw)
  To: Burton, Ross; +Cc: Poky Project

On 2013-01-16 09:46, Burton, Ross wrote:
> On 16 January 2013 16:41, Gary Thomas <gary@mlbassoc.com> wrote:
>>> Did your image include the gnome-icon-theme package?
>>
>> Yes (actually I added it post build but it should be the same)
>
> Hmph.  Danny or Denzil?

Master :-)


-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Using gnome icons
  2013-01-16 16:49       ` Gary Thomas
@ 2013-01-16 17:45         ` Burton, Ross
  2013-01-16 17:58           ` Gary Thomas
  0 siblings, 1 reply; 11+ messages in thread
From: Burton, Ross @ 2013-01-16 17:45 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Poky Project

On 16 January 2013 16:49, Gary Thomas <gary@mlbassoc.com> wrote:
>> Hmph.  Danny or Denzil?
>
> Master :-)

Good man, I like your style!

What application is this?  The core apps in Sato are somewhat tuned
for the Sato experience which makes this tricky to replicate easily.
I thought there might be a tunable for the button style that we're
overriding, but I can't see anything obvious.

Ross


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Using gnome icons
  2013-01-16 17:45         ` Burton, Ross
@ 2013-01-16 17:58           ` Gary Thomas
  2013-01-16 18:01             ` Burton, Ross
  0 siblings, 1 reply; 11+ messages in thread
From: Gary Thomas @ 2013-01-16 17:58 UTC (permalink / raw)
  To: Burton, Ross; +Cc: Poky Project

On 2013-01-16 10:45, Burton, Ross wrote:
> On 16 January 2013 16:49, Gary Thomas <gary@mlbassoc.com> wrote:
>>> Hmph.  Danny or Denzil?
>>
>> Master :-)
>
> Good man, I like your style!
>
> What application is this?  The core apps in Sato are somewhat tuned
> for the Sato experience which makes this tricky to replicate easily.
> I thought there might be a tunable for the button style that we're
> overriding, but I can't see anything obvious.

Home grown using pygtk and gtk.glade.  If you want to try it, I can
send an example separately.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Using gnome icons
  2013-01-16 17:58           ` Gary Thomas
@ 2013-01-16 18:01             ` Burton, Ross
  0 siblings, 0 replies; 11+ messages in thread
From: Burton, Ross @ 2013-01-16 18:01 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Poky Project

On 16 January 2013 17:58, Gary Thomas <gary@mlbassoc.com> wrote:
>> What application is this?  The core apps in Sato are somewhat tuned
>> for the Sato experience which makes this tricky to replicate easily.
>> I thought there might be a tunable for the button style that we're
>> overriding, but I can't see anything obvious.
>
> Home grown using pygtk and gtk.glade.  If you want to try it, I can
> send an example separately.

That would be useful, this is confusing me.

Ross


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Using gnome icons
  2013-01-16 16:19 Using gnome icons Gary Thomas
  2013-01-16 16:36 ` Burton, Ross
@ 2013-01-21  7:00 ` Jesse Zhang
  2013-01-21 11:47   ` Gary Thomas
  1 sibling, 1 reply; 11+ messages in thread
From: Jesse Zhang @ 2013-01-21  7:00 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Poky Project

On 01/17/2013 12:19 AM, Gary Thomas wrote:
> I have an image based on core-image-sato.  How can I enable this
> to use the full gnome icon set?  e.g. I run an application
> which uses GTK+ directly which has a button using GTK_STOCK_MEDIA_RECORD
> On my Sato based device, this button just says 'Record' whereas on
> my desktop it shows with a nice red record icon.

Gtk has a config option for that (icons beside button text). You might
need to turn it on.

jesse


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Using gnome icons
  2013-01-21  7:00 ` Jesse Zhang
@ 2013-01-21 11:47   ` Gary Thomas
  2013-01-21 12:25     ` Burton, Ross
  0 siblings, 1 reply; 11+ messages in thread
From: Gary Thomas @ 2013-01-21 11:47 UTC (permalink / raw)
  To: Jesse Zhang; +Cc: Poky Project

On 2013-01-21 00:00, Jesse Zhang wrote:
> On 01/17/2013 12:19 AM, Gary Thomas wrote:
>> I have an image based on core-image-sato.  How can I enable this
>> to use the full gnome icon set?  e.g. I run an application
>> which uses GTK+ directly which has a button using GTK_STOCK_MEDIA_RECORD
>> On my Sato based device, this button just says 'Record' whereas on
>> my desktop it shows with a nice red record icon.
>
> Gtk has a config option for that (icons beside button text). You might
> need to turn it on.

It seems to be much more complicated than this.  If I run my application
using the native X server, i.e. on my embedded LCD, I get on the simple
"record" text in the button.  However, if I run the same application on
the embedded unit, but the display is remote (e.g. on my desktop using
ssh -X), I get a button with icons.

Something very tricky is afoot here...

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Using gnome icons
  2013-01-21 11:47   ` Gary Thomas
@ 2013-01-21 12:25     ` Burton, Ross
  0 siblings, 0 replies; 11+ messages in thread
From: Burton, Ross @ 2013-01-21 12:25 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Poky Project

On 21 January 2013 11:47, Gary Thomas <gary@mlbassoc.com> wrote:
>> Gtk has a config option for that (icons beside button text). You might
>> need to turn it on.
>
> It seems to be much more complicated than this.  If I run my application
> using the native X server, i.e. on my embedded LCD, I get on the simple
> "record" text in the button.  However, if I run the same application on
> the embedded unit, but the display is remote (e.g. on my desktop using
> ssh -X), I get a button with icons.
>
> Something very tricky is afoot here...

As I said earlier, this configuration option is generally controlled
by a root window property (this is "xsettings").  Digging around shows
that it wasn't being set by any of our xsettings code, but then I
remembered that it can also be overridden by the GTK+ theme:

http://git.yoctoproject.org/cgit/cgit.cgi/gtk-sato-engine/tree/data/gtkrc-vga

The Sato theme turns it off.  Feel free to patch out
gtk-button-images=0 in your system.

You got the button images when you run it on the device but with
DISPLAY over SSH because it's again using xsettings to detect the
theme to use, doesn't have whatever your desktop is using, and falls
back to Raleigh, which doesn't set this option.

Ross


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-01-21 12:25 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-16 16:19 Using gnome icons Gary Thomas
2013-01-16 16:36 ` Burton, Ross
2013-01-16 16:41   ` Gary Thomas
2013-01-16 16:46     ` Burton, Ross
2013-01-16 16:49       ` Gary Thomas
2013-01-16 17:45         ` Burton, Ross
2013-01-16 17:58           ` Gary Thomas
2013-01-16 18:01             ` Burton, Ross
2013-01-21  7:00 ` Jesse Zhang
2013-01-21 11:47   ` Gary Thomas
2013-01-21 12:25     ` Burton, Ross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.