openSUSE Forums > Applications » How to change slab icon?

Go Back   openSUSE Forums > Applications
Forums FAQ Members List Search Today's Posts Mark Forums Read


Applications Questions about desktops (KDE, Gnome, XFCE, etc.), software applications (configuration, usage, bugs, documentation)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 31-Oct-2009, 13:00
Puzzled Penguin
 
Join Date: Oct 2009
Location: Milano, Italy
Posts: 17
Sciamano hasn't been rated much yet
Default How to change slab icon?

I'm very happy about my openSUSE GNOME installation (I used to use Ubuntu before) but one thing I don't like is the icon of the slab menu.

How can I change that little computer to something different?

I've found a previous post about this, but even though a solutions seemed to be found, it was not clearly explained.
The thread was this.

Thanks
Reply With Quote
  #2 (permalink)  
Old 01-Nov-2009, 03:04
suskewiet's Avatar
Explorer Penguin
 
Join Date: Jun 2008
Posts: 135
suskewiet hasn't been rated much yet
Default Re: How to change slab icon?

Quote:
If you edit /usr/share/gnome-main-menu/slab-window-glade, there is a GtkToggleButton widget name slab-main-menu-panel-button-bottom.

There will be a child widget of class GtkImage that represents the icon name.
There is also a widget for a corresponding label. If you remove the Computer label so it really looks like Vista.
This is exactly what you should do, I've done it myself. Find the line
Code:
<widget class="GtkToggleButton" id="slab-main-menu-panel-button-bottom">
Note the "bottom" which means you are changing the panel at the bottom of the screen. If your panel is on top, look for the slab-main-menu-panel-button-top tag.

Beneath this code, look for a line:
Code:
<property name="icon_name">name_of_file</property>
Here you can insert the filename of your custom icon. In my experience, you can't enter a path name because the icon does not change if you do. Also the extension (.png .jpeg ...) may not be written. Just the name of the file. Of course this means suse needs to find the file and therefor you need to place the icon in the correct folder. I believe this was the /usr/share/pixmaps folder.

You can also change the text next to the icon by changing the line:
Code:
<property name="label" translatable="yes">openSUSE</property>
Here openSUSE will be shown instead of Computer.
Reply With Quote
  #3 (permalink)  
Old 01-Nov-2009, 04:24
Puzzled Penguin
 
Join Date: Oct 2009
Location: Milano, Italy
Posts: 17
Sciamano hasn't been rated much yet
Default Re: How to change slab icon?

It worked perfectly!
Thanks a lot for the step-by-step instructions!

+1!
Reply With Quote
Reply

Bookmarks

Tags
gnome, icon, slab


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2