aboutsummaryrefslogtreecommitdiff
path: root/src/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon.c')
-rw-r--r--src/daemon.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/daemon.c b/src/daemon.c
index 518dc87a..092bccff 100644
--- a/src/daemon.c
+++ b/src/daemon.c
@@ -194,6 +194,11 @@ static int doLaunch() {
194 */ 194 */
195void on_startDaemon_clicked(GtkWidget * widget, 195void on_startDaemon_clicked(GtkWidget * widget,
196 gpointer data) { 196 gpointer data) {
197 GtkWidget * launchEntry = NULL;
198 launchEntry
199 = glade_xml_get_widget(mainXML,
200 "startDaemon");
201 gtk_widget_set_sensitive(launchEntry, FALSE);
197 if (OK == checkDaemonRunning() ) { 202 if (OK == checkDaemonRunning() ) {
198 cronCheckDaemon(NULL); 203 cronCheckDaemon(NULL);
199 return; 204 return;
@@ -208,6 +213,12 @@ void on_startDaemon_clicked(GtkWidget * widget,
208 */ 213 */
209void on_stopDaemon_clicked(GtkWidget * widget, 214void on_stopDaemon_clicked(GtkWidget * widget,
210 gpointer data) { 215 gpointer data) {
216 GtkWidget * killEntry = NULL;
217 killEntry
218 = glade_xml_get_widget(mainXML,
219 "stopDaemon");
220 gtk_widget_set_sensitive(killEntry, FALSE);
221
211 if (OK == checkDaemonRunning() ) { 222 if (OK == checkDaemonRunning() ) {
212 GNUNET_TCP_SOCKET * sock; 223 GNUNET_TCP_SOCKET * sock;
213 CS_HEADER csHdr; 224 CS_HEADER csHdr;