aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/fs/fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/fs/fs.c')
-rw-r--r--src/plugins/fs/fs.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/plugins/fs/fs.c b/src/plugins/fs/fs.c
index 44121cc3..782b07da 100644
--- a/src/plugins/fs/fs.c
+++ b/src/plugins/fs/fs.c
@@ -28,6 +28,7 @@
28#include <GNUnet/gnunet_collection_lib.h> 28#include <GNUnet/gnunet_collection_lib.h>
29#include <gdk/gdk.h> 29#include <gdk/gdk.h>
30#include "fs.h" 30#include "fs.h"
31#include "meta.h"
31#include "download.h" 32#include "download.h"
32#include "search.h" 33#include "search.h"
33#include "upload.h" 34#include "upload.h"
@@ -63,6 +64,24 @@ static unsigned int last_x;
63static unsigned int last_y; 64static unsigned int last_y;
64 65
65 66
67void on_updateIntervalComboEntry_changed_fs(GtkWidget * button,
68 GtkWidget * entryBox) {
69 const char * time;
70 TIME_T t;
71 GtkEntry * entry;
72
73 entry = GTK_ENTRY(gtk_bin_get_child(GTK_BIN(entryBox)));
74 time = gtk_entry_get_text(entry);
75 if (OK != parseTimeInterval(time,
76 &t)) {
77 gtk_widget_set_sensitive(button,
78 FALSE);
79 } else {
80 gtk_widget_set_sensitive(button,
81 TRUE);
82 }
83}
84
66 85
67/** 86/**
68 * The selection of the download summary changed. 87 * The selection of the download summary changed.