Author: alexander
Date: 2006-05-05 09:33:20 -0600 (Fri, 05 May 2006)
New Revision: 1517

Modified:
   trunk/packages/xfce/cleanup-panel.pl
   trunk/packages/xfce/desktop-files/mozilla-chat.desktop
   trunk/packages/xfce/desktop-files/mozilla-mail.desktop
   trunk/packages/xfce/desktop-files/mozilla.desktop
Log:
Solved the profile locking problem in SeaMonkey


Modified: trunk/packages/xfce/cleanup-panel.pl
===================================================================
--- trunk/packages/xfce/cleanup-panel.pl        2006-05-05 15:10:25 UTC (rev 
1516)
+++ trunk/packages/xfce/cleanup-panel.pl        2006-05-05 15:33:20 UTC (rev 
1517)
@@ -11,10 +11,9 @@
 $content =~ s,<Popup>.*?</Popup>,<Popup/>,sg;
 $content =~ s,popup="1",popup="0",g;
 
-## Use Firefox and Thunderbird for web and mail
-#$content =~ s,Mozilla,Firefox,g;
-#$content =~ s,mozilla -mail,thunderbird,g;
-#$content =~ s,mozilla,firefox,g;
+# Use SeaMonkey for web and mail
+$content =~ s,Mozilla,SeaMonkey,g;
+$content =~ s,mozilla,/bin/sh -c 'mozilla -remote "xfeDoCommand(openBrowser)" 
2&gt;/dev/null || mozilla',g;
 
 # Hide the non-functional "Lock Screen" button
 $content =~ s,button1=".",button1="1",g;
@@ -29,6 +28,10 @@
 $content =~ s,<Group>[^G]*?xfprint4.*?</Group>\s*,,sg;
 $content =~ s,<Group>[^G]*?xmms.*?</Group>\s*,,sg;
 
+# Hide the mail icon because of the profile locking problem,
+# and because its text isn't looked up for translations
+$content =~ s,<Group>[^G]*?libmailcheck.*?</Group>\s*,,sg;
+
 # End of hack
 
 open(FH, ">$ARGV[0]");

Modified: trunk/packages/xfce/desktop-files/mozilla-chat.desktop
===================================================================
--- trunk/packages/xfce/desktop-files/mozilla-chat.desktop      2006-05-05 
15:10:25 UTC (rev 1516)
+++ trunk/packages/xfce/desktop-files/mozilla-chat.desktop      2006-05-05 
15:33:20 UTC (rev 1517)
@@ -1,7 +1,7 @@
 [Desktop Entry]
 Name=Chatzilla
 Comment=IRC Client
-Exec=mozilla -chat
+Exec=/bin/sh -c 'mozilla -remote "openURL(irc://)" 2>/dev/null || mozilla 
-chat'
 Terminal=false
 MultipleArgs=false
 Type=Application

Modified: trunk/packages/xfce/desktop-files/mozilla-mail.desktop
===================================================================
--- trunk/packages/xfce/desktop-files/mozilla-mail.desktop      2006-05-05 
15:10:25 UTC (rev 1516)
+++ trunk/packages/xfce/desktop-files/mozilla-mail.desktop      2006-05-05 
15:33:20 UTC (rev 1517)
@@ -1,12 +1,12 @@
 [Desktop Entry]
-Name=Mozilla Mail
+Name=SeaMonkey Mail
 Comment=Read and write your email
-Exec=mozilla -mail
+Exec=/bin/sh -c 'mozilla -remote "xfeDoCommand(openInbox)" 2>/dev/null || 
mozilla -mail'
 Terminal=false
 MultipleArgs=false
 Type=Application
 Categories=Application;Network
-Name[ca]=Client de correu Mozilla
+Name[ca]=Client de correu SeaMonkey
 Comment[ca]=Llegiu i escriviu correu
 Comment[de]=Emails lesen und verfassen
 Comment[fr]=Lire et écrire votre mél

Modified: trunk/packages/xfce/desktop-files/mozilla.desktop
===================================================================
--- trunk/packages/xfce/desktop-files/mozilla.desktop   2006-05-05 15:10:25 UTC 
(rev 1516)
+++ trunk/packages/xfce/desktop-files/mozilla.desktop   2006-05-05 15:33:20 UTC 
(rev 1517)
@@ -1,8 +1,8 @@
 [Desktop Entry]
-Name=Mozilla
+Name=SeaMonkey
 GenericName=Web Browser
 Comment=Browse the World Wide Web
-Exec=mozilla
+Exec=/bin/sh -c 'mozilla -remote "xfeDoCommand(openBrowser)" 2>/dev/null || 
mozilla'
 Terminal=false
 MultipleArgs=false
 Type=Application

-- 
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to