Hi, Le samedi 16 janvier 2010 11:17:42, Hans de Goede a écrit : > >> Why I get no submenu in the Utility menu? > >> > >> Pourtant... > >> > >> cat /usr/share/applications/kde4/kcalc.desktop | grep Categories > >> Categories=Qt;KDE;Utility;X-KDE-Utilities-Desktop; > >> > >> cat /usr/share/applications/kde4/kwrite.desktop | grep Categories > >> Categories=Qt;KDE;Utility;TextEditor; > >> > >> cat /usr/share/applications/kde4/kbackup.desktop | grep Categories > >> Categories=KDE;X-KDE-Utilities-File;Utility; > >> > >> Three applications, no relationship between its, but in the same (and > >> only) > >> menu, no submenu available... > > > > Because we don't set up Fedora's menu structure to have submenus, at > > present. But if we _did_, then you can see that kwrite could go into a > > 'Text Editors' submenu. kcalc and kbackup could both stand to have a > > standard subcategory beyond just 'utility' added to their .desktop > > files, I guess. The point is that the existing fd.o standard categories > > already have enough granularity to allow a distro to construct submenus > > _if it chooses to_. > > Exactly. > > Note that we had the same issue (too many apps in one menu) with the Games > SIG and I created a special games-menus package, which when installed > adds some additional configuration files which do sub-menu the > games menu in both kde and gnome (a must have if you install lots of > games). Your package isn't install on my desktop, though, there are 6 submenus in the Games menu, and 41 games. In the Development menu, there are 3 submenus: Web Development, KDevelop and Translation that can be related to files /usr/share/desktop-directories/kde-development.directory /usr/share/desktop-directories/kde-development-kdevelop.directory /usr/share/desktop-directories/kde-development-translation.directory /usr/share/desktop-directories/kde-development-webdevelopment.directory What I don't understand is there isn't submenu in the Utilities menu although there are files /usr/share/desktop-directories/kde-utilities.directory /usr/share/desktop-directories/kde-utilities-accessibility.directory /usr/share/desktop-directories/kde-utilities-desktop.directory /usr/share/desktop-directories/kde-utilities-file.directory /usr/share/desktop-directories/kde-utilities-peripherals.directory /usr/share/desktop-directories/kde-utilities-pim.directory /usr/share/desktop-directories/kde-utilities-xutils.directory I finally get an answer to my question: there are some extras categories, but its don't work for kde-utilities. Regards, Alain -- Les pages de manuel Linux en français http://manpagesfr.free.fr
Attachment:
signature.asc
Description: This is a digitally signed message part.
-- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel