[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r1788 - in GNUnet/src: conf util
From: |
durner |
Subject: |
[GNUnet-SVN] r1788 - in GNUnet/src: conf util |
Date: |
Sat, 20 Aug 2005 09:15:59 -0700 (PDT) |
Author: durner
Date: 2005-08-20 09:15:55 -0700 (Sat, 20 Aug 2005)
New Revision: 1788
Modified:
GNUnet/src/conf/wizard.c
GNUnet/src/util/osconfig.c
Log:
fix autostart
Modified: GNUnet/src/conf/wizard.c
===================================================================
--- GNUnet/src/conf/wizard.c 2005-08-20 15:18:32 UTC (rev 1787)
+++ GNUnet/src/conf/wizard.c 2005-08-20 16:15:55 UTC (rev 1788)
@@ -333,8 +333,8 @@
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(chkMigr),
sym_get_tristate_value(sym) != no);
}
-
- if (isOSUserAddCapable())
+
+ if (isOSAutostartCapable())
gtk_widget_set_sensitive(chkStart, TRUE);
sym = sym_find("AUTOSTART", "GNUNETD");
Modified: GNUnet/src/util/osconfig.c
===================================================================
--- GNUnet/src/util/osconfig.c 2005-08-20 15:18:32 UTC (rev 1787)
+++ GNUnet/src/util/osconfig.c 2005-08-20 16:15:55 UTC (rev 1788)
@@ -98,8 +98,10 @@
return 1;
}
return 0;
+#elifdef WINDOWS
+ return 1;
#else
- return 1;
+ return 0;
#endif
}
@@ -165,8 +167,6 @@
{
if (IsWinNT())
{
- char *err = NULL;
-
switch (UninstallService())
{
case 0:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r1788 - in GNUnet/src: conf util,
durner <=