From 1260b9439218b95290cac82243a1844fd273bd2b Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Sun, 27 Jan 2008 14:44:13 +0200 Subject: [PATCH] Set menu entry properly. --- src/gps-conn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gps-conn.c b/src/gps-conn.c index d7f84de..5aab930 100644 --- a/src/gps-conn.c +++ b/src/gps-conn.c @@ -58,7 +58,7 @@ gps_conn_set_state(Gps *gps, GpsConnState new_conn_state) switch (gps->io.conn=new_conn_state) { case RCVR_OFF: _enable_gps=FALSE; - set_action_activate("gps_enabled", !_enable_gps); + set_action_activate("gps_enabled", FALSE); case RCVR_FIXED: if (connect_banner) { gtk_widget_destroy(connect_banner); -- 2.39.5