After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 378499 - request for "zoom to fit width" stock icon
request for "zoom to fit width" stock icon
Status: RESOLVED WONTFIX
Product: gtk+
Classification: Platform
Component: [obsolete] stock-icons
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2006-11-23 14:34 UTC by Michael Chudobiak
Modified: 2013-08-14 02:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
16x16 zoom to width icon (515 bytes, image/png)
2006-11-23 14:35 UTC, Michael Chudobiak
Details
24x24 zoom to width icon (1.07 KB, image/png)
2006-11-23 14:36 UTC, Michael Chudobiak
Details

Description Michael Chudobiak 2006-11-23 14:34:48 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
Comment 1 Michael Chudobiak 2006-11-23 14:35:29 UTC
Created attachment 77061 [details]
16x16 zoom to width icon
Comment 2 Michael Chudobiak 2006-11-23 14:36:12 UTC
Created attachment 77062 [details]
24x24 zoom to width icon
Comment 3 Michael Chudobiak 2006-11-23 14:51:47 UTC
This is related to gthumb bug 148971.

- Mike
Comment 4 Matthias Clasen 2010-08-25 05:35:31 UTC
I think this is covered by GTK_STOCK_ZOOM_FIT
Comment 5 Michael Chudobiak 2010-08-25 09:31:19 UTC
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
Comment 6 Matthias Clasen 2010-08-25 13:57:26 UTC
Unless its a standard icon name, adding a stock icon for it will not fix the theming issue.
Comment 7 Matthias Clasen 2013-08-14 02:42:01 UTC
gtk stock apis have been deprecated