trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2011

Re: [trinity-devel] patches: kmenu cleanup - kdelibs, kdebase, kdegraphics, kdepim

From: Robert Xu <robxu9@...>
Date: Tue, 8 Mar 2011 22:39:54 -0500
2011/3/8 David C. Rankin <drankinatty@...>:
> Tim, Robert, Serghei, Ilya, all:
>
>  Here are patches for kdelibs, kdebase, kdegraphics and kdepim that fix the
> kmenu applications entries that were ending up under "More Programs" submenus
> because they didn't have a home. The files affected are:
>
> kdelibs:
>
>  kdelibs/kded/applications.menu
>
> kdebase:
>
>  kdebase/konsole/konsolesu.desktop
>  kdebase/konqueror/konquerorsu.desktop
>  kdebase/kcontrol/kfontinst/viewpart/kfontview.desktop
>
> kdepim
> /home/david/tblds/trinity-kdepim/korn/KOrn.desktop
>
> kdegraphics
> /home/david/tblds/trinity-kdegraphics/src/kdegraphics/kruler
>
>  Screenshots of the System and Internet kmenu entries are here:
>
> http://www.3111skyline.com/dl/dt/trinity/ss/trinity-kmenu-SystemSU.jpg
>
> http://www.3111skyline.com/dl/dt/trinity/ss/trinity-kmenu-InternetEmail.jpg
>
>  A new custom 'Category' of 'X-KDE-System-su' was created in applications.menu
> to accommodate the SuperUser submenu.
>
>  Go ahead an apply the patches to a work copy and see what you think. It all
> works as it is supposed to. The xfw, xfi, etc.. apps still need to be moved out
> of 'Utilities' to a submenu. I'm thinking Utilities/X-Utilities unless somebody
> has a better idea.
>
>  Getting rid of the "More Applications" submenus really makes Trinity start to
> look like a (getting)-finished product.
>
>  Ilya, look over what I did and make sure it is all OK. I did it using
> http://standards.freedesktop.org/menu-spec/menu-spec-1.0.html as a reference, so
> it should be close. The only thing there wasn't a clear reference for was adding
> the:
>
> <Directory>kde-system-su.directory</Directory>
>
> entries in applications.menu. Looking at all the other entries, that looks like
> what was needed. Let me know. Thanks.
>
>  Enjoy :)
>

Great! :) I give +1 for approval. The "Email" category might be up for
debate, however. I'm not sure about XDG for that.

However, in the future, we may not be able to keep using X-KDE-*,
because that will start conflicting with KDE4. On Fedora, they've
moved everything to X-KDE3-*; a future point may be X-Trinity? idk.
(added to checklist though)

-- 
later, Robert Xu