Also initialize the counter
This commit is contained in:
parent
9958c0cba6
commit
5caa6e5481
@ -491,6 +491,7 @@ static void _settings_on_cancel(gpointer data)
|
|||||||
!= NULL && strtoul(p, NULL, 10) != 0) ? TRUE : FALSE;
|
!= NULL && strtoul(p, NULL, 10) != 0) ? TRUE : FALSE;
|
||||||
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(gprs->systray), active);
|
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(gprs->systray), active);
|
||||||
#endif
|
#endif
|
||||||
|
_gprs_set_connected(gprs, gprs->connected, NULL, gprs->in, gprs->out);
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean _settings_on_closex(gpointer data)
|
static gboolean _settings_on_closex(gpointer data)
|
||||||
|
Loading…
Reference in New Issue
Block a user