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 538547 - Update doc-shooter in gtk documentation
Update doc-shooter in gtk documentation
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Documentation
2.12.x
Other Linux
: Normal enhancement
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2008-06-16 06:28 UTC by Baptiste Mille-Mathias
Modified: 2008-07-03 17:31 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
the patch (936 bytes, patch)
2008-06-16 06:28 UTC, Baptiste Mille-Mathias
none Details | Review
with the diff done at the root of gtk (969 bytes, patch)
2008-06-16 06:33 UTC, Baptiste Mille-Mathias
none Details | Review
screenshot using a other files (6.00 KB, image/png)
2008-06-29 10:01 UTC, Baptiste Mille-Mathias
  Details
the patch (1.55 KB, patch)
2008-06-29 10:02 UTC, Baptiste Mille-Mathias
committed Details | Review
icons (2.60 KB, application/x-gzip)
2008-06-29 10:02 UTC, Baptiste Mille-Mathias
  Details

Description Baptiste Mille-Mathias 2008-06-16 06:28:05 UTC
The patch attach update the doc-shooter application to use directly icon lookup code instead of loading old styled (before GNOME 2.0) icons
Comment 1 Baptiste Mille-Mathias 2008-06-16 06:28:30 UTC
Created attachment 112811 [details] [review]
the patch
Comment 2 Baptiste Mille-Mathias 2008-06-16 06:33:45 UTC
Created attachment 112812 [details] [review]
with the diff done at the root of gtk
Comment 3 Matthias Clasen 2008-06-16 12:28:37 UTC
But...thats not the same images... I think I prefer it the way it is, with the content of the icon view being clearly application data, not images that came from the toolkit.
Comment 4 Christian Dywan 2008-06-16 12:36:54 UTC
This looks to me like an arbitrary decision led by the taste of one person.

Using stock icons is clearly better suited since they actually depend on the theme of the user. So anyone still has the choice of using any icons but nobody is forced to use the provided images.
Comment 5 Christian Dywan 2008-06-16 12:41:49 UTC
(In reply to comment #2)
> Created an attachment (id=112812) [edit]
> with the diff done at the root of gtk

Incidentally please use 'diff -p' in the future (or a script containing '/usr/bin/diff -up --label "${3}" ${6} --label "${5}" ${7}' in the case of svn).
Comment 6 Matthias Clasen 2008-06-16 12:55:23 UTC
Christian, the theme of the user doesn't even come into play here. This is a tool that is run offline to generate image for the api docs. It never touches 
a user system. 

We can talk about replacing the current images by different ones. But using stock icons is not the right thing.
Comment 7 Baptiste Mille-Mathias 2008-06-16 12:59:15 UTC
(mid-air collision)

(In reply to comment #3)
> But...thats not the same images... I think I prefer it the way it is, with the
> content of the icon view being clearly application data, not images that came
> from the toolkit.
> 

My point was to put modern pixmaps, and as the key of the code was not the pictures by themself but the icon-view, I thought I could load pixmaps from the theme.
IF you want I can provide a patch to change the icons for widgets.c and makefile.am, and upload modern icons.

Cheers.
Comment 8 Christian Dywan 2008-06-16 13:24:26 UTC
(In reply to comment #6)
> Christian, the theme of the user doesn't even come into play here. This is a
> tool that is run offline to generate image for the api docs. It never touches 
> a user system. 

I guess my wording was somewhat unclear. What I meant basically is, that using stock icons means that for instance current GNOME icons can be used, the *user* here being a developer who runs a recent system. This would have the advantage that if icons start to look "old" again, one of the icon theme guys would probably already have updated the default icons.

> We can talk about replacing the current images by different ones. But using
> stock icons is not the right thing.

If your position is not as nostalgic as I read it, I see that as an option. I don't have a strong opinion, I just thought of it as less of a burden on designers.
Comment 9 Baptiste Mille-Mathias 2008-06-29 10:01:44 UTC
Created attachment 113600 [details]
screenshot using a other files

I keep a GNOME foot just updated to the latest version and a folder
patch and icons coming
Comment 10 Baptiste Mille-Mathias 2008-06-29 10:02:08 UTC
Created attachment 113601 [details] [review]
the patch
Comment 11 Baptiste Mille-Mathias 2008-06-29 10:02:40 UTC
Created attachment 113602 [details]
icons

I can do the commit if you want.

cheers
Comment 12 Matthias Clasen 2008-07-03 05:07:18 UTC
Looks fine to me, please commit
Comment 13 Matthias Clasen 2008-07-03 17:31:09 UTC
        * docs/tools/Makefile.am:
        * docs/tools/folder.png:
        * docs/tools/gnome.png: New images

        * docs/tools/widgets.c: Use the new images.
        Patch by Baptiste Mille-Mathias.