Hi guys, I'm in the process of migrating a big code base from GTK 2.x to GTK 3.x, I've done most of the work, but I'm facing now some problems with GTK stock stuff.
I used stock stuff a lot to reduce the localizable strings needed in my code and to reduce the number of images to ship. From what I've seen there are no more stock items in GTK 3 (3.24.2 at the moment), since they have been deprecated in 3.10. It's more a removal than a deprecation since my code compiles but the program seems to fail to find at least the icons pointed by the stock item: (<unknown>:75970): Gtk-WARNING **: 12:47:16.541: Error loading theme icon 'document-new' for stock: Icon 'document-new' not present in theme Adwaita (<unknown>:75970): Gtk-WARNING **: 12:47:16.598: Error loading theme icon 'document-open' for stock: Icon 'document-open' not present in theme Adwaita (<unknown>:75970): Gtk-WARNING **: 12:47:16.599: Error loading theme icon 'document-save' for stock: Icon 'document-save' not present in theme Adwaita (<unknown>:75970): Gtk-WARNING **: 12:47:16.599: Error loading theme icon 'edit-find' for stock: Icon 'edit-find' not present in theme Adwaita There is a stack overflow post that suggests how to handle the migration from a GtkStock item to a "named icon" or a "gtk localized label": https://stackoverflow.com/questions/36805505/gtk-stock-is-deprecated-whats-the-alternative ... but what about toolbar or buttons that given the theme may have icons, labels or both? -- *Bye,* * Gabry* -- Le informazioni contenute nella presente comunicazione e i relativi allegati possono essere riservate e sono, comunque, destinate esclusivamente alle persone o alla Società sopraindicati e non sono da considerarsi comunicazioni personali, quindi eventuali risposte potranno essere conosciute da persone appartenenti all’azienda. La diffusione, distribuzione e/o copiatura del documento trasmesso da parte di qualsiasi soggetto diverso dal destinatario è proibita ai sensi dell’art. 616 c.p. I dati forniti verranno trattati ai sensi dell'art. 13 del Regolamento UE 2016/679 (normativa sulla privacy). Se ha ricevuto questo messaggio per errore Ti preghiamo di distruggerlo e di informarci immediatamente contattandoci mandando una mail a priv...@wyscout.com <mailto:priv...@wyscout.com>. Copia integrale dell’informativa potrà essere visionata presso le nostre sedi. Any information herein included (even any attachments) shall be considered confidential and/or privileged material and meant to be only for the abovementioned persons and/or Company, therefore such communication is intended to be for the addressee only. Such information is not personal, that is why this e-mail and any replies may be known exclusively by people belonging to the company. It is expressively not allowed communicate, disclose and/or copy any documentation transmitted by a person other than the recipient, according to the Italian Criminal Code, Section 616 and the Regulation EU 2016/679. Your provided data are processed in accordance with Regulation EU 2016/679 (Data Protection Law), Section 13. A full copy of the relevant information notice is available at the company’s registered office upon request. If you received this in error, please destroy it and inform us immediately by sending an e-mail to the following e-mail address priv...@wyscout.com <mailto:priv...@wyscout.com>. A full copy of the relevant information notice is available at the company’s registered office upon request. _______________________________________________ gtk-app-devel-list mailing list firstname.lastname@example.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list