diff options
author | Francois Andriot <[email protected]> | 2013-07-31 20:22:32 -0500 |
---|---|---|
committer | Darrell Anderson <[email protected]> | 2013-07-31 20:22:32 -0500 |
commit | 5da63fe957a5725d18bf2bdf92b5648815a444cc (patch) | |
tree | 6139e8b04a81002aa50658b2362ff60b0cd76837 | |
parent | 0ba3ad1ab1d2d1e234a432a09f7b35f410fce24c (diff) | |
download | tdelibs-5da63fe957a5725d18bf2bdf92b5648815a444cc.tar.gz tdelibs-5da63fe957a5725d18bf2bdf92b5648815a444cc.zip |
Fix application menu. This partially resolves bug report 1563.
-rw-r--r-- | kded/CMakeLists.txt | 2 | ||||
-rw-r--r-- | kded/applications.menu | 907 | ||||
-rw-r--r-- | kded/applications.menu-no-kde | 568 | ||||
-rw-r--r-- | kded/tdebuildsycoca.cpp | 2 |
4 files changed, 2 insertions, 1477 deletions
diff --git a/kded/CMakeLists.txt b/kded/CMakeLists.txt index ee693fb4a..bb54e2912 100644 --- a/kded/CMakeLists.txt +++ b/kded/CMakeLists.txt @@ -35,7 +35,7 @@ install( FILES kdedmodule.h DESTINATION ${INCLUDE_INSTALL_DIR} ) ##### other data ################################ install( FILES kdedmodule.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} ) -install( FILES applications.menu applications.menu-no-kde DESTINATION ${XDG_MENU_INSTALL_DIR} ) +install( FILES tde-applications.menu tde-applications.menu-no-kde DESTINATION ${XDG_MENU_INSTALL_DIR} ) install( FILES kded.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} ) diff --git a/kded/applications.menu b/kded/applications.menu deleted file mode 100644 index 631aab059..000000000 --- a/kded/applications.menu +++ /dev/null @@ -1,907 +0,0 @@ -<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN" - "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd"> - -<Menu> - <Name>Applications</Name> - <Directory>tde-main.directory</Directory> - <!-- Search the default locations --> - <KDELegacyDirs/> - <DefaultAppDirs/> - <DefaultDirectoryDirs/> - <DefaultLayout> - <Merge type="menus"/> - <Merge type="files"/> - <Separator/> - <Menuname>More</Menuname> - </DefaultLayout> - <Layout> - <Merge type="menus"/> - <Menuname>Applications</Menuname> - <Merge type="files"/> - </Layout> - - <Menu> - <Name>Applications</Name> - <Directory>tde-unknown.directory</Directory> - <OnlyUnallocated/> - <Include> - <Not> - <!-- Don't list non-TDE core applications --> - <And> - <Category>Core</Category> - <Not><Category>TDE</Category></Not> - </And> - <!-- Don't list SUSE's YaST in here --> - <Category>X-SuSE-YaST</Category> - </Not> - </Include> - </Menu> - <Menu> - <Name>Development</Name> - <Directory>tde-development.directory</Directory> - <Menu> - <Name>X-TDE-TDevelopIDE</Name> - <Directory>tde-development-tdevelop.directory</Directory> - <Include> - <And> - <Category>Development</Category> - <Category>X-TDE-TDevelopIDE</Category> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Translation</Name> - <Directory>tde-development-translation.directory</Directory> - <Include> - <And> - <Category>Development</Category> - <Category>Translation</Category> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Web Development</Name> - <Directory>tde-development-webdevelopment.directory</Directory> - <Include> - <And> - <Category>Development</Category> - <Category>WebDevelopment</Category> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Include> - <And> - <Category>Development</Category> - <Not><Category>X-TDE-TDevelopIDE</Category></Not> - <Not><Category>Translation</Category></Not> - <Not><Category>WebDevelopment</Category></Not> - <Not><Category>KDE</Category></Not> - </And> - </Include> - <Menu> - <Name>KDE</Name> - <Directory>kde-development.directory</Directory> - <Include> - <And> - <Category>Development</Category> - <Category>KDE</Category> - <Not><Category>Translation</Category></Not> - <Not><Category>WebDevelopment</Category></Not> - <Not><Category>TDE</Category></Not> - </And> - </Include> - <Menu> - <Name>Translation</Name> - <Directory>kde-development-translation.directory</Directory> - <Include> - <And> - <Category>Development</Category> - <Category>Translation</Category> - <Category>KDE</Category> - <Not><Category>TDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Web Development</Name> - <Directory>kde-development-webdevelopment.directory</Directory> - <Include> - <And> - <Category>Development</Category> - <Category>WebDevelopment</Category> - <Category>KDE</Category> - <Not><Category>TDE</Category></Not> - </And> - </Include> - </Menu> - </Menu> - </Menu> - <Menu> - <Name>Science</Name> - <Directory>tde-science.directory</Directory> - <Include> - <And><!-- Include /any/ Science app which is not an Education app --> - <Or> - <Category>Astronomy</Category> - <Category>Biology</Category> - <Category>Chemistry</Category> - <Category>Geology</Category> - <Category>MedicalSoftware</Category> - <Category>Physics</Category> - <Category>Math</Category> - <Category>Science</Category> - </Or> - <Not><Category>Education</Category></Not> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Edutainment</Name> - <Directory>tde-edutainment.directory</Directory> - <Menu> - <Name>Languages</Name> - <Directory>tde-edu-languages.directory</Directory> - <Include> - <And> - <Category>Education</Category> - <Or> - <Category>Languages</Category> - <Category>X-TDE-Edu-Language</Category> - </Or> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Mathematics</Name> - <Directory>tde-edu-mathematics.directory</Directory> - <Include> - <And> - <Category>Education</Category> - <Category>Math</Category> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Miscellaneous</Name> - <Directory>tde-edu-miscellaneous.directory</Directory> - <Include> - <And> - <Category>Education</Category> - <Not> - <Category>Languages</Category> - <Category>X-TDE-Edu-Language</Category> - <Category>Math</Category> - <Category>Science</Category> - <Category>Teaching</Category> - <Category>X-TDE-Edu-Teaching</Category> - <Category>KDE</Category> - </Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Science</Name> - <Directory>tde-edu-science.directory</Directory> - <Include> - <And> - <Category>Education</Category> - <Category>Science</Category> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Tools</Name> - <Directory>tde-edu-tools.directory</Directory> - <Include> - <And> - <Category>Education</Category> - <Or> - <Category>Teaching</Category> - <Category>X-TDE-Edu-Teaching</Category> - </Or> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>KDE</Name> - <Directory>kde-edutainment.directory</Directory> - <Include> - <And> - <Category>Education</Category> - <Category>KDE</Category> - <Not> - <Category>Education</Category> - <Category>Languages</Category> - <Category>X-TDE-Edu-Language</Category> - <Category>X-KDE-Edu-Language</Category> - <Category>Math</Category> - <Category>Science</Category> - <Category>Teaching</Category> - <Category>X-TDE-Edu-Teaching</Category> - <Category>X-KDE-Edu-Teaching</Category> - <Category>TDE</Category> - </Not> - </And> - </Include> - <Menu> - <Name>Languages</Name> - <Directory>kde-edu-languages.directory</Directory> - <Include> - <And> - <Category>Languages</Category> - <Category>KDE</Category> - <Not><Category>TDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Mathematics</Name> - <Directory>kde-edu-mathematics.directory</Directory> - <Include> - <And> - <Category>Math</Category> - <Category>KDE</Category> - <Not><Category>TDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Miscellaneous</Name> - <Directory>kde-edu-miscellaneous.directory</Directory> - <Include> - <And> - <Category>Education</Category> - <Category>KDE</Category> - <Not> - <Category>Languages</Category> - <Category>X-TDE-Edu-Language</Category> - <Category>X-KDE-Edu-Language</Category> - <Category>Math</Category> - <Category>Science</Category> - <Category>Teaching</Category> - <Category>X-TDE-Edu-Teaching</Category> - <Category>X-KDE-Edu-Teaching</Category> - <Category>TDE</Category> - </Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Science</Name> - <Directory>kde-edu-science.directory</Directory> - <Include> - <And> - <Category>Science</Category> - <Category>KDE</Category> - <Not><Category>TDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Tools</Name> - <Directory>kde-edu-tools.directory</Directory> - <Include> - <And> - <Category>Teaching</Category> - <Category>KDE</Category> - <Not><Category>TDE</Category></Not> - </And> - </Include> - </Menu> - </Menu> - </Menu> - <Menu> - <Name>Games</Name> - <Directory>tde-games.directory</Directory> - <Menu> - <Name>Arcade</Name> - <Directory>tde-games-arcade.directory</Directory> - <Include> - <And> - <Category>Game</Category> - <Category>ArcadeGame</Category> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Board</Name> - <Directory>tde-games-board.directory</Directory> - <Include> - <And> - <Category>Game</Category> - <Category>BoardGame</Category> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Card</Name> - <Directory>tde-games-card.directory</Directory> - <Include> - <And> - <Category>Game</Category> - <Category>CardGame</Category> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Kidsgames</Name> - <Directory>tde-games-kids.directory</Directory> - <Include> - <And> - <Category>Game</Category> - <Or> - <Category>X-TDE-KidsGame</Category> - <Category>KidsGame</Category> - </Or> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>TacticStrategy</Name> - <Directory>tde-games-strategy.directory</Directory> - <Include> - <And> - <Category>Game</Category> - <Category>StrategyGame</Category> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Include> - <And> - <Category>Game</Category> - <Not> - <Category>ArcadeGame</Category> - <Category>BoardGame</Category> - <Category>CardGame</Category> - <Category>X-TDE-KidsGame</Category> - <Category>KidsGame</Category> - <Category>StrategyGame</Category> - <Category>KDE</Category> - </Not> - </And> - </Include> - <Menu> - <Name>KDE</Name> - <Directory>kde-games.directory</Directory> - <Menu> - <Name>Arcade</Name> - <Directory>kde-games-arcade.directory</Directory> - <Include> - <And> - <Category>Game</Category> - <Category>ArcadeGame</Category> - <Category>KDE</Category> - <Not><Category>TDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Board</Name> - <Directory>kde-games-board.directory</Directory> - <Include> - <And> - <Category>Game</Category> - <Category>BoardGame</Category> - <Category>KDE</Category> - <Not><Category>TDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Card</Name> - <Directory>kde-games-card.directory</Directory> - <Include> - <And> - <Category>Game</Category> - <Category>CardGame</Category> - <Category>KDE</Category> - <Not><Category>TDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Kidsgames</Name> - <Directory>kde-games-kids.directory</Directory> - <Include> - <And> - <Category>Game</Category> - <Category>KidsGame</Category> - <Category>KDE</Category> - <Not><Category>TDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>TacticStrategy</Name> - <Directory>kde-games-strategy.directory</Directory> - <Include> - <And> - <Category>Game</Category> - <Category>StrategyGame</Category> - <Category>KDE</Category> - <Not><Category>TDE</Category></Not> - </And> - </Include> - </Menu> - <Include> - <And> - <Category>Game</Category> - <Category>KDE</Category> - <Not> - <Category>ArcadeGame</Category> - <Category>BoardGame</Category> - <Category>CardGame</Category> - <Category>X-TDE-KidsGame</Category> - <Category>KidsGame</Category> - <Category>StrategyGame</Category> - <Category>TDE</Category> - </Not> - </And> - </Include> - </Menu> - </Menu> - <Menu> - <Name>Graphics</Name> - <Directory>tde-graphics.directory</Directory> - <Include> - <And> - <Category>Graphics</Category> - <Not><Category>X-TDE-More</Category></Not> - <Not><Category>X-KDE-More</Category></Not> - <Not><Category>KDE</Category></Not> - <Not><Filename>ooo-draw.desktop</Filename></Not> - </And> - </Include> - <Menu> - <Name>KDE</Name> - <Directory>kde-graphics.directory</Directory> - <Include> - <And> - <Category>Graphics</Category> - <Category>KDE</Category> - </And> - </Include> - </Menu> - <Menu> - <Name>More</Name> - <Directory>tde-more.directory</Directory> - <Include> - <And> - <Category>Graphics</Category> - <Category>X-TDE-More</Category> - <Not><Category>X-KDE-More</Category></Not> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - </Menu> - <Menu> - <Name>Internet</Name> - <Directory>tde-internet.directory</Directory> - <Include> - <And> - <Category>Network</Category> - <Not><Category>X-TDE-More</Category></Not> - <Not><Category>X-KDE-More</Category></Not> - <Not><Category>KDE</Category></Not> - </And> - </Include> - <Menu> - <Name>Terminal</Name> - <Directory>tde-internet-terminal.directory</Directory> - </Menu> - <Menu> - <Name>More</Name> - <Directory>tde-more.directory</Directory> - <Include> - <And> - <Category>Network</Category> - <Category>X-TDE-More</Category> - <Not><Category>X-KDE-More</Category></Not> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>KDE</Name> - <Directory>kde-internet.directory</Directory> - <Include> - <And> - <Category>Network</Category> - <Category>KDE</Category> - </And> - </Include> - </Menu> - </Menu> - <Menu> - <Name>Multimedia</Name> - <Directory>tde-multimedia.directory</Directory> - <Include> - <And> - <Category>AudioVideo</Category> - <Not><Category>X-TDE-More</Category></Not> - <Not><Category>X-KDE-More</Category></Not> - <Not><Category>KDE</Category></Not> - </And> - </Include> - <Menu> - <Name>More</Name> - <Directory>tde-more.directory</Directory> - <Include> - <And> - <Category>AudioVideo</Category> - <Category>X-TDE-More</Category> - <Not><Category>X-KDE-More</Category></Not> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>KDE</Name> - <Directory>kde-multimedia.directory</Directory> - <Include> - <And> - <Category>AudioVideo</Category> - <Category>KDE</Category> - </And> - </Include> - </Menu> - </Menu> - <Menu> - <Name>Office</Name> - <Directory>tde-office.directory</Directory> - <Layout> - <Merge type="menus"/> - <Merge type="files"/> - <Separator/> - <Menuname>More</Menuname> - </Layout> - <Include> - <And> - <Category>Office</Category> - <Not><Category>X-TDE-Office-PIM</Category></Not> - <Not><Category>X-TDE-More</Category></Not> - <Not><Category>X-KDE-More</Category></Not> - <Not><Category>KDE</Category></Not> - </And> - <Filename>ooo-draw.desktop</Filename> - </Include> - <Menu> - <Name>Personal Information Management</Name> - <Directory>tde-office-pim.directory</Directory> - <Include> - <And> - <Category>X-TDE-Office-PIM</Category> - </And> - </Include> - </Menu> - <Menu> - <Name>More</Name> - <Directory>tde-more.directory</Directory> - <Include> - <And> - <Category>Office</Category> - <Category>X-TDE-More</Category> - <Not><Category>X-KDE-More</Category></Not> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>KDE</Name> - <Directory>kde-office.directory</Directory> - <Include> - <And> - <Category>Office</Category> - <Category>KDE</Category> - </And> - </Include> - </Menu> - </Menu> - <Menu> - <Name>Settingsmenu</Name> - <Directory>tde-settingsmenu.directory</Directory> - <Include> - <And> - <Category>Settings</Category> - <Not><Category>KDE</Category></Not> - <Not><Category>X-KDE-settings-sound</Category></Not> - </And> - </Include> - <Menu> - <Name>KDE</Name> - <Directory>kde-settingsmenu.directory</Directory> - <Include> - <And> - <Category>Settings</Category> - <Category>KDE</Category> - </And> - </Include> - </Menu> - </Menu> - <Menu> - <Name>System</Name> - <Directory>tde-system.directory</Directory> - <Include> - <And> - <Category>System</Category> - <Not><Category>X-TDE-More</Category></Not> - <Not><Category>X-KDE-More</Category></Not> - <Not><Category>KDE</Category></Not> - </And> - </Include> - <Menu> - <Name>SuperUser</Name> - <Directory>tde-system-su.directory</Directory> - <Include> - <And> - <Category>X-TDE-System-su</Category> - <Not><Category>X-TDE-More</Category></Not> - <Not><Category>X-KDE-More</Category></Not> - <Not><Category>X-KDE-System-su</Category></Not> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>More</Name> - <Directory>tde-more.directory</Directory> - <Include> - <And> - <Category>System</Category> - <Category>X-TDE-More</Category> - <Not><Category>X-KDE-More</Category></Not> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>KDE</Name> - <Directory>kde-system.directory</Directory> - <Include> - <And> - <Category>System</Category> - <Category>KDE</Category> - </And> - </Include> - </Menu> - <Menu> - <Name>ScreenSavers</Name> - <Directory>tde-system-screensavers.directory</Directory> - </Menu> - <Menu> - <Name>Terminal</Name> - <Directory>tde-system-terminal.directory</Directory> - </Menu> - </Menu> - <Menu> - <Name>Utilities</Name> - <Directory>tde-utilities.directory</Directory> - <Include> - <And> - <Category>Utility</Category> - <Not> - <Category>Accessibility</Category> - <Category>X-TDE-Utilities-Desktop</Category> - <Category>X-TDE-Utilities-File</Category> - <Category>X-TDE-Utilities-Peripherals</Category> - <Category>X-TDE-Utilities-PIM</Category> - <Category>TextEditor</Category> - <Category>X-TDE-More</Category> - <Category>KDE</Category> - </Not> - </And> - </Include> - <Menu> - <Name>Accessibility</Name> - <Directory>tde-utilities-accessibility.directory</Directory> - <Include> - <And> - <Category>Utility</Category> - <Category>Accessibility</Category> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Desktop</Name> - <Directory>tde-utilities-desktop.directory</Directory> - <Include> - <And> - <Category>Utility</Category> - <Category>X-TDE-Utilities-Desktop</Category> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Editors</Name> - <Directory>tde-editors.directory</Directory> - <Include> - <And> - <Category>TextEditor</Category> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>File</Name> - <Directory>tde-utilities-file.directory</Directory> - <Include> - <And> - <Category>Utility</Category> - <Category>X-TDE-Utilities-File</Category> - </And> - </Include> - </Menu> - <Menu> - <Name>Peripherals</Name> - <Directory>tde-utilities-peripherals.directory</Directory> - <Include> - <And> - <Category>Utility</Category> - <Category>X-TDE-Utilities-Peripherals</Category> - </And> - </Include> - </Menu> - <Menu> - <Name>Personal Information Management</Name> - <Directory>tde-utilities-pim.directory</Directory> - <Include> - <And> - <Category>Utility</Category> - <Category>X-TDE-Utilities-PIM</Category> - <Not><Category>KDE</Category></Not> - <Not><Category>X-KDE-Utilities-PIM</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Toys</Name> - <Directory>tde-toys.directory</Directory> - <Include> - <And> - <Category>Amusement</Category> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>XUtilities</Name> - <Directory>tde-utilities-xutils.directory</Directory> - </Menu> - <Menu> - <Name>More</Name> - <Directory>tde-more.directory</Directory> - <Include> - <And> - <Category>Utility</Category> - <Category>X-TDE-More</Category> - <Not><Category>X-KDE-More</Category></Not> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>More</Name> - <Directory>tde-more.directory</Directory> - <Include> - <And> - <Category>Utility</Category> - <Category>X-TDE-More</Category> - <Not><Category>X-KDE-More</Category></Not> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>KDE</Name> - <Directory>kde-utilities.directory</Directory> - <Include> - <And> - <Category>Utility</Category> - <Category>KDE</Category> - <Not> - <Category>Accessibility</Category> - <Category>X-TDE-Utilities-Desktop</Category> - <Category>X-KDE-Utilities-Desktop</Category> - <Category>X-TDE-Utilities-Peripherals</Category> - <Category>X-TDE-Utilities-PIM</Category> - <Category>X-KDE-Utilities-PIM</Category> - <Category>X-TDE-More</Category> - <Category>X-KDE-More</Category> - <Category>TextEditor</Category> - <Category>TDE</Category> - </Not> - </And> - </Include> - <Menu> - <Name>Accessibility</Name> - <Directory>kde-utilities-accessibility.directory</Directory> - <Include> - <And> - <Category>Utility</Category> - <Category>Accessibility</Category> - <Category>KDE</Category> - <Not><Category>TDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Desktop</Name> - <Directory>kde-utilities-desktop.directory</Directory> - <Include> - <And> - <Category>Utility</Category> - <Category>X-KDE-Utilities-Desktop</Category> - <Category>KDE</Category> - <Not><Category>TDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Editors</Name> - <Directory>kde-editors.directory</Directory> - <Include> - <And> - <Category>TextEditor</Category> - <Category>KDE</Category> - <Not><Category>TDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Personal Information Management</Name> - <Directory>kde-utilities-pim.directory</Directory> - <Include> - <And> - <Category>Utility</Category> - <Category>X-KDE-Utilities-PIM</Category> - <Category>KDE</Category> - <Not><Category>TDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Toys</Name> - <Directory>kde-toys.directory</Directory> - <Include> - <And> - <Category>Amusement</Category> - <Category>KDE</Category> - <Not><Category>TDE</Category></Not> - </And> - </Include> - </Menu> - </Menu> - </Menu> - <Include> - <And> - <Category>TDE</Category> - <Category>Core</Category> - </And> - </Include> - <DefaultMergeDirs/> - - <Menu> - <Name>Debian</Name> - <Directory>debian.directory</Directory> - <MergeFile>debian-menu.menu</MergeFile> - </Menu> - - <MergeDir>applications-merged</MergeDir> - <MergeFile>applications-kmenuedit.menu</MergeFile> -</Menu> diff --git a/kded/applications.menu-no-kde b/kded/applications.menu-no-kde deleted file mode 100644 index 102111c67..000000000 --- a/kded/applications.menu-no-kde +++ /dev/null @@ -1,568 +0,0 @@ -<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN" - "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd"> - -<Menu> - <Name>Applications</Name> - <Directory>tde-main.directory</Directory> - <!-- Search the default locations --> - <KDELegacyDirs/> - <DefaultAppDirs/> - <DefaultDirectoryDirs/> - <DefaultLayout> - <Merge type="menus"/> - <Merge type="files"/> - <Separator/> - <Menuname>More</Menuname> - </DefaultLayout> - <Layout> - <Merge type="menus"/> - <Menuname>Applications</Menuname> - <Merge type="files"/> - </Layout> - - <Menu> - <Name>Applications</Name> - <Directory>tde-unknown.directory</Directory> - <OnlyUnallocated/> - <Include> - <Not> - <!-- Don't list non-TDE core applications --> - <And> - <Category>Core</Category> - <Not><Category>TDE</Category></Not> - </And> - <!-- Don't list SUSE's YaST in here --> - <Category>X-SuSE-YaST</Category> - <!-- This is a special menu setup. Don't list KDE3 apps here. --> - <Category>KDE</Category> - </Not> - </Include> - </Menu> - <Menu> - <Name>Development</Name> - <Directory>tde-development.directory</Directory> - <Menu> - <Name>X-TDE-TDevelopIDE</Name> - <Directory>tde-development-tdevelop.directory</Directory> - <Include> - <And> - <Category>Development</Category> - <Category>X-TDE-TDevelopIDE</Category> - <Not><Category>KDE</Category></Not> - <Not><Category>X-KDE-KDevelopIDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Translation</Name> - <Directory>tde-development-translation.directory</Directory> - <Include> - <And> - <Category>Development</Category> - <Category>Translation</Category> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Web Development</Name> - <Directory>tde-development-webdevelopment.directory</Directory> - <Include> - <And> - <Category>Development</Category> - <Category>WebDevelopment</Category> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Include> - <And> - <Category>Development</Category> - <Not><Category>X-TDE-TDevelopIDE</Category></Not> - <Not><Category>Translation</Category></Not> - <Not><Category>WebDevelopment</Category></Not> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Science</Name> - <Directory>tde-science.directory</Directory> - <Include> - <And><!-- Include /any/ Science app which is not an Education app --> - <Or> - <Category>Astronomy</Category> - <Category>Biology</Category> - <Category>Chemistry</Category> - <Category>Geology</Category> - <Category>MedicalSoftware</Category> - <Category>Physics</Category> - <Category>Math</Category> - <Category>Science</Category> - </Or> - <Not><Category>Education</Category></Not> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Edutainment</Name> - <Directory>tde-edutainment.directory</Directory> - <Menu> - <Name>Languages</Name> - <Directory>tde-edu-languages.directory</Directory> - <Include> - <And> - <Category>Education</Category> - <Or> - <Category>Languages</Category> - <Category>X-TDE-Edu-Language</Category> - </Or> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Mathematics</Name> - <Directory>tde-edu-mathematics.directory</Directory> - <Include> - <And> - <Category>Education</Category> - <Category>Math</Category> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Miscellaneous</Name> - <Directory>tde-edu-miscellaneous.directory</Directory> - <Include> - <And> - <Category>Education</Category> - <Not> - <Category>Languages</Category> - <Category>X-TDE-Edu-Language</Category> - <Category>Math</Category> - <Category>Science</Category> - <Category>Teaching</Category> - <Category>X-TDE-Edu-Teaching</Category> - <Category>KDE</Category> - </Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Science</Name> - <Directory>tde-edu-science.directory</Directory> - <Include> - <And> - <Category>Education</Category> - <Category>Science</Category> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Tools</Name> - <Directory>tde-edu-tools.directory</Directory> - <Include> - <And> - <Category>Education</Category> - <Or> - <Category>Teaching</Category> - <Category>X-TDE-Edu-Teaching</Category> - </Or> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - </Menu> - <Menu> - <Name>Games</Name> - <Directory>tde-games.directory</Directory> - <Menu> - <Name>Arcade</Name> - <Directory>tde-games-arcade.directory</Directory> - <Include> - <And> - <Category>Game</Category> - <Category>ArcadeGame</Category> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Board</Name> - <Directory>tde-games-board.directory</Directory> - <Include> - <And> - <Category>Game</Category> - <Category>BoardGame</Category> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Card</Name> - <Directory>tde-games-card.directory</Directory> - <Include> - <And> - <Category>Game</Category> - <Category>CardGame</Category> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Kidsgames</Name> - <Directory>tde-games-kids.directory</Directory> - <Include> - <And> - <Category>Game</Category> - <Or> - <Category>X-TDE-KidsGame</Category> - <Category>KidsGame</Category> - </Or> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>TacticStrategy</Name> - <Directory>tde-games-strategy.directory</Directory> - <Include> - <And> - <Category>Game</Category> - <Category>StrategyGame</Category> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Include> - <And> - <Category>Game</Category> - <Not> - <Category>ArcadeGame</Category> - <Category>BoardGame</Category> - <Category>CardGame</Category> - <Category>X-TDE-KidsGame</Category> - <Category>KidsGame</Category> - <Category>StrategyGame</Category> - <Category>KDE</Category> - </Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Graphics</Name> - <Directory>tde-graphics.directory</Directory> - <Include> - <And> - <Category>Graphics</Category> - <Not><Category>X-TDE-More</Category></Not> - <Not><Category>X-KDE-More</Category></Not> - <Not><Category>KDE</Category></Not> - <Not><Filename>ooo-draw.desktop</Filename></Not> - </And> - </Include> - <Menu> - <Name>More</Name> - <Directory>tde-more.directory</Directory> - <Include> - <And> - <Category>Graphics</Category> - <Category>X-TDE-More</Category> - <Not><Category>X-KDE-More</Category></Not> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - </Menu> - <Menu> - <Name>Internet</Name> - <Directory>tde-internet.directory</Directory> - <Include> - <And> - <Category>Network</Category> - <Not><Category>X-TDE-More</Category></Not> - <Not><Category>X-KDE-More</Category></Not> - <Not><Category>KDE</Category></Not> - </And> - </Include> - <Menu> - <Name>Terminal</Name> - <Directory>tde-internet-terminal.directory</Directory> - </Menu> - <Menu> - <Name>More</Name> - <Directory>tde-more.directory</Directory> - <Include> - <And> - <Category>Network</Category> - <Category>X-TDE-More</Category> - <Not><Category>X-KDE-More</Category></Not> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - </Menu> - <Menu> - <Name>Multimedia</Name> - <Directory>tde-multimedia.directory</Directory> - <Include> - <And> - <Category>AudioVideo</Category> - <Not><Category>X-TDE-More</Category></Not> - <Not><Category>X-KDE-More</Category></Not> - <Not><Category>KDE</Category></Not> - </And> - </Include> - <Menu> - <Name>More</Name> - <Directory>tde-more.directory</Directory> - <Include> - <And> - <Category>AudioVideo</Category> - <Category>X-TDE-More</Category> - <Not><Category>X-KDE-More</Category></Not> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - </Menu> - <Menu> - <Name>Office</Name> - <Directory>tde-office.directory</Directory> - <Layout> - <Merge type="menus"/> - <Merge type="files"/> - <Separator/> - <Menuname>More</Menuname> - </Layout> - <Include> - <And> - <Category>Office</Category> - <Not><Category>X-TDE-Office-PIM</Category></Not> - <Not><Category>X-TDE-More</Category></Not> - <Not><Category>X-KDE-More</Category></Not> - <Not><Category>KDE</Category></Not> - </And> - <Filename>ooo-draw.desktop</Filename> - </Include> - <Menu> - <Name>Personal Information Management</Name> - <Directory>tde-office-pim.directory</Directory> - <Include> - <And> - <Category>X-TDE-Office-PIM</Category> - </And> - </Include> - </Menu> - <Menu> - <Name>More</Name> - <Directory>tde-more.directory</Directory> - <Include> - <And> - <Category>Office</Category> - <Category>X-TDE-More</Category> - <Not><Category>X-KDE-More</Category></Not> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - </Menu> - <Menu> - <Name>Settingsmenu</Name> - <Directory>tde-settingsmenu.directory</Directory> - <Include> - <And> - <Category>Settings</Category> - <Not><Category>KDE</Category></Not> - <Not><Category>X-KDE-settings-sound</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>System</Name> - <Directory>tde-system.directory</Directory> - <Include> - <And> - <Category>System</Category> - <Not><Category>X-TDE-More</Category></Not> - <Not><Category>X-KDE-More</Category></Not> - <Not><Category>KDE</Category></Not> - </And> - </Include> - <Menu> - <Name>SuperUser</Name> - <Directory>tde-system-su.directory</Directory> - <Include> - <And> - <Category>X-TDE-System-su</Category> - <Not><Category>X-TDE-More</Category></Not> - <Not><Category>X-KDE-More</Category></Not> - <Not><Category>X-KDE-System-su</Category></Not> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>More</Name> - <Directory>tde-more.directory</Directory> - <Include> - <And> - <Category>System</Category> - <Category>X-TDE-More</Category> - <Not><Category>X-KDE-More</Category></Not> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>ScreenSavers</Name> - <Directory>tde-system-screensavers.directory</Directory> - </Menu> - <Menu> - <Name>Terminal</Name> - <Directory>tde-system-terminal.directory</Directory> - </Menu> - </Menu> - <Menu> - <Name>Utilities</Name> - <Directory>tde-utilities.directory</Directory> - <Include> - <And> - <Category>Utility</Category> - <Not><Category>Accessibility</Category></Not> - <Not><Category>X-TDE-Utilities-Desktop</Category></Not> - <Not><Category>X-TDE-Utilities-File</Category></Not> - <Not><Category>X-TDE-Utilities-Peripherals</Category></Not> - <Not><Category>X-TDE-Utilities-PIM</Category></Not> - <Not><Category>X-TDE-More</Category></Not> - <Not><Category>X-KDE-Utilities-Desktop</Category></Not> - <Not><Category>X-KDE-Utilities-Peripherals</Category></Not> - <Not><Category>X-KDE-Utilities-PIM</Category></Not> - <Not><Category>X-KDE-More</Category></Not> - <Not><Category>KDE</Category></Not> - </And> - </Include> - <Menu> - <Name>Accessibility</Name> - <Directory>tde-utilities-accessibility.directory</Directory> - <Include> - <And> - <Category>Utility</Category> - <Category>Accessibility</Category> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Desktop</Name> - <Directory>tde-utilities-desktop.directory</Directory> - <Include> - <And> - <Category>Utility</Category> - <Category>X-TDE-Utilities-Desktop</Category> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Editors</Name> - <Directory>tde-editors.directory</Directory> - <Include> - <And> - <Category>TextEditor</Category> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>File</Name> - <Directory>tde-utilities-file.directory</Directory> - <Include> - <And> - <Category>Utility</Category> - <Category>X-TDE-Utilities-File</Category> - </And> - </Include> - </Menu> - <Menu> - <Name>Peripherals</Name> - <Directory>tde-utilities-peripherals.directory</Directory> - <Include> - <And> - <Category>Utility</Category> - <Category>X-TDE-Utilities-Peripherals</Category> - </And> - </Include> - </Menu> - <Menu> - <Name>Personal Information Management</Name> - <Directory>tde-utilities-pim.directory</Directory> - <Include> - <And> - <Category>Utility</Category> - <Category>X-TDE-Utilities-PIM</Category> - <Not><Category>KDE</Category></Not> - <Not><Category>X-KDE-Utilities-PIM</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>Toys</Name> - <Directory>tde-toys.directory</Directory> - <Include> - <And> - <Category>Amusement</Category> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>XUtilities</Name> - <Directory>tde-utilities-xutils.directory</Directory> - </Menu> - <Menu> - <Name>More</Name> - <Directory>tde-more.directory</Directory> - <Include> - <And> - <Category>Utility</Category> - <Category>X-TDE-More</Category> - <Not><Category>X-KDE-More</Category></Not> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - <Menu> - <Name>More</Name> - <Directory>tde-more.directory</Directory> - <Include> - <And> - <Category>Utility</Category> - <Category>X-TDE-More</Category> - <Not><Category>X-KDE-More</Category></Not> - <Not><Category>KDE</Category></Not> - </And> - </Include> - </Menu> - </Menu> - <Include> - <And> - <Category>TDE</Category> - <Category>Core</Category> - </And> - </Include> - <DefaultMergeDirs/> - - <Menu> - <Name>Debian</Name> - <Directory>debian.directory</Directory> - <MergeFile>debian-menu.menu</MergeFile> - </Menu> - - <MergeDir>applications-merged</MergeDir> - <MergeFile>applications-kmenuedit.menu</MergeFile> -</Menu> diff --git a/kded/tdebuildsycoca.cpp b/kded/tdebuildsycoca.cpp index 4325162f7..f7ae2ce3b 100644 --- a/kded/tdebuildsycoca.cpp +++ b/kded/tdebuildsycoca.cpp @@ -379,7 +379,7 @@ bool KBuildSycoca::build() connect(g_vfolder, TQT_SIGNAL(newService(const TQString &, KService **)), this, TQT_SLOT(slotCreateEntry(const TQString &, KService **))); - VFolderMenu::SubMenu *kdeMenu = g_vfolder->parseMenu("applications.menu", true); + VFolderMenu::SubMenu *kdeMenu = g_vfolder->parseMenu("tde-applications.menu", true); KServiceGroup *entry = g_bsgf->addNew("/", kdeMenu->directoryFile, 0, false); entry->setLayoutInfo(kdeMenu->layoutList); |