Re: How to use gtk_render_handle on patterned widget?

2012-01-23 Thread Peter Hurley
On Mon, 2012-01-23 at 16:13 -0500, Peter Hurley wrote: > Hi all, > > I'm hoping to get some clarification regarding the semantics of > gtk_render_handle. The stock theming engine renders the handle centered > within the rectangle parameters (@x,y width x height). Unfortunately, > it also wipes th

Re: i18n of app menus

2012-01-23 Thread Matthias Clasen
On Mon, Jan 23, 2012 at 2:05 PM, Xan Lopez wrote: >> And attribute elements can have the translatable attribute, so >> we really ought to be writing this like this: >> >>   >>    _New Window >>   >> >> And then we can use intltool's glade mode and not do terrible hacks >> to our XML files. I've

How to use gtk_render_handle on patterned widget?

2012-01-23 Thread Peter Hurley
Hi all, I'm hoping to get some clarification regarding the semantics of gtk_render_handle. The stock theming engine renders the handle centered within the rectangle parameters (@x,y width x height). Unfortunately, it also wipes the background with the pattern scaled to width x height. What's the

Re: i18n of app menus

2012-01-23 Thread Xan Lopez
On Mon, Jan 23, 2012 at 3:22 PM, Shaun McCance wrote: > > So I just read this: > > http://developer.gnome.org/gio/2.31/gio-GMenu-Markup.html > > It turns out this: > > > > is really shorthand for this: > > >_New Window >app.new >n > > > or presumably this: > > >_Ne

Re: i18n of app menus

2012-01-23 Thread Matthias Clasen
On Mon, Jan 23, 2012 at 9:22 AM, Shaun McCance wrote: > or presumably this: > >   >    _New Window >   > > And attribute elements can have the translatable attribute, so > we really ought to be writing this like this: > >   >    _New Window >   Man, I wrote that code not too long ago...you'd th

Re: i18n of app menus

2012-01-23 Thread Shaun McCance
On Mon, 2012-01-23 at 09:11 -0500, Shaun McCance wrote: > On Mon, 2012-01-23 at 06:36 -0500, Matthias Clasen wrote: > > On Sun, Jan 22, 2012 at 3:13 PM, Olav Vitters wrote: > > > How can those app menus be translated? Is anyone on the gnome-i18n > > > mailing list? > > > > The same way gtkbuilder

Re: i18n of app menus

2012-01-23 Thread Shaun McCance
On Mon, 2012-01-23 at 06:36 -0500, Matthias Clasen wrote: > On Sun, Jan 22, 2012 at 3:13 PM, Olav Vitters wrote: > > How can those app menus be translated? Is anyone on the gnome-i18n > > mailing list? > > The same way gtkbuilder xml files can be translated. Specify the > domain when loading the

Re: i18n of app menus

2012-01-23 Thread Matthias Clasen
On Sun, Jan 22, 2012 at 3:13 PM, Olav Vitters wrote: > How can those app menus be translated? Is anyone on the gnome-i18n > mailing list? The same way gtkbuilder xml files can be translated. Specify the domain when loading the xml file, and put the strings into your mo file. You can use intltool