Bug 3331 - Icons in menu items
Status: RESOLVED DUPLICATE of bug 3580
Alias: None
Product: Openbox
Classification: Unclassified
Component: general
Version: unspecified
Hardware: PC Linux
: P5 enhancement
Assignee: Dana Jansens
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2007-08-29 10:45 EDT by Magnus Sandén
Modified: 2008-05-20 14:07:28 EDT
1 user (show)

See Also:


Attachments
Openbox menu with icons. (4.25 KB, image/png)
2007-08-29 10:48 EDT, Magnus Sandén

Description Magnus Sandén 2007-08-29 10:45:29 EDT
I'd like to see support for icons in openbox menus. So in my applications menu I could have a firefox icon in the menu item that starts firefox.

To configure what icon is shown an entry like this could be used in menu.xml:

<item label="Xterm">
  <icon>/usr/share/icons/gnome/scalable/apps/utilities-terminal.svg</icon>
  <action name="Execute"><execute>uxterm</execute></action>
</item>

or perhaps the icon can be automagically found somehow?

Since there already are icons in the client-menu, client-list-combined-menu and so on, I'm guessing that this would not be very difficult to add.

//Magnus
Comment 1 Magnus Sandén 2007-08-29 10:48:55 EDT
Created attachment 1494 [details]
Openbox menu with icons.

An openbox menu with icons I threw together in gimp.

//Magnus
Comment 2 Dana Jansens 2007-08-29 10:58:45 EDT
The difficulty comes in loading the image files.  There are many formats and etc.  This is in the back of my mind for the future, but not for the 3.4 series.
Comment 3 Mikachu 2008-05-20 14:07:28 EDT

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