Bug 475791 - allow customization of main-menu (computer) icon
Summary: allow customization of main-menu (computer) icon
Status: RESOLVED WONTFIX
Alias: None
Product: openSUSE 11.1
Classification: openSUSE
Component: GNOME (show other bugs)
Version: Final
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: Future/Later
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: main-menu-behavior
  Show dependency treegraph
 
Reported: 2009-02-13 17:31 UTC by Scott Reeves
Modified: 2012-05-15 16:59 UTC (History)
4 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
patch (4.91 KB, patch)
2009-02-13 22:10 UTC, Scott Reeves
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Reeves 2009-02-13 17:31:16 UTC
Beta customers have requested the ability to customize the icon for the main-menu button (computer button).
Comment 1 Scott Reeves 2009-02-13 22:10:35 UTC
Created attachment 272807 [details]
patch

This patch adds a gconf key /desktop/gnome/applications/main-menu/panel_button_override_icon_name.

Packages are in the internal build service in home:sreeves1:branches:SUSE:SLE-11:GA/gnome-main-menu.
Comment 2 Scott Reeves 2009-02-18 00:24:04 UTC
You can test this with the gnome-main-menu packages from
http://repos.suse.de/home:/sreeves1:/branches:/SUSE:/SLE-11:/GA/standard/
Comment 3 Scott Reeves 2009-02-18 16:45:30 UTC
Also available here - http://www.gnome.org/~sreeves/gnome-main-menu/
Comment 4 Forgotten User kmKxPAS-l0 2009-02-18 18:27:38 UTC
Sorry to be dense on this one but it appears that the RPMs available in the URL listed on Comment 3 are older than those provided in RC4. Am I to backrev?

Additionally, can someone provide the specific command line for installing the intended RPMs?

Thanks,
Jason
Comment 5 Forgotten User kmKxPAS-l0 2009-02-18 21:04:18 UTC
Installed package, found key in gconf-editor and pointed to a PNG file in my home directory. Restarted and I get a red X in a white box in place of the normal computer icon. Additionally, the text to the right, "Computer," is still present.

Is there a particular resolution the image file must match in order to be used? Is there a way to alter the text?

Thanks,

Jason
Comment 6 Scott Reeves 2009-02-18 22:20:38 UTC
The revision number being older was a temporary build service problem - I have updated the packages with newer versions.

The icon name needs to be the name of an icon installed (and cached) in the standard icon path so gtk_image_set_from_icon_name can find it. You might need to run /sbin/SuSEconfig to update the icon cache if you just installed it.

No way to change the text - can only change the icon.

The newer versions have an updated description in the gconf schema listing the default name and how to replace it.
Comment 7 Forgotten User kmKxPAS-l0 2009-02-18 22:42:12 UTC
Sorry but I'm not sure how I'm suppose to know the name of such an icon. Can someone provide specific instructions for how to use a custom icon?


Thank you,
Jason
Comment 8 Scott Reeves 2009-02-20 20:52:49 UTC
The exact icon loaded is dependent on your current theme and XDG env vars.

On a stock SLED install it looks first in /usr/share/icons/Tango so to test this

1. Make sure you have the latest version from comment #3 installed.
2. run gconf-editor and edit key in comment #1
   look at the long description for that key
   it indicates the default value is gnome-fs-client
3  Replace the empty override value with some icon name in that dir (for example - "camera")
4. relogin (or type "killall main-menu" and hit the reload button on the dialog that will popup).
Comment 9 Forgotten User kmKxPAS-l0 2009-02-21 15:29:31 UTC
Okay, got it. It would appear that the only size icon that can be used here is one with a resolution of 16x16. If we are to have access to change this icon, I'd like to request that it include the following:

1) The ability to use larger image files
2) The ability to customize the text to the right of the icon
3) The ability to specify an alternate path to the override icon

Let me know what you think...

Jason
Comment 10 Federico Mena Quintero 2009-07-23 17:58:52 UTC
Moving this to openSUSE 11.1 to make the bug public.
Comment 11 Bjørn Lie 2011-04-03 10:56:41 UTC
We are now in 2011, and as far as I can see this code never entered master.

Sreeves: please close this bug as wontfix if there are no plans to add it.
Comment 12 Vincent Untz 2012-05-15 16:59:16 UTC
Sorry for the spam. I'm mass-closing gnome-main-menu/slab bugs: gnome-main-menu has gone unmaintained upstream because it's not usable in GNOME 3, and is not shipped since 12.1. I don't expect any maintenance updates for it in 11.4 either.