Le Tuesday 11 Jun 2013 à 23:21:11 (+0200), Sam Geeraerts a écrit: 
> Op Mon, 10 Jun 2013 18:41:45 +0000
> schreef Marek Buras <[email protected]>:
> 
> > What do you think about replacing firefox with Debian's web browser 
> > handler (x-www-browser) in this patch? If firefox is considered non
> > free (according to FSDG) such approach should solve the issue.
> 
> Good point. The firefox command is an alias for iceweasel, but the
> caption can be seen as a recommendation for the real Firefox. The same
> goes for Mozilla, a.k.a. Seamonkey for which Iceape is the equivalent.
> It would be nice to see these 2 patched also, if only for consistency
> within the distro.
> 
> Anthony, would you like to include this in your patch or shall I commit
> your last version and leave firefox/mozilla to fix at a later time?

I forgot the patch
Description: Remove Opera. Replace Firefox and Mozilla by Iceweasel and Iceape.
Author: Anthony Letellier <[email protected]>
Bug-gNewSense: https://savannah.nongnu.org/bugs/?33639
Last-Update: 2013 06 13
--- a/src/ui/ui_prefs.c
+++ b/src/ui/ui_prefs.c
@@ -76,24 +76,18 @@
 		NULL, NULL
 	},
 	{
-		/* tested with SeaMonkey 1.0.6 */
-		"mozilla", "Mozilla", "mozilla %s",
-		NULL, "mozilla -remote openURL(%s)",
-		NULL, "mozilla -remote 'openURL(%s,new-window)'",
-		NULL, "mozilla -remote 'openURL(%s,new-tab)'"
+		/* tested with Iceape 2.0.11 */
+		"iceape", "Iceape", "iceape %s",
+		NULL, "iceape -remote openURL(%s)",
+		NULL, "iceape -remote 'openURL(%s,new-window)'",
+		NULL, "iceape -remote 'openURL(%s,new-tab)'"
 	},
 	{
-		/* tested with Firefox 1.5 and 2.0 */
-		"firefox", "Firefox","firefox \"%s\"",
-		NULL, "firefox -a firefox -remote \"openURL(%s)\"",
-		NULL, "firefox -a firefox -remote 'openURL(%s,new-window)'",
-		NULL, "firefox -a firefox -remote 'openURL(%s,new-tab)'"
-	},
-	{
-		"opera", "Opera","opera \"%s\"",
-		"opera \"%s\"", "opera -remote \"openURL(%s)\"",
-		"opera -newwindow \"%s\"", NULL,
-		"opera -newpage \"%s\"", NULL
+		/* tested with Iceweasel 3.5.16 */
+		"iceweasel", "Iceweasel","iceweasel \"%s\"",
+		NULL, "iceweasel -a iceweasel -remote \"openURL(%s)\"",
+		NULL, "iceweasel -a iceweasel -remote 'openURL(%s,new-window)'",
+		NULL, "iceweasel -a iceweasel -remote 'openURL(%s,new-tab)'"
 	},
 	{
 		"epiphany", "Epiphany","epiphany \"%s\"",
_______________________________________________
gNewSense-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/gnewsense-dev

Reply via email to