From fb886ec0140dc06fea820c1709e1385bbc53b8a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Fri, 27 Mar 2009 11:55:52 +0000 Subject: [PATCH] The Preferences and Demos entries in the Be menu are no longer links to the folders in /boot/beos/, but are real folders, with links to the respective entries in the /boot/beos/preferences and demos folders. This allows third party software to place links into the Preferences and Demos entries in the Deskbar. Fixes ticket #3612. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29745 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- build/jam/HaikuImage | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/build/jam/HaikuImage b/build/jam/HaikuImage index 7d84b7d02c..6e042f30b6 100644 --- a/build/jam/HaikuImage +++ b/build/jam/HaikuImage @@ -247,10 +247,10 @@ DESKBAR_APPLICATIONS = ActivityMonitor CodyCam CDPlayer DeskCalc DiskProbe DriveSetup DiskUsage Expander Icon-O-Matic Magnify Mail MediaPlayer MidiPlayer People Screenshot SoundRecorder StyledEdit Terminal TV ; -local app ; -for app in $(DESKBAR_APPLICATIONS) { +local linkTarget ; +for linkTarget in $(DESKBAR_APPLICATIONS) { AddSymlinkToHaikuImage home config be Applications - : /boot/beos/apps/$(app) : $(app) ; + : /boot/beos/apps/$(linkTarget) : $(linkTarget) ; } # Deskbar Desktop Applets links @@ -258,14 +258,30 @@ AddDirectoryToHaikuImage home config be Desktop\ Applets ; DESKBAR_DESKTOP_APPLETS = LaunchBox NetworkStatus PowerStatus ProcessController Workspaces ; -for app in $(DESKBAR_DESKTOP_APPLETS) { +for linkTarget in $(DESKBAR_DESKTOP_APPLETS) { AddSymlinkToHaikuImage home config be Desktop\ Applets - : /boot/beos/apps/$(app) : $(app) ; + : /boot/beos/apps/$(linkTarget) : $(linkTarget) ; } -# Deskbar Preferences and Demos links -AddSymlinkToHaikuImage home config be : /boot/beos/preferences : Preferences ; -AddSymlinkToHaikuImage home config be : /boot/beos/demos : Demos ; +# Deskbar Preferences links +AddDirectoryToHaikuImage home config be Preferences ; +# TODO/NOTE: Cannot use $(BEOS_PREFERENCES) here since there is +# "Tracker"... +DESKBAR_PREFERENCES = Appearance Backgrounds DataTranslations E-mail + FileTypes Fonts Keyboard Keymap Media Menu Mouse Network Printers Screen + ScreenSaver Sounds Time Touchpad Tracker VirtualMemory +; +for linkTarget in $(DESKBAR_PREFERENCES) { + AddSymlinkToHaikuImage home config be Preferences + : /boot/beos/preferences/$(linkTarget) : $(linkTarget) ; +} + +# Deskbar Demo links +AddDirectoryToHaikuImage home config be Demos ; +for linkTarget in $(BEOS_DEMOS) { + AddSymlinkToHaikuImage home config be Demos + : /boot/beos/demos/$(linkTarget) : $(linkTarget) ; +} AddSymlinkToHaikuImage beos bin : bzip2 : bunzip2 ; AddSymlinkToHaikuImage beos bin : less : more ;