]> err.no Git - mapper/commitdiff
Use correct action name
authorKaj-Michael Lang <milang@onion.tal.org>
Thu, 24 Jan 2008 15:40:56 +0000 (17:40 +0200)
committerKaj-Michael Lang <milang@onion.tal.org>
Thu, 24 Jan 2008 15:40:56 +0000 (17:40 +0200)
src/cb.c

index 49643ff8a93c9fa8f5235178808cff01cee116ab..bcb2ab629da604a5a8ea5da456c25432a95e8225 100644 (file)
--- a/src/cb.c
+++ b/src/cb.c
@@ -436,7 +436,7 @@ if ((_enable_gps = gtk_toggle_action_get_active(GTK_TOGGLE_ACTION(action)))) {
                gps_conn_set_state(_gps, RCVR_DOWN);
        if (gps_connect_now(_gps)==FALSE) {
                popup_error(_window, _("Cannot enable GPS until a GPS Receiver MAC is set in the Settings dialog box."));
-               set_action_activate("gps_enable", FALSE);
+               set_action_activate("gps_enabled", FALSE);
        }
 } else {
        if (_gps->io.conn > RCVR_OFF)