aboutsummaryrefslogtreecommitdiff
path: root/src/common/helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/helper.c')
-rw-r--r--src/common/helper.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/common/helper.c b/src/common/helper.c
index c8312776..73227bc3 100644
--- a/src/common/helper.c
+++ b/src/common/helper.c
@@ -547,18 +547,18 @@ gboolean startGNUnetSetup (gboolean run_wizard) {
547#ifdef WITH_LIBGKSU2 547#ifdef WITH_LIBGKSU2
548 GError *gerror = NULL; 548 GError *gerror = NULL;
549 if(run_wizard) { 549 if(run_wizard) {
550 code = gksu_run("gnunet-setup -d wizard-gtk", 550 code = gksu_run("gnunet-setup -d wizard-gtk",
551 &gerror); 551 &gerror);
552 } else { 552 } else {
553 code = gksu_run("gnunet-setup -d", 553 code = gksu_run("gnunet-setup -d",
554 &gerror); 554 &gerror);
555 } 555 }
556 if (code && !gerror) { 556 if (code && !gerror) {
557 error_message = STRDUP(_("GKSu encountered an unknown error running the configuration tool (gnunet-setup).")); 557 error_message = STRDUP(_("GKSu encountered an unknown error running the configuration tool (gnunet-setup)."));
558 } else if (code && gerror) { 558 } else if (code && gerror) {
559 error_message = g_strdup_printf(_("GKSu returned:\n%s"), 559 error_message = g_strdup_printf(_("GKSu returned:\n%s"),
560 gerror->message); 560 gerror->message);
561 g_error_free(gerror); 561 g_error_free(gerror);
562 } else { 562 } else {
563 error_message = NULL; 563 error_message = NULL;
564 } 564 }
@@ -574,7 +574,7 @@ gboolean startGNUnetSetup (gboolean run_wizard) {
574 "mainWindow"); 574 "mainWindow");
575 messageDialog = gtk_message_dialog_new(GTK_WINDOW(mainWindow), 575 messageDialog = gtk_message_dialog_new(GTK_WINDOW(mainWindow),
576 GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, 576 GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
577 GTK_MESSAGE_WARNING, 577 GTK_MESSAGE_WARNING,
578 GTK_BUTTONS_CLOSE, 578 GTK_BUTTONS_CLOSE,
579 _("Failed to run the configuration tool (gnunet-setup): %s"), 579 _("Failed to run the configuration tool (gnunet-setup): %s"),
580 error_message); 580 error_message);