]> err.no Git - mapper/commitdiff
Formating
authorKaj-Michael Lang <milang@onion.tal.org>
Thu, 9 Aug 2007 13:08:24 +0000 (16:08 +0300)
committerKaj-Michael Lang <milang@onion.tal.org>
Thu, 9 Aug 2007 13:08:24 +0000 (16:08 +0300)
src/ui-common.c

index 8c0808f0b49d2be3ee064c9defa45955582d836f..0abb97648d93357015cb221cf7b731035ce34c36 100644 (file)
@@ -745,12 +745,9 @@ void mapper_init_variables(void)
        CUSTOM_KEY_GCONF[CUSTOM_KEY_LEFT] = GCONF_KEY_PREFIX "/key_left";
        CUSTOM_KEY_GCONF[CUSTOM_KEY_RIGHT] = GCONF_KEY_PREFIX "/key_right";
        CUSTOM_KEY_GCONF[CUSTOM_KEY_SELECT] = GCONF_KEY_PREFIX "/key_select";
-       CUSTOM_KEY_GCONF[CUSTOM_KEY_INCREASE] =
-           GCONF_KEY_PREFIX "/key_increase";
-       CUSTOM_KEY_GCONF[CUSTOM_KEY_DECREASE] =
-           GCONF_KEY_PREFIX "/key_decrease";
-       CUSTOM_KEY_GCONF[CUSTOM_KEY_FULLSCREEN] =
-           GCONF_KEY_PREFIX "/key_fullscreen";
+       CUSTOM_KEY_GCONF[CUSTOM_KEY_INCREASE] = GCONF_KEY_PREFIX "/key_increase";
+       CUSTOM_KEY_GCONF[CUSTOM_KEY_DECREASE] = GCONF_KEY_PREFIX "/key_decrease";
+       CUSTOM_KEY_GCONF[CUSTOM_KEY_FULLSCREEN] = GCONF_KEY_PREFIX "/key_fullscreen";
        CUSTOM_KEY_GCONF[CUSTOM_KEY_ESC] = GCONF_KEY_PREFIX "/key_esc";
 
        CUSTOM_KEY_ICON[CUSTOM_KEY_UP] = HWK_BUTTON_UP;
@@ -770,56 +767,40 @@ void mapper_init_variables(void)
        CUSTOM_KEY_DEFAULT[CUSTOM_KEY_SELECT] = CUSTOM_ACTION_TOGGLE_AUTOCENTER;
        CUSTOM_KEY_DEFAULT[CUSTOM_KEY_INCREASE] = CUSTOM_ACTION_ZOOM_IN;
        CUSTOM_KEY_DEFAULT[CUSTOM_KEY_DECREASE] = CUSTOM_ACTION_ZOOM_OUT;
-       CUSTOM_KEY_DEFAULT[CUSTOM_KEY_FULLSCREEN] =
-           CUSTOM_ACTION_TOGGLE_FULLSCREEN;
+       CUSTOM_KEY_DEFAULT[CUSTOM_KEY_FULLSCREEN] = CUSTOM_ACTION_TOGGLE_FULLSCREEN;
        CUSTOM_KEY_DEFAULT[CUSTOM_KEY_ESC] = CUSTOM_ACTION_TOGGLE_TRACKS;
 
        CUSTOM_ACTION_TEXT[CUSTOM_ACTION_PAN_NORTH] = _("Pan North");
        CUSTOM_ACTION_TEXT[CUSTOM_ACTION_PAN_WEST] = _("Pan West");
        CUSTOM_ACTION_TEXT[CUSTOM_ACTION_PAN_SOUTH] = _("Pan South");
        CUSTOM_ACTION_TEXT[CUSTOM_ACTION_PAN_EAST] = _("Pan East");
-       CUSTOM_ACTION_TEXT[CUSTOM_ACTION_TOGGLE_AUTOCENTER]
-           = _("Toggle Auto-Center");
-       CUSTOM_ACTION_TEXT[CUSTOM_ACTION_TOGGLE_FULLSCREEN]
-           = _("Toggle Fullscreen");
+       CUSTOM_ACTION_TEXT[CUSTOM_ACTION_TOGGLE_AUTOCENTER] = _("Toggle Auto-Center");
+       CUSTOM_ACTION_TEXT[CUSTOM_ACTION_TOGGLE_FULLSCREEN] = _("Toggle Fullscreen");
        CUSTOM_ACTION_TEXT[CUSTOM_ACTION_ZOOM_IN] = _("Zoom In");
        CUSTOM_ACTION_TEXT[CUSTOM_ACTION_ZOOM_OUT] = _("Zoom Out");
        CUSTOM_ACTION_TEXT[CUSTOM_ACTION_TOGGLE_TRACKS] = _("Toggle Tracks");
        CUSTOM_ACTION_TEXT[CUSTOM_ACTION_TOGGLE_SCALE] = _("Toggle Scale");
        CUSTOM_ACTION_TEXT[CUSTOM_ACTION_TOGGLE_POI] = _("Toggle POIs");
-       CUSTOM_ACTION_TEXT[CUSTOM_ACTION_CHANGE_REPO] =
-           _("Select Next Repository");
-       CUSTOM_ACTION_TEXT[CUSTOM_ACTION_ROUTE_DISTNEXT]
-           = _("Show Distance to Next Waypoint");
-       CUSTOM_ACTION_TEXT[CUSTOM_ACTION_ROUTE_DISTLAST]
-           = _("Show Distance to End of Route");
+       CUSTOM_ACTION_TEXT[CUSTOM_ACTION_CHANGE_REPO] = _("Select Next Repository");
+       CUSTOM_ACTION_TEXT[CUSTOM_ACTION_ROUTE_DISTNEXT] = _("Show Distance to Next Waypoint");
+       CUSTOM_ACTION_TEXT[CUSTOM_ACTION_ROUTE_DISTLAST] = _("Show Distance to End of Route");
        CUSTOM_ACTION_TEXT[CUSTOM_ACTION_TRACK_BREAK] = _("Insert Track Break");
-       CUSTOM_ACTION_TEXT[CUSTOM_ACTION_TRACK_DISTLAST]
-           = _("Show Distance from Last Break");
-       CUSTOM_ACTION_TEXT[CUSTOM_ACTION_TRACK_DISTFIRST]
-           = _("Show Distance from Beginning");
+       CUSTOM_ACTION_TEXT[CUSTOM_ACTION_TRACK_DISTLAST] = _("Show Distance from Last Break");
+       CUSTOM_ACTION_TEXT[CUSTOM_ACTION_TRACK_DISTFIRST] = _("Show Distance from Beginning");
        CUSTOM_ACTION_TEXT[CUSTOM_ACTION_TOGGLE_GPS] = _("Toggle GPS");
        CUSTOM_ACTION_TEXT[CUSTOM_ACTION_TOGGLE_GPSINFO] = _("Toggle GPS Info");
-       CUSTOM_ACTION_TEXT[CUSTOM_ACTION_TOGGLE_SPEEDLIMIT]
-           = _("Toggle Speed Limit");
-       CUSTOM_ACTION_TEXT[CUSTOM_ACTION_RESET_BLUETOOTH] =
-           _("Reset Bluetooth");
+       CUSTOM_ACTION_TEXT[CUSTOM_ACTION_TOGGLE_SPEEDLIMIT] = _("Toggle Speed Limit");
+       CUSTOM_ACTION_TEXT[CUSTOM_ACTION_RESET_BLUETOOTH] = _("Reset Bluetooth");
 
        COLORABLE_GCONF[COLORABLE_MARK] = GCONF_KEY_PREFIX "/color_mark";
-       COLORABLE_GCONF[COLORABLE_MARK_VELOCITY]
-           = GCONF_KEY_PREFIX "/color_mark_velocity";
-       COLORABLE_GCONF[COLORABLE_MARK_OLD] =
-           GCONF_KEY_PREFIX "/color_mark_old";
+       COLORABLE_GCONF[COLORABLE_MARK_VELOCITY] = GCONF_KEY_PREFIX "/color_mark_velocity";
+       COLORABLE_GCONF[COLORABLE_MARK_OLD] = GCONF_KEY_PREFIX "/color_mark_old";
        COLORABLE_GCONF[COLORABLE_TRACK] = GCONF_KEY_PREFIX "/color_track";
-       COLORABLE_GCONF[COLORABLE_TRACK_MARK] =
-           GCONF_KEY_PREFIX "/color_track_mark";
-       COLORABLE_GCONF[COLORABLE_TRACK_BREAK]
-           = GCONF_KEY_PREFIX "/color_track_break";
+       COLORABLE_GCONF[COLORABLE_TRACK_MARK] = GCONF_KEY_PREFIX "/color_track_mark";
+       COLORABLE_GCONF[COLORABLE_TRACK_BREAK] = GCONF_KEY_PREFIX "/color_track_break";
        COLORABLE_GCONF[COLORABLE_ROUTE] = GCONF_KEY_PREFIX "/color_route";
-       COLORABLE_GCONF[COLORABLE_ROUTE_WAY] =
-           GCONF_KEY_PREFIX "/color_route_way";
-       COLORABLE_GCONF[COLORABLE_ROUTE_BREAK]
-           = GCONF_KEY_PREFIX "/color_route_break";
+       COLORABLE_GCONF[COLORABLE_ROUTE_WAY] = GCONF_KEY_PREFIX "/color_route_way";
+       COLORABLE_GCONF[COLORABLE_ROUTE_BREAK] = GCONF_KEY_PREFIX "/color_route_break";
        COLORABLE_GCONF[COLORABLE_POI] = GCONF_KEY_PREFIX "/color_poi";
 
        DEG_FORMAT_TEXT[DDPDDDDD] = "-dd.ddddd°";