Package: jd / 1:2.7.0~beta100627-1

browsers.cpp Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
modify browser list for Debian
Index: jd-2.6.5~beta100411/src/browsers.cpp
===================================================================
--- jd-2.6.5~beta100411.orig/src/browsers.cpp	2010-04-12 09:36:37.029194691 +0900
+++ jd-2.6.5~beta100411/src/browsers.cpp	2010-04-12 09:47:46.517195308 +0900
@@ -4,11 +4,11 @@
 
 enum
 {
-    MAX_TEXT = 256,
+    MAX_TEXT = 512,
 #ifdef _WIN32
     BROWSER_NUM = 5
 #else
-    BROWSER_NUM = 6
+    BROWSER_NUM = 11
 #endif
 };
 
@@ -24,10 +24,16 @@
         { "opera 9.*",    "\"C:/Program Files/Opera/opera.exe\" \"%LINK\"" }
 #else
         { "標準ブラウザ(xdg-open)",    "xdg-open \"%LINK\"" },
-        { "firefox 1.5/2.0/3.0 以降", "firefox \"%LINK\"" },
-        { "firefox 1.0*", "firefox -remote \"openURL(%LINK,new-tab)\"" },
-        { "opera 9.*",    "opera -remote \"openURL(%LINK,new-tab)\"" },
+        { "Debian Sensible ブラウザ (システム設定依存)", "sensible-browser \"%LINK\"" },
+        { "iceweasel", "iceweasel \"%LINK\"" },
+        { "Firefox", "firefox \"%LINK\"" },
+        { "iceape", "iceape \"%LINK\"" },
+        { "konqeror", "konqeror \"%LINK\"" },
+        { "w3m", "w3m \"%LINK\"" },
+        { "風博士", "kazehakase \"%LINK\"" },
+        { "opera",    "opera -remote \"openURL(%LINK,new-tab)\"" },
         { "chrome",    "google-chrome \"%LINK\"" }
+
 #endif
     };