Lines 1-7
Link Here
|
1 |
--- ./extensions/external-download-manager.vala.orig 2013-03-07 17:44:14.000000000 +0000 |
1 |
--- extensions/external-download-manager.vala.orig 2015-08-30 11:56:26 UTC |
2 |
+++ ./extensions/external-download-manager.vala 2013-03-11 06:50:27.000000000 +0000 |
2 |
+++ extensions/external-download-manager.vala |
3 |
@@ -16,7 +16,7 @@ |
3 |
@@ -10,7 +10,7 @@ |
4 |
using WebKit; |
4 |
*/ |
5 |
|
5 |
|
6 |
namespace EDM { |
6 |
namespace EDM { |
7 |
-#if !HAVE_WIN32 |
7 |
-#if !HAVE_WIN32 |
Lines 9-15
Link Here
|
9 |
[DBus (name = "net.launchpad.steadyflow.App")] |
9 |
[DBus (name = "net.launchpad.steadyflow.App")] |
10 |
interface SteadyflowInterface : GLib.Object { |
10 |
interface SteadyflowInterface : GLib.Object { |
11 |
public abstract void AddFile (string url) throws IOError; |
11 |
public abstract void AddFile (string url) throws IOError; |
12 |
@@ -183,6 +183,7 @@ |
12 |
@@ -203,6 +203,7 @@ namespace EDM { |
13 |
} |
13 |
} |
14 |
} |
14 |
} |
15 |
|
15 |
|
Lines 17-23
Link Here
|
17 |
private class SteadyFlow : ExternalDownloadManager { |
17 |
private class SteadyFlow : ExternalDownloadManager { |
18 |
public override bool download (DownloadRequest dlReq) { |
18 |
public override bool download (DownloadRequest dlReq) { |
19 |
try { |
19 |
try { |
20 |
@@ -210,6 +211,7 @@ |
20 |
@@ -230,6 +231,7 @@ namespace EDM { |
21 |
} |
21 |
} |
22 |
} |
22 |
} |
23 |
#endif |
23 |
#endif |
Lines 24-38
Link Here
|
24 |
+#endif |
24 |
+#endif |
25 |
|
25 |
|
26 |
private class CommandLinePreferences : Gtk.Dialog { |
26 |
private class CommandLinePreferences : Gtk.Dialog { |
27 |
protected Entry input; |
27 |
protected Gtk.Entry input; |
28 |
@@ -339,8 +341,10 @@ |
28 |
@@ -359,7 +361,9 @@ public Katze.Array extension_init () { |
29 |
var extensions = new Katze.Array( typeof (Midori.Extension)); |
29 |
var extensions = new Katze.Array( typeof (Midori.Extension)); |
30 |
#if !HAVE_WIN32 |
30 |
#if !HAVE_WIN32 |
31 |
extensions.add_item (new EDM.Aria2 ()); |
31 |
extensions.add_item (new EDM.Aria2 ()); |
32 |
+ #if HAVE_GTK3 |
32 |
+ #if HAVE_GTK3 |
33 |
extensions.add_item (new EDM.SteadyFlow ()); |
33 |
extensions.add_item (new EDM.SteadyFlow ()); |
|
|
34 |
+ #endif |
34 |
#endif |
35 |
#endif |
35 |
+ #endif |
|
|
36 |
extensions.add_item (new EDM.CommandLine ()); |
36 |
extensions.add_item (new EDM.CommandLine ()); |
37 |
return extensions; |
37 |
return extensions; |
38 |
} |
|
|