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 520114 - Seahorse icon makeover
Seahorse icon makeover
Status: RESOLVED FIXED
Product: seahorse
Classification: Applications
Component: general
2.21.x
Other Linux
: Normal normal
: 2.22.0
Assigned To: Seahorse Maintainer
Seahorse Maintainer
: 524081 (view as bug list)
Depends on: 395691 546486
Blocks:
 
 
Reported: 2008-03-03 15:34 UTC by Michael Monreal
Modified: 2008-08-31 19:52 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
Patch v0.1 (30.77 KB, patch)
2008-03-03 15:39 UTC, Michael Monreal
none Details | Review
Icons v0.1 (156.52 KB, application/x-bzip)
2008-03-03 15:41 UTC, Michael Monreal
  Details
Patch v0.1.1 (30.78 KB, patch)
2008-03-03 16:43 UTC, Michael Monreal
none Details | Review
Patch v1.2 (29.09 KB, patch)
2008-03-04 04:02 UTC, Adam Schreiber
none Details | Review
preference icon (8.43 KB, application/x-gzip)
2008-08-05 21:33 UTC, Andreas Nilsson
  Details
Seahorse icon stuff for 2.24 (240.00 KB, application/x-compressed-tar)
2008-08-05 23:44 UTC, Michael Monreal
  Details

Description Michael Monreal 2008-03-03 15:34:15 UTC
Seahorse currently has a few problems related to icons:

- some icons are not available in all required sizes, leading to ugly scaling
- some icons look a bit blurry (missing grid alignment?)
- some icons could use better metaphors
- some items/buttons use GTK stock icons for actions that require other icons
- some icons don't really have any meaning
- the icons are installed in a legacy location

To solve this, we need to patch seahorse to make use of proper icon theming and provide all the following icons (hope I got this list right):

Application icons:
  seahorse (16, 22, 24, 32, 48) // already done by Lapo
  seahorse-preferences (16, 22, 24, 32, 48) // desktop key related settings
  seahorse-applet (16, 22, 24, 32, 48)

Icons needing refresh for main interface:
  seahorse-key-personal (22, 48) // gpg key
  seahorse-key-ssh (22, 48) // ssh key
  seahorse-sign (48)
  seahorse-sign-ok (48) // signed & signature verified
  seahorse-sign-bad (48) // signed & verification failed
  seahorse-sign-unknown (48) // signed & no key to verify

New icons needed for main interface:
  seahorse-person (64) // placeholder for real photo, perhaps use stock_person?
  sync (16, 22) => get this one into gnome-icon-theme? many apps want this
  sign (16, 22) => "sign a key" action
  revoke (16, 22) => revoke a signature

Icons needing refresh for applet:
  seahorse-applet-unknown (22) => clipboard (empty?)
  seahorse-applet-text (22) => clipboard has text
  seahorse-applet-encrypted (22) => clipboard has encrypted text
  seahorse-applet-signed (22) => clipboard has signed text
  seahorse-applet-key (22) => clipboard has a key

Icons we can most likely cut:
  seahorse-key
  seahorse-person (22, 48)
  seahorse-share-keys

Let's make sure we finish all the required work to push this into 2.23.x early after the branching.
Comment 1 Michael Monreal 2008-03-03 15:39:09 UTC
Created attachment 106481 [details] [review]
Patch v0.1

This is probably as good as I can make it without spending much more time with the seahorse code. As far as I can see there are two issues here:

- "(seahorse:31233): Gtk-WARNING **: could not load image: Icon 'gnome-stock-authentication' not present in theme" -> I'm not sure what happens here or where the icons in the gnome keyring list come from. Probably some "unported" code in seahorse_key_get_stock_id?

- seahorse-preferences (when started standalone) has no window icon and missing sharing icon. As the sharing icon is likely to be removed, only the window icon is a problem. Adam told me that the preferences dialog will probably be split out of the app completely, so that would be easy to solve in that case. If not, we would probably have to make it another icon if started standalone (seahorse.png vs seahorse-preferences.png)
Comment 2 Michael Monreal 2008-03-03 15:41:14 UTC
Created attachment 106482 [details]
Icons v0.1

This is basicly a repack of all the old icons and Lapo's new app icon and many placeholder icons (most of which we won't need in the end. I will update this pack when the new icons are available. The icons/ folder will go into data/ and replace pixmaps/
Comment 3 Adam Schreiber 2008-03-03 16:00:27 UTC
The list looks good.

The seahorse-applet-unknown is used not when the clipboard is empty, but when it has something that isn't text in it. 
Comment 4 Michael Monreal 2008-03-03 16:43:19 UTC
Created attachment 106487 [details] [review]
Patch v0.1.1

Fixed patch, don't know how I managed to produce the first one...
Comment 5 Adam Schreiber 2008-03-04 04:02:54 UTC
Created attachment 106528 [details] [review]
Patch v1.2

Gets rid of the GNOME_STOCK_AUTHENTICATION missing error message.  A replacement for GNOME_STOCK_BLANK is still needed though.
Comment 6 Michael Monreal 2008-03-04 09:42:56 UTC
One thing I just noticed is that seahorse-gtkstock.h should better be called something like seahorse-icons.h

Adding Lapo to the CC, let's get those icons done!
Comment 7 Adam Schreiber 2008-03-24 11:31:47 UTC
*** Bug 524081 has been marked as a duplicate of this bug. ***
Comment 8 Saleem Abdulrasool 2008-05-06 06:39:07 UTC
If you are modifying seahorse-gkeyring-item.c's use of GNOME_STOCK_AUTHENTICATION and replacing it with GTK_STOCK_DIALOG_AUTHENTICATION, you should drop the #define for the GNOME_STOCK_AUTHENTICATION.
Comment 9 Michael Monreal 2008-08-05 17:39:31 UTC
So it's late into the cycle again... Do we want to at least fix the main app icon for 2.24? I still really like the icons lapo did...
Comment 10 Adam Schreiber 2008-08-05 18:26:36 UTC
I'd be ok with fixing the main icon now, as long as we can get the UI Freeze break.  This next bit is an honest question because I'm not at all a UI guru: Is it worth fixing one icon at the expense of consistent look and feel?
Comment 11 Michael Monreal 2008-08-05 18:43:38 UTC
That's a very valid question, but as seahorse is already shipping "tango icons" (more or less, at least they aim to be) I would not see this as a problem in this case.

Anything you don't like about Lapo's initial design or want to be changed? IIRC there's about 10 days left before freeze so we should be able to get this part done.
Comment 12 Adam Schreiber 2008-08-05 20:08:41 UTC
The design is good by me.  The only thing I think that stands out is the difference in color sets between the new main icon and the old icons. 
Comment 13 Andreas Nilsson 2008-08-05 21:33:07 UTC
Created attachment 115936 [details]
preference icon

Regarding the icons in the actual UI, I don't think we need to make sure those are the same colors as the app key, so I think Michaels work is all well.
Comment 14 Michael Monreal 2008-08-05 23:44:22 UTC
Created attachment 115946 [details]
Seahorse icon stuff for 2.24

So this is what we should do for 2.24 IMHO:

* replaces seahorse and seahorse-preferences icons (launcher/window/about)
* patches for seahorse and seahorse-plugins
* patch includes fix for about menu item
* icons dir goes to seahorse/data/ as is (includes makefile & source dir)
* removes seahorse and seahorse-preferences icons from pixmaps/ makefiles

Question: why does seahorse-plugins also ship icons, even to the same location? I guess this will cause much trouble for packagers. IMHO seahorse-plugins should only ship the icons it really needs, same for seahorse.
Comment 15 Michael Monreal 2008-08-13 22:01:09 UTC
Any news here? It's just a few days left till UI freeze.
Comment 16 Adam Schreiber 2008-08-13 23:39:17 UTC
Sorry, I've been at a conference in Chicago since you sent in the patch.

Answer: All part of fixing inconsistencies in the split of seahorse-plugins from seahorse.  I believe if you ask Stef, he would say it was expedient.

seahorse-plugins
2008-08-13  Adam Schreiber  <sadam@clemson.edu>
    
    * pixmaps/22x22/Makefile.am:
    * pixmaps/48x48/Makefile.am:
    * pixmaps/scalable/Makefile.am:
    * libseahorse/seahorse-widget.c:
    * libseahorse/seahorse-gtkstock.c:
    * libseahorse/seahorse-gtkstock.h: Icon makover.  Patch from Michael Monreal.
    Part of fixing bug #520114

seahorse
2008-08-13  Adam Schreiber  <sadam@clemson.edu>

    * data/icons/hicolor_apps_16x16_seahorse.png (added):
    * data/icons/hicolor_apps_16x16_seahorse-preferences.png (added):
    * data/icons/hicolor_apps_22x22_seahorse.png (added):
    * data/icons/hicolor_apps_22x22_seahorse-preferences.png (added):
    * data/icons/hicolor_apps_24x24_seahorse.png (added):
    * data/icons/hicolor_apps_24x24_seahorse-preferences.png (added):
    * data/icons/hicolor_apps_32x32_seahorse.png (added):
    * data/icons/hicolor_apps_32x32_seahorse-preferences.png (added):
    * data/icons/hicolor_apps_48x48_seahorse.png (added):
    * data/icons/hicolor_apps_48x48_seahorse-preferences.png (added):
    * data/icons/Makefile.am (added):
    * data/icons/svg (added):
    * data/icons/svg/seahorse.svg (added):
    * data/icons/svg/seahorse-preferences.svg (added):
    * pixmaps/22x22/Makefile.am:
    * pixmaps/48x48/Makefile.am:
    * pixmaps/scalable/Makefile.am:
    * src/seahorse-viewer.vala:
    * data/Makefile.am:
    * configure.in:
    * libseahorse/seahorse-widget.c:
    * libseahorse/seahorse-gtkstock.c:
    * libseahorse/seahorse-gtkstock.h: Icon makeover.  Patch from Michael 
    Monreal.  Fixes bug #520114

We should be good now.  Let me know if I accidentily missed something.
Comment 17 Stef Walter 2008-08-31 19:52:28 UTC
BTW guys, these new icons and fixes look really good.