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
This commit is contained in:
+24
-8
@@ -247,10 +247,10 @@ DESKBAR_APPLICATIONS = ActivityMonitor CodyCam CDPlayer DeskCalc DiskProbe
|
|||||||
DriveSetup DiskUsage Expander Icon-O-Matic Magnify Mail MediaPlayer
|
DriveSetup DiskUsage Expander Icon-O-Matic Magnify Mail MediaPlayer
|
||||||
MidiPlayer People Screenshot SoundRecorder StyledEdit Terminal TV
|
MidiPlayer People Screenshot SoundRecorder StyledEdit Terminal TV
|
||||||
;
|
;
|
||||||
local app ;
|
local linkTarget ;
|
||||||
for app in $(DESKBAR_APPLICATIONS) {
|
for linkTarget in $(DESKBAR_APPLICATIONS) {
|
||||||
AddSymlinkToHaikuImage home config be Applications
|
AddSymlinkToHaikuImage home config be Applications
|
||||||
: /boot/beos/apps/$(app) : $(app) ;
|
: /boot/beos/apps/$(linkTarget) : $(linkTarget) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Deskbar Desktop Applets links
|
# Deskbar Desktop Applets links
|
||||||
@@ -258,14 +258,30 @@ AddDirectoryToHaikuImage home config be Desktop\ Applets ;
|
|||||||
DESKBAR_DESKTOP_APPLETS = LaunchBox NetworkStatus PowerStatus ProcessController
|
DESKBAR_DESKTOP_APPLETS = LaunchBox NetworkStatus PowerStatus ProcessController
|
||||||
Workspaces
|
Workspaces
|
||||||
;
|
;
|
||||||
for app in $(DESKBAR_DESKTOP_APPLETS) {
|
for linkTarget in $(DESKBAR_DESKTOP_APPLETS) {
|
||||||
AddSymlinkToHaikuImage home config be Desktop\ Applets
|
AddSymlinkToHaikuImage home config be Desktop\ Applets
|
||||||
: /boot/beos/apps/$(app) : $(app) ;
|
: /boot/beos/apps/$(linkTarget) : $(linkTarget) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Deskbar Preferences and Demos links
|
# Deskbar Preferences links
|
||||||
AddSymlinkToHaikuImage home config be : /boot/beos/preferences : Preferences ;
|
AddDirectoryToHaikuImage home config be Preferences ;
|
||||||
AddSymlinkToHaikuImage home config be : /boot/beos/demos : Demos ;
|
# TODO/NOTE: Cannot use $(BEOS_PREFERENCES) here since there is
|
||||||
|
# "<preferences>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 : bzip2 : bunzip2 ;
|
||||||
AddSymlinkToHaikuImage beos bin : less : more ;
|
AddSymlinkToHaikuImage beos bin : less : more ;
|
||||||
|
|||||||
Reference in New Issue
Block a user