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 387537 - Use "user-bookmarks" named icon for Places->Bookmarks
Use "user-bookmarks" named icon for Places->Bookmarks
Status: RESOLVED DUPLICATE of bug 547626
Product: gnome-panel
Classification: Other
Component: menu
git master
Other All
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
: 481001 520809 (view as bug list)
Depends on: 540456
Blocks:
 
 
Reported: 2006-12-19 15:30 UTC by Luca Ferretti
Modified: 2008-11-24 18:34 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
A quick but cool SVG icon for bookmarked folders (19.10 KB, image/svg+xml)
2006-12-19 15:35 UTC, Luca Ferretti
  Details
The proposed path to code (1.82 KB, patch)
2006-12-19 16:04 UTC, Luca Ferretti
none Details | Review
A screenshot showing new icon in use (28.46 KB, image/png)
2006-12-19 16:06 UTC, Luca Ferretti
  Details
Patch to use "folder-open" icon (474 bytes, patch)
2008-01-19 10:13 UTC, Luca Ferretti
none Details | Review
Screenshot with latest proposed patch. (61.68 KB, image/png)
2008-01-19 10:22 UTC, Luca Ferretti
  Details
the patch to use fd.o's 'user-bookmarks' icon (427 bytes, patch)
2008-05-17 08:01 UTC, Jones Lee
reviewed Details | Review

Description Luca Ferretti 2006-12-19 15:30:58 UTC
The Places->Bookmarks menu entry appears when you have a lot of bookmarked locations.

Currently this menu entry is using the "stock_bookmark" named icon from gnome-icon-theme. After the recent switch to Icon Naming Spec and Tango Style, this icon is deprecated.

A solution to have a good icon (in appearance, name and installation path) could be install it as app-specific named icon (see [1] for details).

But 'cause the same icon could be used in other apps (Nautilus, file-chooser) and panel is a core application in GNOME Desktop, I'll ask on theme list to comment about this bug.

Meanwhile I'll prepare icons to install within gnome-panel (merging the folder icon from gnome-icon-theme and the recent bookmark-view icon in Epiphany) and a patch to use it.

Also I'n not sure about name... Maybe "folder-bookmarks" or "bookmark-folders"?

[1] http://live.gnome.org/ThemableAppIcons
Comment 1 Luca Ferretti 2006-12-19 15:35:45 UTC
Created attachment 78630 [details]
A quick but cool SVG icon for bookmarked folders
Comment 2 Luca Ferretti 2006-12-19 16:04:17 UTC
Created attachment 78631 [details] [review]
The proposed path to code

The patch to use panel-specific themeable icon is really trivial. Of course you need images installed at $(prefix)/share/gnome-panel/icons/hicolor/<size>/<context>
Comment 3 Luca Ferretti 2006-12-19 16:06:02 UTC
Created attachment 78632 [details]
A screenshot showing new icon in use
Comment 4 Vincent Untz 2007-01-04 14:18:25 UTC
I'd prefer if it was not an app-specific icon. Any reply about this on the theme list?
Comment 5 Luca Ferretti 2007-01-05 19:26:13 UTC
(In reply to comment #4)
> I'd prefer if it was not an app-specific icon. Any reply about this on the
> theme list?
> 

No replies :-(

Currenly only icons from Icon Naming Spec are allowed in gnome-icon-theme, so we should ask for a new common named icon.
Comment 6 Vincent Untz 2007-01-15 22:51:40 UTC
Btw, I'm not forgetting about this patch, but I won't commit this before you get a reply about the not-app-specific icon.
Comment 7 Vincent Untz 2007-09-28 14:15:38 UTC
*** Bug 481001 has been marked as a duplicate of this bug. ***
Comment 8 Luca Ferretti 2008-01-19 10:06:51 UTC
Vincent, what about use a simple and standard "folder-open"? It's defined in fd.o Naming Spec, provided by gnome-icon-theme and other Naming Spec compliant icon themes, represents a folder and you don't need to provide custom icons for panel.

A good compromise, IMHO.
Comment 9 Luca Ferretti 2008-01-19 10:13:04 UTC
Created attachment 103191 [details] [review]
Patch to use "folder-open" icon
Comment 10 Luca Ferretti 2008-01-19 10:22:03 UTC
Created attachment 103192 [details]
Screenshot with latest proposed patch.
Comment 11 Christopher Roy Bratusek 2008-03-02 08:55:46 UTC
On my System Places/Bookmarks already uses a different icon:

http://www.nanolx.org/panel.png
(Screenshot)

It uses either stock_bookmark or gtk-stock-book (both are the same).

I guess it's just the icon that's missing.
Comment 12 Baptiste Mille-Mathias 2008-03-06 18:43:09 UTC
*** Bug 520809 has been marked as a duplicate of this bug. ***
Comment 13 Jones Lee 2008-05-10 10:32:05 UTC
Why don't we use the fdo's 'user-bookmark' icon? I just checked out the spec, though the icon is not yet designed however it IS in the naming spec.

Check out at http://people.freedesktop.org/~jimmac/icons/#tit   Go to Places section. IMHO, this is the best solution ;)
Comment 14 Jones Lee 2008-05-10 10:55:12 UTC
Edit: I mean add those 2 icons into the naming-spec, we don't to make git dirty right? ;)
Comment 15 Jones Lee 2008-05-17 08:01:41 UTC
Created attachment 111033 [details] [review]
the patch to use fd.o's 'user-bookmarks' icon

The Luca's patch is no longer a valid patch since the structure of gnome-panel has changed. So this is a valid one.
Comment 16 Jones Lee 2008-05-17 08:03:55 UTC
Comment on attachment 111033 [details] [review]
the patch to use fd.o's 'user-bookmarks' icon

user-bookmarks icon
Comment 17 Luca Ferretti 2008-06-27 10:17:47 UTC
I agre, "user-bookmars" was recently added to Icon Naming Spec and gnome-panel should use it.

 * changed bug summary
 * added deps on gnome-icon-theme bug
 * obsoleted previous patches
 * reviewed latest patch
 * target for 2.23/24

Vincent, OK to commit when the new icon will be available in gnome-icon-theme?
Comment 18 Vincent Untz 2008-06-27 14:01:10 UTC
(In reply to comment #17)
> Vincent, OK to commit when the new icon will be available in gnome-icon-theme?

I was actually waiting to see the icon appear in gnome-icon-theme before applying the patch :-)
Comment 19 André Klapper 2008-07-30 17:32:33 UTC
Luca: So is the new icon in for gnome-icon-theme now?
Otherwise we should push to get http://bugzilla.gnome.org/show_bug.cgi?id=387537#c1 in...
Comment 20 Jones Lee 2008-07-31 02:14:32 UTC
Just checked http://people.freedesktop.org/~jimmac/icons

The icon is not yet up, and I don't see any point push a custom icon then get it removed shortly after. Better we wait.
Comment 21 André Klapper 2008-07-31 09:23:48 UTC
OK. Then it's definitely not a GNOME target - unsetting the milestone.
Comment 22 Jones Lee 2008-08-16 14:22:50 UTC
The user-bookmarks icon is now added to g-i-t:

Revision 1846 - (view) (annotate) - [select for diffs]
Modified Wed Aug 13 16:05:27 2008 UTC (2 days, 22 hours ago) by andreasn
File length: 203390 byte(s)
Diff to previous 1842

added user-bookmarks icon

It is finally time to apply the patch! Yay! 
Comment 23 Andrew Starr-Bochicchio 2008-09-11 14:02:11 UTC
This patch has already been committed, please close...

trunk/gnome-panel/ panel-icon-names.h 	1/1 	Mon Aug 18 19:17:54 2008 UTC
  
2008-08-18  Baptiste Mille-Mathias <baptiste.millemathias@gmail.com>

   * gnome-panel/panel-icon-names.h: change the bookmark icon name 
   according to latest gnome-icon-theme, so version 2.23.90 is needed now.
   Patch from Michael Monreal <michael.monreal@gmx.net>.
   Fix bug #547626.

Comment 24 Vincent Untz 2008-09-11 14:19:39 UTC

*** This bug has been marked as a duplicate of 547626 ***