]> err.no Git - mapper/commitdiff
Set menu entry properly.
authorKaj-Michael Lang <milang@tal.org>
Sun, 27 Jan 2008 12:44:13 +0000 (14:44 +0200)
committerKaj-Michael Lang <milang@tal.org>
Sun, 27 Jan 2008 12:44:13 +0000 (14:44 +0200)
src/gps-conn.c

index d7f84de653f775de40a18dc585251211167ee187..5aab9306ae90635292796c817ab70e2cf08b2d3a 100644 (file)
@@ -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);