.desktop file test conditions and menu item ordering

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

 



Hi,

I'm trying to write a .desktop file which would determine whether or
not the selected directory of file path has .svn/entries in it.  From
what I've seen, either one of the following should do:

ShowIfTrue=[ -r %d/.svn/entries ] && echo "true"
X-KDE-ShowIfDBusCall=[ -r %d/.svn/entries ] && echo "true"

But neither do.  Could someone provide some insight into what I need
to do to achieve this?

And also, is there a way to ensure the order of context menu items?
For example, I'd want the following:

ActionA
ActionB
MenuA>ActionC
    >ActionD

But what's actually happening is ActionA and ActionB appear below
MenuA.  I've tried renaming one of the .desktop files so that the one
which contains ActionA and ActionB is alphabetically earlier.

Thanks

Thom
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux