Re: Stock Items Deprecation

2013-10-02 Thread John Stowers
To answer myself; Gtk+3.10 and above cannot have icons and buttons in menus unless opted in explicitly by the app author. it seems this removal was noticed by someone else https://lists.ubuntu.com/archives/ubuntu-desktop/2013-October/004311.html https://bugs.launchpad.net/ubuntu/+source/gnome-set

Re: Stock Items Deprecation

2013-09-17 Thread Murray Cumming
On Fri, 2013-07-19 at 12:56 +0200, Krzysztof Kosiński wrote: > 2013/7/18 Emmanuele Bassi : > > support for those features has already been developed and it is going > > to be added to GAction before we release GLib 2.38 and GTK 3.10, and > > improved in the future so that it matches with the overal

Re: Stock Items Deprecation

2013-09-13 Thread Emmanuele Bassi
hi; On 13 September 2013 11:33, Matthew Brush wrote: > I certainly don't assume that automatically, but when massive deprecations > are made presumably without any prior discussion (at least on any public > GTK+ channels) discussions these days tend to happen on high bandwidth channels (hackfes

Re: Stock Items Deprecation

2013-09-13 Thread Matthew Brush
On 13-09-13 02:29 AM, Emmanuele Bassi wrote: hi; On 13 September 2013 03:10, Matthew Brush wrote: As some of you may have noticed we have recently deprecated Stock Items in master. Some details on this change may be found here: https://docs.google.com/document/d/1KCVPoYQBqMbDP11tHPpjW6uaEHr

Re: Stock Items Deprecation

2013-09-13 Thread Emmanuele Bassi
hi; On 13 September 2013 03:10, Matthew Brush wrote: >> As some of you may have noticed we have recently deprecated Stock Items in >> master. >> >> Some details on this change may be found here: >> >> https://docs.google.com/document/d/1KCVPoYQBqMbDP11tHPpjW6uaEHrvLUmcDPqKAppCY8o/pub >> >> Pleas

Re: Stock Items Deprecation

2013-09-12 Thread Matthew Brush
On 13-07-02 06:41 AM, William Jon McCann wrote: Hi, As some of you may have noticed we have recently deprecated Stock Items in master. Some details on this change may be found here: https://docs.google.com/document/d/1KCVPoYQBqMbDP11tHPpjW6uaEHrvLUmcDPqKAppCY8o/pub Please let us know what you

Re: Stock Items Deprecation

2013-09-11 Thread Krzysztof Kosiński
2013/9/11 Emmanuele Bassi : > as the author of GtkRecentAction, I'm honestly not concerned. > GtkRecentAction was a stop-gap that covered users of the old > EggRecent* API, and was never really useful; in a sense, it was a > class used to paper over a deprecation. shoving a bunch of recently > used

Re: Stock Items Deprecation

2013-09-11 Thread Murray Cumming
On Wed, 2013-09-11 at 12:10 +0100, Emmanuele Bassi wrote: > hi; > > On 11 September 2013 11:39, Murray Cumming wrote: > > >> This deprecated several classes (GtkIconFactory, GtkIconSet, > >> GtkIconSource, GtkImageMenuItem, GtkAction, GtkUIManager). > > > > It also deprecated GtkRecentAction, be

Re: Stock Items Deprecation

2013-09-11 Thread Emmanuele Bassi
hi; On 11 September 2013 11:39, Murray Cumming wrote: >> This deprecated several classes (GtkIconFactory, GtkIconSet, >> GtkIconSource, GtkImageMenuItem, GtkAction, GtkUIManager). > > It also deprecated GtkRecentAction, because it deprecated the base > GtkAction. as the author of GtkRecentActio

Re: Stock Items Deprecation

2013-09-11 Thread Murray Cumming
On Wed, 2013-07-17 at 11:47 +0200, Murray Cumming wrote: > On Tue, 2013-07-02 at 09:41 -0400, William Jon McCann wrote: > > Hi, > > > > > > As some of you may have noticed we have recently deprecated Stock > > Items in master. > > > > > > Some details on this change may be found here: > > https

Re: Stock Items Deprecation

2013-08-31 Thread jjacky
On 07/17/13 12:21, Emmanuele Bassi wrote: > hi; > > On 17 July 2013 11:01, Jean Brefort wrote: >> Le mercredi 17 juillet 2013 à 11:47 +0200, Murray Cumming a écrit : >>> On Tue, 2013-07-02 at 09:41 -0400, William Jon McCann wrote: Hi, As some of you may have noticed we have re

Re: Stock Items Deprecation

2013-08-22 Thread Patrick Welche
On Tue, Aug 20, 2013 at 03:01:25PM +0100, Patrick Welche wrote: > On Tue, Jul 02, 2013 at 10:44:13AM -0400, Matthias Clasen wrote: > > On Tue, Jul 2, 2013 at 10:29 AM, Tristan Van Berkom wrote: > > > > > > > > Besides what Bastian already points out, I have another concern if we > > > are to cons

Re: Stock Items Deprecation

2013-08-21 Thread Zenaan Harkness
On 8/21/13, Jose Paulo wrote: > I agree with Matthew Brush and others. > > I developed some GTK+ applications and I used a lot of stock items, > practically for all buttons. > I can't realize why to change this. > Maybe I miss something good reasons or argumentation. This sounds like classic Fact

Re: Stock Items Deprecation

2013-08-21 Thread Jose Paulo
Hi all. I agree with Matthew Brush and others. I developed some GTK+ applications and I used a lot of stock items, practically for all buttons. I can't realize why to change this. Maybe I miss something good reasons or argumentation. Regards, José Paulo

Re: Stock Items Deprecation

2013-08-20 Thread Matthew Brush
On 13-08-20 06:59 PM, Matthew Brush wrote: On 13-07-02 06:41 AM, William Jon McCann wrote: Hi, As some of you may have noticed we have recently deprecated Stock Items in master. Some details on this change may be found here: https://docs.google.com/document/d/1KCVPoYQBqMbDP11tHPpjW6uaEHrvLUmcD

Re: Stock Items Deprecation

2013-08-20 Thread Matthew Brush
On 13-07-02 06:41 AM, William Jon McCann wrote: Hi, As some of you may have noticed we have recently deprecated Stock Items in master. Some details on this change may be found here: https://docs.google.com/document/d/1KCVPoYQBqMbDP11tHPpjW6uaEHrvLUmcDPqKAppCY8o/pub Please let us know what you

Re: Stock Items Deprecation

2013-08-20 Thread Patrick Welche
On Tue, Jul 02, 2013 at 10:44:13AM -0400, Matthias Clasen wrote: > On Tue, Jul 2, 2013 at 10:29 AM, Tristan Van Berkom wrote: > > > > > Besides what Bastian already points out, I have another concern if we > > are to consider moving > > away from stock items completely. > > > > The document above

Re: Stock Items Deprecation

2013-08-20 Thread Tristan Van Berkom
I believe that this is exactly what GtkIconFactory is there for, it allows you to define named icons for various widget states including RTL/LTR. Thankfully GtkIconFactory != stock icons... but unfortunately it looks as though a deprecation of GtkIconFactory snuck in with the stock icon deprecatio

Re: Stock Items Deprecation

2013-08-19 Thread John Stowers
On Thu, Jul 18, 2013 at 12:17 PM, John Stowers wrote: > Hi, > > How does this intersect with the (also deprecated AIUI) > GtkSettings variables gtk-button-images and gtk-menu-images? > > Will those settings be honored through the Gtk+-3 series? > Hi, So this wasn't really answered, and now I am

Re: Stock Items Deprecation

2013-08-13 Thread LE GARREC Vincent
Thanks for the advice. I'll take a good look at the given URL and modify my apps accordingly. 2013/8/13 Emmanuele Bassi > hi; > > On 13 August 2013 08:14, LE GARREC Vincent > wrote: > > > I have a question about this sentence : > > "The guidance since before GTK+ 3.0 was for buttons to be text

Re: Stock Items Deprecation

2013-08-13 Thread Emmanuele Bassi
hi; On 13 August 2013 08:14, LE GARREC Vincent wrote: > I have a question about this sentence : > "The guidance since before GTK+ 3.0 was for buttons to be text labels only > or icon images only." > > I always design my applications based on the "GNOME Human Interface > Guidelines" and I never r

Re: Stock Items Deprecation

2013-08-13 Thread LE GARREC Vincent
Dear, I have a question about this sentence : "The guidance since before GTK+ 3.0 was for buttons to be text labels only or icon images only." I always design my applications based on the "GNOME Human Interface Guidelines" and I never read something like this. Plus, in this guide, all screenshoot

Re: Stock Items Deprecation

2013-07-25 Thread phil
On 25/07/13 11:08, Emmanuele Bassi wrote: Hi Emmanuele On 25 July 2013 10:37, phil wrote: One other thing, I'm wondering why the migration guide and rationale are on goggle docs which tracks who is viewing what and which links they click on in the documents. It seems a bit incongruous as GNOM

Re: Stock Items Deprecation

2013-07-25 Thread Emmanuele Bassi
hi; On 25 July 2013 10:37, phil wrote: > One other thing, I'm wondering why the migration guide and rationale are on > goggle docs which tracks who is viewing what and which links they click on > in the documents. It seems a bit incongruous as GNOME is currently fund > raising for privacy enhance

Re: Stock Items Deprecation

2013-07-25 Thread phil
On 02/07/13 14:41, William Jon McCann wrote: Hi, As some of you may have noticed we have recently deprecated Stock Items in master. Some details on this change may be found here: https://docs.google.com/document/d/1KCVPoYQBqMbDP11tHPpjW6uaEHrvLUmcDPqKAppCY8o/pub Please let us know what you th

Re: Stock Items Deprecation

2013-07-19 Thread Krzysztof Kosiński
2013/7/18 Emmanuele Bassi : > support for those features has already been developed and it is going > to be added to GAction before we release GLib 2.38 and GTK 3.10, and > improved in the future so that it matches with the overall spirit and > design of the API. if you want to influence where the

Re: Stock Items Deprecation

2013-07-19 Thread Murray Cumming
On Tue, 2013-07-02 at 09:41 -0400, William Jon McCann wrote: > Hi, > > > As some of you may have noticed we have recently deprecated Stock > Items in master. > > > Some details on this change may be found here: > https://docs.google.com/document/d/1KCVPoYQBqMbDP11tHPpjW6uaEHrvLUmcDPqKAppCY8o/pu

Re: Stock Items Deprecation

2013-07-19 Thread Murray Cumming
On Tue, 2013-07-02 at 10:56 -0400, William Jon McCann wrote: > The problems of consistency between applications is a valid one and > may be addressed the way we address other consistency issues, with > documentation and clear guidelines . We already have the Stock Items > Migration Guide That's a

Re: Stock Items Deprecation

2013-07-18 Thread John Stowers
Hi, How does this intersect with the (also deprecated AIUI) GtkSettings variables gtk-button-images and gtk-menu-images? Will those settings be honored through the Gtk+-3 series? John On Tue, 2013-07-02 at 09:41 -0400, William Jon McCann wrote: > Hi, > > > As some of you may have noticed we

Re: Stock Items Deprecation

2013-07-18 Thread Emmanuele Bassi
hi; On 18 July 2013 03:55, Krzysztof Kosiński wrote: > 2013/7/17 Emmanuele Bassi : >> GAction replaces GtkAction; images on menus have been discouraged for >> years, and the whole menu system has been replaced by GMenu XML >> descriptions that can be exported on the session bus. > > GAction has n

Re: Stock Items Deprecation

2013-07-18 Thread Emmanuele Bassi
hi; On 18 July 2013 04:59, Matthew Brush wrote: >>> Should I just stop using gtk+ for >>> development? I have not so much available time and rewriting code using >>> deprecated classes should not use it all. I clearly prefer spend time on >>> new code, or fixing bugs. >> >> >> you can still use

Re: Stock Items Deprecation

2013-07-18 Thread Murray Cumming
On Wed, 2013-07-17 at 13:52 -0300, Juan Pablo Ugarte wrote: > On Wed, 2013-07-17 at 12:55 +0200, Murray Cumming wrote: > > On Wed, 2013-07-17 at 11:23 +0100, Emmanuele Bassi wrote: > > [snip] > > > in general, GtkUIManager should be replaced by GtkBuilder, so that > > > could be added to the long d

Re: Stock Items Deprecation

2013-07-17 Thread Matthew Brush
On 13-07-17 03:21 AM, Emmanuele Bassi wrote: hi; On 17 July 2013 11:01, Jean Brefort wrote: Le mercredi 17 juillet 2013 à 11:47 +0200, Murray Cumming a écrit : On Tue, 2013-07-02 at 09:41 -0400, William Jon McCann wrote: [...] Should I just stop using gtk+ for development? I have not so m

Re: Stock Items Deprecation

2013-07-17 Thread Krzysztof Kosiński
2013/7/17 Emmanuele Bassi : > GAction replaces GtkAction; images on menus have been discouraged for > years, and the whole menu system has been replaced by GMenu XML > descriptions that can be exported on the session bus. GAction has no functionality for accelerators, icons, or automatically creat

Re: Stock Items Deprecation

2013-07-17 Thread Juan Pablo Ugarte
On Wed, 2013-07-17 at 12:55 +0200, Murray Cumming wrote: > On Wed, 2013-07-17 at 11:23 +0100, Emmanuele Bassi wrote: > [snip] > > in general, GtkUIManager should be replaced by GtkBuilder, so that > > could be added to the long description of the class instead of each > > public entry point in the

Re: Stock Items Deprecation

2013-07-17 Thread Morten Welinder
> Is there some way, as with GtkUIManager, to merge in, and later remove > and replace, menu items? I used this with GtkUIManager to dynamically > populate a menu with items not known at compile time. Specifically, how does one create menus like Firefox's History and Bookmarks menus which have dyn

Re: Stock Items Deprecation

2013-07-17 Thread David King
Hi On 2013-07-17 11:23, Emmanuele Bassi wrote: I'm sure documentation patches are welcome; I'll gladly review them. I filed a bug about the GtkAction deprecation notices, with a patch: https://bugzilla.gnome.org/show_bug.cgi?id=704392 It probably needs someone who is more intimately involve

Re: Stock Items Deprecation

2013-07-17 Thread Murray Cumming
On Wed, 2013-07-17 at 11:23 +0100, Emmanuele Bassi wrote: [snip] > in general, GtkUIManager should be replaced by GtkBuilder, so that > could be added to the long description of the class instead of each > public entry point in the API. [snip] Is there some way, as with GtkUIManager, to merge in,

Re: Stock Items Deprecation

2013-07-17 Thread Emmanuele Bassi
hi Murray; On 17 July 2013 10:47, Murray Cumming wrote: > On Tue, 2013-07-02 at 09:41 -0400, William Jon McCann wrote: >> As some of you may have noticed we have recently deprecated Stock >> Items in master. >> >> >> Some details on this change may be found here: >> https://docs.google.com/docume

Re: Stock Items Deprecation

2013-07-17 Thread Emmanuele Bassi
hi; On 17 July 2013 11:01, Jean Brefort wrote: > Le mercredi 17 juillet 2013 à 11:47 +0200, Murray Cumming a écrit : >> On Tue, 2013-07-02 at 09:41 -0400, William Jon McCann wrote: >> > Hi, >> > >> > >> > As some of you may have noticed we have recently deprecated Stock >> > Items in master. >> >

Re: Stock Items Deprecation

2013-07-17 Thread Jean Brefort
Le mercredi 17 juillet 2013 à 11:47 +0200, Murray Cumming a écrit : > On Tue, 2013-07-02 at 09:41 -0400, William Jon McCann wrote: > > Hi, > > > > > > As some of you may have noticed we have recently deprecated Stock > > Items in master. > > > > > > Some details on this change may be found here

Re: Stock Items Deprecation

2013-07-17 Thread Murray Cumming
On Tue, 2013-07-02 at 09:41 -0400, William Jon McCann wrote: > Hi, > > > As some of you may have noticed we have recently deprecated Stock > Items in master. > > > Some details on this change may be found here: > https://docs.google.com/document/d/1KCVPoYQBqMbDP11tHPpjW6uaEHrvLUmcDPqKAppCY8o/pu

Re: Stock Items Deprecation

2013-07-02 Thread William Jon McCann
Hi Tristan, On Tue, Jul 2, 2013 at 10:29 AM, Tristan Van Berkom wrote: > The document above points to this list of icon names: > > http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html#names > > What guarantees do we have that referring to an icon name in the "icon > na

Re: Stock Items Deprecation

2013-07-02 Thread William Jon McCann
Hi Bastien, Thanks for the feedback. I've added the following section about this to the document. One objection that has been raised is that now application authors will need to include and translate label strings (such as “_Save”) application-side. This means application authors will need to de

Re: Stock Items Deprecation

2013-07-02 Thread Bastien Nocera
On Tue, 2013-07-02 at 10:44 -0400, Matthias Clasen wrote: > On Tue, Jul 2, 2013 at 10:29 AM, Tristan Van Berkom wrote: > > > > > Besides what Bastian already points out, I have another concern if we > > are to consider moving > > away from stock items completely. > > > > The document above points

Re: Stock Items Deprecation

2013-07-02 Thread Matthias Clasen
On Tue, Jul 2, 2013 at 10:29 AM, Tristan Van Berkom wrote: > > Besides what Bastian already points out, I have another concern if we > are to consider moving > away from stock items completely. > > The document above points to this list of icon names: > > http://standards.freedesktop.org/icon

Re: Stock Items Deprecation

2013-07-02 Thread Tristan Van Berkom
On Tue, Jul 2, 2013 at 10:41 PM, William Jon McCann wrote: > Hi, > > As some of you may have noticed we have recently deprecated Stock Items in > master. > > Some details on this change may be found here: > https://docs.google.com/document/d/1KCVPoYQBqMbDP11tHPpjW6uaEHrvLUmcDPqKAppCY8o/pub > > Ple

Re: Stock Items Deprecation

2013-07-02 Thread Bastien Nocera
On Tue, 2013-07-02 at 09:41 -0400, William Jon McCann wrote: > Hi, > > > As some of you may have noticed we have recently deprecated Stock > Items in master. > > > Some details on this change may be found here: > https://docs.google.com/document/d/1KCVPoYQBqMbDP11tHPpjW6uaEHrvLUmcDPqKAppCY8o/pu

Stock Items Deprecation

2013-07-02 Thread William Jon McCann
Hi, As some of you may have noticed we have recently deprecated Stock Items in master. Some details on this change may be found here: https://docs.google.com/document/d/1KCVPoYQBqMbDP11tHPpjW6uaEHrvLUmcDPqKAppCY8o/pub Please let us know what you think. Thanks, Jon __