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 386226 - Toolbar icons in old gnome-style
Toolbar icons in old gnome-style
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: general
0.6.x
Other All
: Normal trivial
: ---
Assigned To: Evince Maintainers
Evince Maintainers
: 340573 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-12-15 15:24 UTC by Andreas Nilsson
Modified: 2007-08-15 04:43 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
New icons for page-view-facing and page-new-continuous (5.31 KB, application/x-gzip)
2006-12-15 15:28 UTC, Andreas Nilsson
  Details
zoom-fit-width in 16x16 and 22x22 (6.38 KB, application/x-gzip)
2006-12-15 16:56 UTC, Andreas Nilsson
  Details
The patch to use app-specific themeable icons when installed. (1.49 KB, patch)
2006-12-18 12:37 UTC, Luca Ferretti
none Details | Review
Fixed the names (5.33 KB, application/x-gzip)
2006-12-18 12:51 UTC, Andreas Nilsson
  Details
Same patch, but using "continuous" (1.49 KB, patch)
2006-12-18 14:15 UTC, Luca Ferretti
none Details | Review
New patch, fixing names (view-page*) and applying changes to ev-stock-icons.h file too (2.58 KB, patch)
2006-12-18 14:21 UTC, Luca Ferretti
committed Details | Review
view-sidepane in 16x16 and 22x22 (2.48 KB, application/x-gzip)
2006-12-18 15:45 UTC, Andreas Nilsson
  Details
view-page actions in 32x32 and 48x48 (17.99 KB, application/x-gzip)
2007-08-01 23:00 UTC, Andreas Nilsson
  Details

Description Andreas Nilsson 2006-12-15 15:24:36 UTC
Please describe the problem:
The toolbar icons in evince is currently drawn i the old gnome-style. The icons need to follow the tango style guidelines to fit in with the rest of GNOME.

Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Andreas Nilsson 2006-12-15 15:28:47 UTC
Created attachment 78434 [details]
New icons for page-view-facing and page-new-continuous

These should be installed according to these instructions in order to be themeable.
http://live.gnome.org/ThemableAppIcons
Comment 2 Wouter Bolsterlee (uws) 2006-12-15 15:38:54 UTC
Thanks, looks good. Any chance you can come up with a zoom-fit-width icon?
Comment 3 Andreas Nilsson 2006-12-15 16:56:52 UTC
Created attachment 78437 [details]
zoom-fit-width in 16x16 and 22x22
Comment 4 Wouter Bolsterlee (uws) 2006-12-18 11:28:36 UTC
Thanks, I'll look into it later!
Comment 5 Luca Ferretti 2006-12-18 12:37:07 UTC
Created attachment 78556 [details] [review]
The patch to use app-specific themeable icons when installed.

Here are all needed changes to evince source to use those new app-specific themable icons as well as "view-restore" for Exit Fullscreen action instead deprecated icon.

Icons Issues:
  * Andreas, should "page-view-cont" icon in you package named 
   "page-view-continuous"?
  * Also, "page-view-*" or "view-page-*"? IMHO the second.

Missing Icons:
  * "zoom-fit-page"

Missing Named Icons[1]:
  * "view-sidepane" --> in toolbar to view/hide the side pane (maybe "open-*"?)
  * "go-previous-page" --> for Back toolbar item (link history). Maybe something
    like the new History incon in Epiphany, but replacing the clock with a 
    paper?

Other Issues:
  * The latest gnome-icon-theme provides an update "edit-select-all" icon. 
    Evince is using the GTK_STOCK item, but it seems that there is no rule
    in current icon-naming-utils to create the needed link. 'cause Evince is
    yet using some icons from the Icon Naming Standard, we could replace
    the GTK_STOCK with the new named icon without waiting for a new
    icon-naming-utils release.



[1] Icons not yet defined and/or used in Evince sources
Comment 6 Luca Ferretti 2006-12-18 12:38:45 UTC
Of course Missing Named Icons are also Missing Icons :-)
Comment 7 Andreas Nilsson 2006-12-18 12:51:10 UTC
Created attachment 78559 [details]
Fixed the names
Comment 8 Luca Ferretti 2006-12-18 14:15:16 UTC
Created attachment 78565 [details] [review]
Same patch, but using "continuous"
Comment 9 Luca Ferretti 2006-12-18 14:21:58 UTC
Created attachment 78567 [details] [review]
New patch, fixing names (view-page*) and applying changes to ev-stock-icons.h file too
Comment 10 Andreas Nilsson 2006-12-18 14:56:50 UTC
  * "go-previous-page" --> for Back toolbar item (link history). Maybe
something

Where is that used, is it new?
Can't find it in 0.6.1, I'm afraid.

I'll get on view-sidepane. Not convinced about the use of it, but whatever, I'll shut up and draw. ;)
Comment 11 Andreas Nilsson 2006-12-18 15:45:14 UTC
Created attachment 78573 [details]
view-sidepane in 16x16 and 22x22

Kind of crappy icon for view-sidepane. I would rather see the sidepane button removed than using this.
Comment 12 Luca Ferretti 2006-12-18 21:34:17 UTC
(In reply to comment #10)
>   * "go-previous-page" --> for Back toolbar item (link history). Maybe
> something
> 
> Where is that used, is it new?
> Can't find it in 0.6.1, I'm afraid.

It's a new feature of development version (just relased the 0.7.0)

When the document you are viewing has internal links, you can click and jump to target. You can add on toolbar a "Back" button (by now showing the "go-down" arrow) to open a drop down list of the pages before each jump.

Something like the history arrow buttons on Epiphany or Nautilus toobars.
Comment 13 Wouter Bolsterlee (uws) 2006-12-19 09:50:31 UTC
It should be noted this is VERY MUCH a work in progress, so don't expect it to become a default toolbar item in the near future...
Comment 14 Luca Cavalli 2006-12-20 16:20:26 UTC
*** Bug 340573 has been marked as a duplicate of this bug. ***
Comment 15 Luca Ferretti 2007-01-10 13:17:09 UTC
Any news? Is it OK to commit at least ready stuff (i.e. my patch in comment #9 and related icons from Andreas)?
Comment 16 Wouter Bolsterlee (uws) 2007-01-10 14:37:32 UTC
There's a release planned today, so please wait a bit. Feel free to mess around in svn tomorrow... apply your patch and make sure it works :)
Comment 17 Nickolay V. Shmyrev 2007-01-10 16:47:52 UTC
Hm, I am slightly opposed to this idea. For me it seems dumb do have a separate dir into /usr/share/evince for our own icons. We don't need app-specific icons, we extremely need common icons for all applications. Were there discussion on d-d-l about new icons location? At least I don't remember anything similar.
Comment 18 Luca Ferretti 2007-01-11 09:18:35 UTC
It's not a new icon location, it's just the best way to provide fresh (aka Tango-style) and themeable icons using available GTK+ features, avoiding to install them in the shared $prefix/share/icons/hicolor creating collisions. 

Currently only icons defined in Icon Naming Spec are accepted by gnome-icon-theme maintainers. "Legacy" icons (stuff under stock/* directories) are unmaintained. There was some threads on desktop-devel-list about current gnome-icon-theme goals:
 * http://mail.gnome.org/archives/desktop-devel-list/2006-January/msg00302.html  
 * http://mail.gnome.org/archives/desktop-devel-list/2006-February/msg00024.html
 * http://mail.gnome.org/archives/desktop-devel-list/2006-July/msg00797.html

(mostly complaints about the switch...)

Of course there are common icons not listed in Icon Naming Spec that could be used by different applications. For example a "playlist" icons could be shared by different audio applications (Totem, Rhythmbox, Banshee).

The long term plan is provide special subsets of icon theme. For example we'll have gnome-icon-theme-mime (providing "audio-x-mp3" and "audio-x-ogg", while the basic set defines only "audio-x-generic" for all audio files) or gnome-icon-theme-device (media-optical-cd, media-optical-cd-r, media-optical-cd-rw and so on). There are yet two proposal on tango web site (http://tango.freedesktop.org/ArtLibreSet and http://tango.freedesktop.org/CodeTangoSet) and others will come.

By now we are trying to complete the basic set, the one defined by Icon Naming Spec, but we also like to see more Tango-style icons in applications (see for example recent changes in Epiphany). So the workaround solution is install icons as custom app icons and use them as named icon in sources (using the best name for theme). So, when new sets will be ready, you can simply remove custom icons from build and in case change names.

Of course some application could need icons not listed in any sub-spec, so the custom app icon workaround will be the only available way to install those custom icons in a neat way, keeping theme themeable. 

I wrote an email on d-d-l [1], but there was no reply. However currently Epiphany, Epiphany-extensions, FileRoller and Brasero are using this approach.

[1] http://mail.gnome.org/archives/desktop-devel-list/2006-December/msg00137.html
Comment 19 Nickolay V. Shmyrev 2007-01-13 17:23:40 UTC
Sorry, Luca, I've incorrectly spelled your mail. I've just replied on ddl

http://mail.gnome.org/archives/desktop-devel-list/2007-January/msg00344.html

Comment 20 Nickolay V. Shmyrev 2007-01-18 22:03:56 UTC
Heh, ok, you've convinced me. So it would be nice if someone will commit everything here.
Comment 21 Luca Ferretti 2007-01-19 13:20:47 UTC
Great, I'm doing it.
Comment 22 Luca Ferretti 2007-01-19 14:24:01 UTC
Commited view-page-facing, view-page-continuous, zoom-fit-width and zoom-fit-page icons (zoom-fit-page is just the zoom-fit-width from Andreas, but using a vertical arrow).

Also I moved Evince icons from <size>/evince.<ext> to <size/apps/evince.<ext>.
Comment 23 Carlos Garcia Campos 2007-01-19 18:19:25 UTC
Thanks Luca, this bug should be closed then. I've just modified your patch slightly to use icon-theme associated with current window screen. 
Comment 24 Andreas Nilsson 2007-08-01 23:00:04 UTC
Created attachment 92891 [details]
view-page actions in 32x32 and 48x48

Although this is bug closed, I realised we were missing the 32x32 and 48x48 sizes of these actions. HighContrast versions in the works.
Comment 25 Wouter Bolsterlee (uws) 2007-08-02 09:01:12 UTC
Reopening.
Comment 26 Nickolay V. Shmyrev 2007-08-15 04:43:15 UTC
Applied, thanks a lot!