diff options
author | Christian Grothoff <christian@grothoff.org> | 2006-12-08 03:13:11 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2006-12-08 03:13:11 +0000 |
commit | 2f0c5f30879ef724f39d5ea3ddbb96b8b9ab946a (patch) | |
tree | 899869a899adac62c6e242aafe976b39f4f9d7c2 | |
parent | 8f4dd8e81ee2539fe2907a40c3137be418eaf990 (diff) | |
download | gnunet-gtk-2f0c5f30879ef724f39d5ea3ddbb96b8b9ab946a.tar.gz gnunet-gtk-2f0c5f30879ef724f39d5ea3ddbb96b8b9ab946a.zip |
recursive downloads
-rw-r--r-- | INSTALL | 69 | ||||
-rw-r--r-- | TODO | 2 | ||||
-rw-r--r-- | gnunet-gtk.glade | 32 | ||||
-rw-r--r-- | ltmain.sh | 12 | ||||
-rw-r--r-- | mkinstalldirs | 26 | ||||
-rw-r--r-- | src/plugins/fs/download.c | 3 |
6 files changed, 80 insertions, 64 deletions
@@ -1,16 +1,13 @@ | |||
1 | Installation Instructions | 1 | Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software |
2 | ************************* | 2 | Foundation, Inc. |
3 | 3 | ||
4 | Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free | 4 | This file is free documentation; the Free Software Foundation gives |
5 | Software Foundation, Inc. | ||
6 | |||
7 | This file is free documentation; the Free Software Foundation gives | ||
8 | unlimited permission to copy, distribute and modify it. | 5 | unlimited permission to copy, distribute and modify it. |
9 | 6 | ||
10 | Basic Installation | 7 | Basic Installation |
11 | ================== | 8 | ================== |
12 | 9 | ||
13 | These are generic installation instructions. | 10 | These are generic installation instructions. |
14 | 11 | ||
15 | The `configure' shell script attempts to guess correct values for | 12 | The `configure' shell script attempts to guess correct values for |
16 | various system-dependent variables used during compilation. It uses | 13 | various system-dependent variables used during compilation. It uses |
@@ -70,9 +67,9 @@ The simplest way to compile this package is: | |||
70 | Compilers and Options | 67 | Compilers and Options |
71 | ===================== | 68 | ===================== |
72 | 69 | ||
73 | Some systems require unusual options for compilation or linking that the | 70 | Some systems require unusual options for compilation or linking that |
74 | `configure' script does not know about. Run `./configure --help' for | 71 | the `configure' script does not know about. Run `./configure --help' |
75 | details on some of the pertinent environment variables. | 72 | for details on some of the pertinent environment variables. |
76 | 73 | ||
77 | You can give `configure' initial values for configuration parameters | 74 | You can give `configure' initial values for configuration parameters |
78 | by setting variables in the command line or in the environment. Here | 75 | by setting variables in the command line or in the environment. Here |
@@ -85,7 +82,7 @@ is an example: | |||
85 | Compiling For Multiple Architectures | 82 | Compiling For Multiple Architectures |
86 | ==================================== | 83 | ==================================== |
87 | 84 | ||
88 | You can compile the package for more than one kind of computer at the | 85 | You can compile the package for more than one kind of computer at the |
89 | same time, by placing the object files for each architecture in their | 86 | same time, by placing the object files for each architecture in their |
90 | own directory. To do this, you must use a version of `make' that | 87 | own directory. To do this, you must use a version of `make' that |
91 | supports the `VPATH' variable, such as GNU `make'. `cd' to the | 88 | supports the `VPATH' variable, such as GNU `make'. `cd' to the |
@@ -102,19 +99,19 @@ for another architecture. | |||
102 | Installation Names | 99 | Installation Names |
103 | ================== | 100 | ================== |
104 | 101 | ||
105 | By default, `make install' installs the package's commands under | 102 | By default, `make install' will install the package's files in |
106 | `/usr/local/bin', include files under `/usr/local/include', etc. You | 103 | `/usr/local/bin', `/usr/local/man', etc. You can specify an |
107 | can specify an installation prefix other than `/usr/local' by giving | 104 | installation prefix other than `/usr/local' by giving `configure' the |
108 | `configure' the option `--prefix=PREFIX'. | 105 | option `--prefix=PATH'. |
109 | 106 | ||
110 | You can specify separate installation prefixes for | 107 | You can specify separate installation prefixes for |
111 | architecture-specific files and architecture-independent files. If you | 108 | architecture-specific files and architecture-independent files. If you |
112 | pass the option `--exec-prefix=PREFIX' to `configure', the package uses | 109 | give `configure' the option `--exec-prefix=PATH', the package will use |
113 | PREFIX as the prefix for installing programs and libraries. | 110 | PATH as the prefix for installing programs and libraries. |
114 | Documentation and other data files still use the regular prefix. | 111 | Documentation and other data files will still use the regular prefix. |
115 | 112 | ||
116 | In addition, if you use an unusual directory layout you can give | 113 | In addition, if you use an unusual directory layout you can give |
117 | options like `--bindir=DIR' to specify different values for particular | 114 | options like `--bindir=PATH' to specify different values for particular |
118 | kinds of files. Run `configure --help' for a list of the directories | 115 | kinds of files. Run `configure --help' for a list of the directories |
119 | you can set and what kinds of files go in them. | 116 | you can set and what kinds of files go in them. |
120 | 117 | ||
@@ -125,7 +122,7 @@ option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. | |||
125 | Optional Features | 122 | Optional Features |
126 | ================= | 123 | ================= |
127 | 124 | ||
128 | Some packages pay attention to `--enable-FEATURE' options to | 125 | Some packages pay attention to `--enable-FEATURE' options to |
129 | `configure', where FEATURE indicates an optional part of the package. | 126 | `configure', where FEATURE indicates an optional part of the package. |
130 | They may also pay attention to `--with-PACKAGE' options, where PACKAGE | 127 | They may also pay attention to `--with-PACKAGE' options, where PACKAGE |
131 | is something like `gnu-as' or `x' (for the X Window System). The | 128 | is something like `gnu-as' or `x' (for the X Window System). The |
@@ -140,11 +137,11 @@ you can use the `configure' options `--x-includes=DIR' and | |||
140 | Specifying the System Type | 137 | Specifying the System Type |
141 | ========================== | 138 | ========================== |
142 | 139 | ||
143 | There may be some features `configure' cannot figure out automatically, | 140 | There may be some features `configure' cannot figure out |
144 | but needs to determine by the type of machine the package will run on. | 141 | automatically, but needs to determine by the type of machine the package |
145 | Usually, assuming the package is built to be run on the _same_ | 142 | will run on. Usually, assuming the package is built to be run on the |
146 | architectures, `configure' can figure that out, but if it prints a | 143 | _same_ architectures, `configure' can figure that out, but if it prints |
147 | message saying it cannot guess the machine type, give it the | 144 | a message saying it cannot guess the machine type, give it the |
148 | `--build=TYPE' option. TYPE can either be a short name for the system | 145 | `--build=TYPE' option. TYPE can either be a short name for the system |
149 | type, such as `sun4', or a canonical name which has the form: | 146 | type, such as `sun4', or a canonical name which has the form: |
150 | 147 | ||
@@ -159,7 +156,7 @@ where SYSTEM can have one of these forms: | |||
159 | need to know the machine type. | 156 | need to know the machine type. |
160 | 157 | ||
161 | If you are _building_ compiler tools for cross-compiling, you should | 158 | If you are _building_ compiler tools for cross-compiling, you should |
162 | use the option `--target=TYPE' to select the type of system they will | 159 | use the `--target=TYPE' option to select the type of system they will |
163 | produce code for. | 160 | produce code for. |
164 | 161 | ||
165 | If you want to _use_ a cross compiler, that generates code for a | 162 | If you want to _use_ a cross compiler, that generates code for a |
@@ -170,9 +167,9 @@ eventually be run) with `--host=TYPE'. | |||
170 | Sharing Defaults | 167 | Sharing Defaults |
171 | ================ | 168 | ================ |
172 | 169 | ||
173 | If you want to set default values for `configure' scripts to share, you | 170 | If you want to set default values for `configure' scripts to share, |
174 | can create a site shell script called `config.site' that gives default | 171 | you can create a site shell script called `config.site' that gives |
175 | values for variables like `CC', `cache_file', and `prefix'. | 172 | default values for variables like `CC', `cache_file', and `prefix'. |
176 | `configure' looks for `PREFIX/share/config.site' if it exists, then | 173 | `configure' looks for `PREFIX/share/config.site' if it exists, then |
177 | `PREFIX/etc/config.site' if it exists. Or, you can set the | 174 | `PREFIX/etc/config.site' if it exists. Or, you can set the |
178 | `CONFIG_SITE' environment variable to the location of the site script. | 175 | `CONFIG_SITE' environment variable to the location of the site script. |
@@ -181,7 +178,7 @@ A warning: not all `configure' scripts look for a site script. | |||
181 | Defining Variables | 178 | Defining Variables |
182 | ================== | 179 | ================== |
183 | 180 | ||
184 | Variables not defined in a site shell script can be set in the | 181 | Variables not defined in a site shell script can be set in the |
185 | environment passed to `configure'. However, some packages may run | 182 | environment passed to `configure'. However, some packages may run |
186 | configure again during the build, and the customized values of these | 183 | configure again during the build, and the customized values of these |
187 | variables may be lost. In order to avoid this problem, you should set | 184 | variables may be lost. In order to avoid this problem, you should set |
@@ -189,18 +186,14 @@ them in the `configure' command line, using `VAR=value'. For example: | |||
189 | 186 | ||
190 | ./configure CC=/usr/local2/bin/gcc | 187 | ./configure CC=/usr/local2/bin/gcc |
191 | 188 | ||
192 | causes the specified `gcc' to be used as the C compiler (unless it is | 189 | will cause the specified gcc to be used as the C compiler (unless it is |
193 | overridden in the site shell script). Here is a another example: | 190 | overridden in the site shell script). |
194 | |||
195 | /bin/bash ./configure CONFIG_SHELL=/bin/bash | ||
196 | |||
197 | Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent | ||
198 | configuration-related scripts to be executed by `/bin/bash'. | ||
199 | 191 | ||
200 | `configure' Invocation | 192 | `configure' Invocation |
201 | ====================== | 193 | ====================== |
202 | 194 | ||
203 | `configure' recognizes the following options to control how it operates. | 195 | `configure' recognizes the following options to control how it |
196 | operates. | ||
204 | 197 | ||
205 | `--help' | 198 | `--help' |
206 | `-h' | 199 | `-h' |
@@ -1,12 +1,10 @@ | |||
1 | 0.7.1: | 1 | 0.7.1: |
2 | - fix addition of previews for uploads [pre2] | 2 | - fix addition of previews for uploads [pre2] |
3 | - enable instant-transitive downloads [pre2] | ||
4 | - create directory from known file IDs [ medium ] [pre2] | 3 | - create directory from known file IDs [ medium ] [pre2] |
5 | in Assemble Directory's Files Available/Selected | 4 | in Assemble Directory's Files Available/Selected |
6 | + have sortability | 5 | + have sortability |
7 | + have multiselection | 6 | + have multiselection |
8 | + print filenames as well | 7 | + print filenames as well |
9 | - more help-texts (glade) [ easy ] [pre2] | ||
10 | 8 | ||
11 | - re-enable advanced/namespace menus [pre3] | 9 | - re-enable advanced/namespace menus [pre3] |
12 | + namespace creation | 10 | + namespace creation |
diff --git a/gnunet-gtk.glade b/gnunet-gtk.glade index dc28921a..a9f3a39e 100644 --- a/gnunet-gtk.glade +++ b/gnunet-gtk.glade | |||
@@ -179,6 +179,7 @@ This release fixes downloads of files from directories. The previous version ha | |||
179 | <packing> | 179 | <packing> |
180 | <property name="tab_expand">False</property> | 180 | <property name="tab_expand">False</property> |
181 | <property name="tab_fill">True</property> | 181 | <property name="tab_fill">True</property> |
182 | <property name="menu_label" translatable="yes"></property> | ||
182 | </packing> | 183 | </packing> |
183 | </child> | 184 | </child> |
184 | 185 | ||
@@ -586,6 +587,7 @@ This release fixes downloads of files from directories. The previous version ha | |||
586 | <child> | 587 | <child> |
587 | <widget class="GtkButton" id="startDaemonConfWizard"> | 588 | <widget class="GtkButton" id="startDaemonConfWizard"> |
588 | <property name="visible">True</property> | 589 | <property name="visible">True</property> |
590 | <property name="tooltip" translatable="yes">Run gnunet-setup in wizard mode</property> | ||
589 | <property name="can_focus">True</property> | 591 | <property name="can_focus">True</property> |
590 | <property name="relief">GTK_RELIEF_NORMAL</property> | 592 | <property name="relief">GTK_RELIEF_NORMAL</property> |
591 | <property name="focus_on_click">True</property> | 593 | <property name="focus_on_click">True</property> |
@@ -665,6 +667,7 @@ This release fixes downloads of files from directories. The previous version ha | |||
665 | <child> | 667 | <child> |
666 | <widget class="GtkButton" id="startDaemonConfTool"> | 668 | <widget class="GtkButton" id="startDaemonConfTool"> |
667 | <property name="visible">True</property> | 669 | <property name="visible">True</property> |
670 | <property name="tooltip" translatable="yes">Run gnunet-setup in standard configuration mode</property> | ||
668 | <property name="can_focus">True</property> | 671 | <property name="can_focus">True</property> |
669 | <property name="relief">GTK_RELIEF_NORMAL</property> | 672 | <property name="relief">GTK_RELIEF_NORMAL</property> |
670 | <property name="focus_on_click">True</property> | 673 | <property name="focus_on_click">True</property> |
@@ -1088,6 +1091,7 @@ This release fixes downloads of files from directories. The previous version ha | |||
1088 | <child> | 1091 | <child> |
1089 | <widget class="GtkButton" id="fs_status_download_button"> | 1092 | <widget class="GtkButton" id="fs_status_download_button"> |
1090 | <property name="visible">True</property> | 1093 | <property name="visible">True</property> |
1094 | <property name="tooltip" translatable="yes">Download the content specified by the URI</property> | ||
1091 | <property name="can_focus">True</property> | 1095 | <property name="can_focus">True</property> |
1092 | <property name="relief">GTK_RELIEF_NORMAL</property> | 1096 | <property name="relief">GTK_RELIEF_NORMAL</property> |
1093 | <property name="focus_on_click">True</property> | 1097 | <property name="focus_on_click">True</property> |
@@ -1233,7 +1237,7 @@ This release fixes downloads of files from directories. The previous version ha | |||
1233 | <widget class="GtkButton" id="abortDownloadButton"> | 1237 | <widget class="GtkButton" id="abortDownloadButton"> |
1234 | <property name="visible">True</property> | 1238 | <property name="visible">True</property> |
1235 | <property name="sensitive">False</property> | 1239 | <property name="sensitive">False</property> |
1236 | <property name="tooltip" translatable="yes">Cancel the selected download</property> | 1240 | <property name="tooltip" translatable="yes">Cancel the selected download (and all sub-downloads)</property> |
1237 | <property name="can_focus">True</property> | 1241 | <property name="can_focus">True</property> |
1238 | <property name="label">gtk-cancel</property> | 1242 | <property name="label">gtk-cancel</property> |
1239 | <property name="use_stock">True</property> | 1243 | <property name="use_stock">True</property> |
@@ -1252,7 +1256,7 @@ This release fixes downloads of files from directories. The previous version ha | |||
1252 | <widget class="GtkButton" id="stopDownloadButton"> | 1256 | <widget class="GtkButton" id="stopDownloadButton"> |
1253 | <property name="visible">True</property> | 1257 | <property name="visible">True</property> |
1254 | <property name="sensitive">False</property> | 1258 | <property name="sensitive">False</property> |
1255 | <property name="tooltip" translatable="yes">Cancel the selected download and remove it from the list</property> | 1259 | <property name="tooltip" translatable="yes">Cancel the selected download (and all sub-downloads) and remove them from the list</property> |
1256 | <property name="can_focus">True</property> | 1260 | <property name="can_focus">True</property> |
1257 | <property name="label">gtk-stop</property> | 1261 | <property name="label">gtk-stop</property> |
1258 | <property name="use_stock">True</property> | 1262 | <property name="use_stock">True</property> |
@@ -1377,7 +1381,7 @@ This release fixes downloads of files from directories. The previous version ha | |||
1377 | <widget class="GtkButton" id="cancelUploadButton"> | 1381 | <widget class="GtkButton" id="cancelUploadButton"> |
1378 | <property name="visible">True</property> | 1382 | <property name="visible">True</property> |
1379 | <property name="sensitive">False</property> | 1383 | <property name="sensitive">False</property> |
1380 | <property name="tooltip" translatable="yes">Cancel the selected upload</property> | 1384 | <property name="tooltip" translatable="yes">Cancel the selected upload (and all sub-uploads)</property> |
1381 | <property name="can_focus">True</property> | 1385 | <property name="can_focus">True</property> |
1382 | <property name="label">gtk-cancel</property> | 1386 | <property name="label">gtk-cancel</property> |
1383 | <property name="use_stock">True</property> | 1387 | <property name="use_stock">True</property> |
@@ -1396,7 +1400,7 @@ This release fixes downloads of files from directories. The previous version ha | |||
1396 | <widget class="GtkButton" id="stopUploadButton"> | 1400 | <widget class="GtkButton" id="stopUploadButton"> |
1397 | <property name="visible">True</property> | 1401 | <property name="visible">True</property> |
1398 | <property name="sensitive">False</property> | 1402 | <property name="sensitive">False</property> |
1399 | <property name="tooltip" translatable="yes">Cancel the selected upload and remove it from the list</property> | 1403 | <property name="tooltip" translatable="yes">Cancel the selected upload (and all sub-uploads) and remove them from the list</property> |
1400 | <property name="can_focus">True</property> | 1404 | <property name="can_focus">True</property> |
1401 | <property name="label">gtk-stop</property> | 1405 | <property name="label">gtk-stop</property> |
1402 | <property name="use_stock">True</property> | 1406 | <property name="use_stock">True</property> |
@@ -4509,6 +4513,26 @@ Press ENTER to add the data.</atkproperty> | |||
4509 | </child> | 4513 | </child> |
4510 | 4514 | ||
4511 | <child> | 4515 | <child> |
4516 | <widget class="GtkCheckButton" id="downloadRecursiveCheckButton"> | ||
4517 | <property name="visible">True</property> | ||
4518 | <property name="tooltip" translatable="yes">If the selected file is a directory, immediately try to download all files in the directory as well.</property> | ||
4519 | <property name="can_focus">True</property> | ||
4520 | <property name="label" translatable="yes">r_ecursively</property> | ||
4521 | <property name="use_underline">True</property> | ||
4522 | <property name="relief">GTK_RELIEF_NONE</property> | ||
4523 | <property name="focus_on_click">True</property> | ||
4524 | <property name="active">False</property> | ||
4525 | <property name="inconsistent">False</property> | ||
4526 | <property name="draw_indicator">True</property> | ||
4527 | </widget> | ||
4528 | <packing> | ||
4529 | <property name="padding">0</property> | ||
4530 | <property name="expand">False</property> | ||
4531 | <property name="fill">False</property> | ||
4532 | </packing> | ||
4533 | </child> | ||
4534 | |||
4535 | <child> | ||
4512 | <widget class="GtkLabel" id="downloadAnonymityLabel"> | 4536 | <widget class="GtkLabel" id="downloadAnonymityLabel"> |
4513 | <property name="visible">True</property> | 4537 | <property name="visible">True</property> |
4514 | <property name="label" translatable="yes">with anon_ymity</property> | 4538 | <property name="label" translatable="yes">with anon_ymity</property> |
@@ -43,7 +43,7 @@ EXIT_FAILURE=1 | |||
43 | 43 | ||
44 | PROGRAM=ltmain.sh | 44 | PROGRAM=ltmain.sh |
45 | PACKAGE=libtool | 45 | PACKAGE=libtool |
46 | VERSION=1.5.22 | 46 | VERSION="1.5.22 Debian 1.5.22-4" |
47 | TIMESTAMP=" (1.1220.2.365 2005/12/18 22:14:06)" | 47 | TIMESTAMP=" (1.1220.2.365 2005/12/18 22:14:06)" |
48 | 48 | ||
49 | # See if we are running on zsh, and set the options which allow our | 49 | # See if we are running on zsh, and set the options which allow our |
@@ -2082,7 +2082,10 @@ EOF | |||
2082 | case $pass in | 2082 | case $pass in |
2083 | dlopen) libs="$dlfiles" ;; | 2083 | dlopen) libs="$dlfiles" ;; |
2084 | dlpreopen) libs="$dlprefiles" ;; | 2084 | dlpreopen) libs="$dlprefiles" ;; |
2085 | link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; | 2085 | link) |
2086 | libs="$deplibs %DEPLIBS%" | ||
2087 | test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs" | ||
2088 | ;; | ||
2086 | esac | 2089 | esac |
2087 | fi | 2090 | fi |
2088 | if test "$pass" = dlopen; then | 2091 | if test "$pass" = dlopen; then |
@@ -3201,6 +3204,11 @@ EOF | |||
3201 | age="$number_minor" | 3204 | age="$number_minor" |
3202 | revision="$number_minor" | 3205 | revision="$number_minor" |
3203 | ;; | 3206 | ;; |
3207 | *) | ||
3208 | $echo "$modename: unknown library version type \`$version_type'" 1>&2 | ||
3209 | $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 | ||
3210 | exit $EXIT_FAILURE | ||
3211 | ;; | ||
3204 | esac | 3212 | esac |
3205 | ;; | 3213 | ;; |
3206 | no) | 3214 | no) |
diff --git a/mkinstalldirs b/mkinstalldirs index 259dbfcd..6fbe5e11 100644 --- a/mkinstalldirs +++ b/mkinstalldirs | |||
@@ -1,7 +1,7 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | # mkinstalldirs --- make directory hierarchy | 2 | # mkinstalldirs --- make directory hierarchy |
3 | 3 | ||
4 | scriptversion=2005-06-29.22 | 4 | scriptversion=2004-02-15.20 |
5 | 5 | ||
6 | # Original author: Noah Friedman <friedman@prep.ai.mit.edu> | 6 | # Original author: Noah Friedman <friedman@prep.ai.mit.edu> |
7 | # Created: 1993-05-16 | 7 | # Created: 1993-05-16 |
@@ -12,7 +12,7 @@ scriptversion=2005-06-29.22 | |||
12 | # <automake-patches@gnu.org>. | 12 | # <automake-patches@gnu.org>. |
13 | 13 | ||
14 | errstatus=0 | 14 | errstatus=0 |
15 | dirmode= | 15 | dirmode="" |
16 | 16 | ||
17 | usage="\ | 17 | usage="\ |
18 | Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ... | 18 | Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ... |
@@ -27,7 +27,7 @@ while test $# -gt 0 ; do | |||
27 | case $1 in | 27 | case $1 in |
28 | -h | --help | --h*) # -h for help | 28 | -h | --help | --h*) # -h for help |
29 | echo "$usage" | 29 | echo "$usage" |
30 | exit $? | 30 | exit 0 |
31 | ;; | 31 | ;; |
32 | -m) # -m PERM arg | 32 | -m) # -m PERM arg |
33 | shift | 33 | shift |
@@ -37,7 +37,7 @@ while test $# -gt 0 ; do | |||
37 | ;; | 37 | ;; |
38 | --version) | 38 | --version) |
39 | echo "$0 $scriptversion" | 39 | echo "$0 $scriptversion" |
40 | exit $? | 40 | exit 0 |
41 | ;; | 41 | ;; |
42 | --) # stop option processing | 42 | --) # stop option processing |
43 | shift | 43 | shift |
@@ -103,21 +103,13 @@ esac | |||
103 | 103 | ||
104 | for file | 104 | for file |
105 | do | 105 | do |
106 | case $file in | 106 | set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` |
107 | /*) pathcomp=/ ;; | ||
108 | *) pathcomp= ;; | ||
109 | esac | ||
110 | oIFS=$IFS | ||
111 | IFS=/ | ||
112 | set fnord $file | ||
113 | shift | 107 | shift |
114 | IFS=$oIFS | ||
115 | 108 | ||
109 | pathcomp= | ||
116 | for d | 110 | for d |
117 | do | 111 | do |
118 | test "x$d" = x && continue | 112 | pathcomp="$pathcomp$d" |
119 | |||
120 | pathcomp=$pathcomp$d | ||
121 | case $pathcomp in | 113 | case $pathcomp in |
122 | -*) pathcomp=./$pathcomp ;; | 114 | -*) pathcomp=./$pathcomp ;; |
123 | esac | 115 | esac |
@@ -132,7 +124,7 @@ do | |||
132 | else | 124 | else |
133 | if test ! -z "$dirmode"; then | 125 | if test ! -z "$dirmode"; then |
134 | echo "chmod $dirmode $pathcomp" | 126 | echo "chmod $dirmode $pathcomp" |
135 | lasterr= | 127 | lasterr="" |
136 | chmod "$dirmode" "$pathcomp" || lasterr=$? | 128 | chmod "$dirmode" "$pathcomp" || lasterr=$? |
137 | 129 | ||
138 | if test ! -z "$lasterr"; then | 130 | if test ! -z "$lasterr"; then |
@@ -142,7 +134,7 @@ do | |||
142 | fi | 134 | fi |
143 | fi | 135 | fi |
144 | 136 | ||
145 | pathcomp=$pathcomp/ | 137 | pathcomp="$pathcomp/" |
146 | done | 138 | done |
147 | done | 139 | done |
148 | 140 | ||
diff --git a/src/plugins/fs/download.c b/src/plugins/fs/download.c index bc9e542a..e5e16ab0 100644 --- a/src/plugins/fs/download.c +++ b/src/plugins/fs/download.c | |||
@@ -616,7 +616,8 @@ initiateDownload(GtkTreeModel * model, | |||
616 | FSUI_startDownload(ctx, | 616 | FSUI_startDownload(ctx, |
617 | getSpinButtonValue(searchContext->searchXML, | 617 | getSpinButtonValue(searchContext->searchXML, |
618 | "downloadAnonymitySpinButton"), | 618 | "downloadAnonymitySpinButton"), |
619 | NO, /* FIXME: isRecursive */ | 619 | getToggleButtonValue(searchContext->searchXML, |
620 | "downloadRecursiveCheckButton"), | ||
620 | idc_uri, | 621 | idc_uri, |
621 | idc_meta, | 622 | idc_meta, |
622 | idc_final_download_destination, | 623 | idc_final_download_destination, |