From: Kaj-Michael Lang Date: Sun, 27 Jan 2008 12:44:13 +0000 (+0200) Subject: Set menu entry properly. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1260b9439218b95290cac82243a1844fd273bd2b;p=mapper Set menu entry properly. --- 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);