GNOME Bugzilla – Bug 378499
request for "zoom to fit width" stock icon
Last modified: 2013-08-14 02:42:01 UTC
Hello, I've implemented a zoom-to-fit-width mode for gthumb. This is useful when reading scanned text documents. It would be useful to have stock gtk icons for this mode, to correspond to the other stock zoom icons. I have attached 16x16 and 24x24 sample icons below, which I am using in gthumb. Can someone add these to gtk? - Mike
Created attachment 77061 [details] 16x16 zoom to width icon
Created attachment 77062 [details] 24x24 zoom to width icon
This is related to gthumb bug 148971. - Mike
I think this is covered by GTK_STOCK_ZOOM_FIT
No, zoom-to-fit-window (GTK_STOCK_ZOOM_FIT) is different than zoom-to-fit-width. Imagine a word processor. Sometimes you want to see the entire page (GTK_STOCK_ZOOM_FIT), but you can't actually read the text that way. More often, you zoom so the page width fits the screen, but not the height. Different cases. gThumb uses both, and defines its own zoom-fit-width.png icon, which breaks theming with the other zoom icons. - Mike
Unless its a standard icon name, adding a stock icon for it will not fix the theming issue.
gtk stock apis have been deprecated