Problem Adding Menu Item : FC-2 Gnome 2.6



Hello,

After extensive googling and list-postings & with no
responses, I am posting to this list.

I am attempting to modify the MENU in FC-2 (Gnome
2.6).
For learning purpose I have modified an existing entry
to create a new MENU item. Below is what I have done..

1)Created file /usr/share/applications/test.desktop
[Desktop Entry]
Encoding=UTF-8
Name=Test
Comment=Test has done this
Exec=sound-juicer
Icon=sound-juicer.png
StartupNotify=true
Terminal=false
Type=Application
Categories=Application;
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=sound-juicer
X-GNOME-Bugzilla-Component=general

2)Created
/usr/share/desktop-directories/test.directory
[Desktop Entry]
Name=Test
Comment=Test has done this
Icon=redhat-games.png
Type=Directory
Encoding=UTF-8

3)Run the following command as "root".
desktop-file-install --vendor=Foo_Me_Foo
--add-category=X-Red-Hat-Base 
/usr/share/desktop-directories/test.directory

Menu Item "test" is being added & shows in the menu.
But "test" is being added under "Other" category.
I believe there should have been a new category "Test"
in the main menu, which when clicked would run the
application "sound-juicer".

Request someone to point where I am going wrong.

Can someone also guide me to how to add a separator
between menu items.

Thanking everyone in advance.

Best regards,
Sans


		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]