aboutsummaryrefslogtreecommitdiff
path: root/src/setup/gnunet-setup.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-11-10 20:07:04 +0000
committerChristian Grothoff <christian@grothoff.org>2012-11-10 20:07:04 +0000
commitc4bae3e43ccea8c3e13aae6aa4ec99eb795a19c2 (patch)
tree2c4c16d84b6376326cbf92011546c25cc418ccd8 /src/setup/gnunet-setup.c
parentee15f03a4e6c354c307ebc7d8314b90a1af4f548 (diff)
downloadgnunet-gtk-c4bae3e43ccea8c3e13aae6aa4ec99eb795a19c2.tar.gz
gnunet-gtk-c4bae3e43ccea8c3e13aae6aa4ec99eb795a19c2.zip
fix #2626 -- existing and window hiding via tray icon
Diffstat (limited to 'src/setup/gnunet-setup.c')
-rw-r--r--src/setup/gnunet-setup.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/setup/gnunet-setup.c b/src/setup/gnunet-setup.c
index 7c2936a4..fcf30ac0 100644
--- a/src/setup/gnunet-setup.c
+++ b/src/setup/gnunet-setup.c
@@ -396,8 +396,7 @@ GNUNET_SETUP_restart_namestore (void *cls,
396void 396void
397GNUNET_SETUP_quit_cb (GObject * object, gpointer user_data) 397GNUNET_SETUP_quit_cb (GObject * object, gpointer user_data)
398{ 398{
399 GNUNET_SCHEDULER_add_with_priority (GNUNET_SCHEDULER_PRIORITY_IDLE, 399 GNUNET_SCHEDULER_shutdown ();
400 &cleanup_task, NULL);
401} 400}
402 401
403 402
@@ -491,8 +490,7 @@ try_gksu (const char *username)
491static void 490static void
492autoconfig_finished_cb (void *cls) 491autoconfig_finished_cb (void *cls)
493{ 492{
494 GNUNET_SCHEDULER_add_with_priority (GNUNET_SCHEDULER_PRIORITY_IDLE, 493 GNUNET_SCHEDULER_shutdown ();
495 &cleanup_task, NULL);
496} 494}
497 495
498 496
@@ -598,6 +596,8 @@ run (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
598 gtk_widget_hide (GTK_WIDGET (GNUNET_SETUP_get_object ("GNUNET_setup_namestore_vbox"))); 596 gtk_widget_hide (GTK_WIDGET (GNUNET_SETUP_get_object ("GNUNET_setup_namestore_vbox")));
599 } 597 }
600#endif 598#endif
599 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL,
600 &cleanup_task, NULL);
601 if (do_autoconfig) 601 if (do_autoconfig)
602 { 602 {
603 GNUNET_log (GNUNET_ERROR_TYPE_INFO, 603 GNUNET_log (GNUNET_ERROR_TYPE_INFO,