diff options
Diffstat (limited to 'src/plugins/fs/upload.c')
-rw-r--r-- | src/plugins/fs/upload.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/plugins/fs/upload.c b/src/plugins/fs/upload.c index feda58ae..f84d3f07 100644 --- a/src/plugins/fs/upload.c +++ b/src/plugins/fs/upload.c | |||
@@ -288,6 +288,7 @@ void on_fsinsertuploadbutton_clicked(gpointer dummy, | |||
288 | GtkWidget * dialog; | 288 | GtkWidget * dialog; |
289 | GtkWidget * recBut; | 289 | GtkWidget * recBut; |
290 | GtkWidget * idxBut; | 290 | GtkWidget * idxBut; |
291 | GtkWidget * deepIndex; | ||
291 | struct ECRS_MetaData * meta; | 292 | struct ECRS_MetaData * meta; |
292 | EXTRACTOR_ExtractorList * extractors; | 293 | EXTRACTOR_ExtractorList * extractors; |
293 | char * config; | 294 | char * config; |
@@ -366,14 +367,17 @@ void on_fsinsertuploadbutton_clicked(gpointer dummy, | |||
366 | keywordURI = getKeywordURIFromList(metaXML, | 367 | keywordURI = getKeywordURIFromList(metaXML, |
367 | "metaDataDialogKeywordList"); | 368 | "metaDataDialogKeywordList"); |
368 | if (doRec) { | 369 | if (doRec) { |
370 | deepIndex = glade_xml_get_widget(getMainXML(), | ||
371 | "deepIndexCheckButton"); | ||
369 | gkeywordURI = ECRS_stringToUri(ECRS_URI_PREFIX | 372 | gkeywordURI = ECRS_stringToUri(ECRS_URI_PREFIX |
370 | ECRS_SEARCH_INFIX); | 373 | ECRS_SEARCH_INFIX); |
371 | FSUI_uploadAll(ctx, | 374 | FSUI_uploadAll(ctx, |
372 | filename, | 375 | filename, |
373 | getAnonymityLevel(metaXML, | 376 | getAnonymityLevel(metaXML, |
374 | "uploadAnonymityLevelSpinButton"), | 377 | "uploadAnonymityLevelSpinButton"), |
375 | doIndex, | 378 | doIndex, |
376 | NO, /* FIXME: make option! */ | 379 | (TRUE == gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(deepIndex))) |
380 | ? YES : NO, | ||
377 | meta, | 381 | meta, |
378 | gkeywordURI, | 382 | gkeywordURI, |
379 | keywordURI); | 383 | keywordURI); |