_auto_download = gconf_client_get_bool(gconf_client, GCONF_KEY_AUTO_DOWNLOAD, NULL);
/* Get Center Ratio - Default is 3. */
- _center_ratio = gconf_client_get_int(gconf_client,
- GCONF_KEY_CENTER_SENSITIVITY,
- NULL);
+ _center_ratio = gconf_client_get_int(gconf_client, GCONF_KEY_CENTER_SENSITIVITY, NULL);
if (!_center_ratio)
_center_ratio = 7;
_dest.valid=FALSE;
/* Get Lead Ratio - Default is 5. */
- _lead_ratio = gconf_client_get_int(gconf_client,
- GCONF_KEY_LEAD_AMOUNT, NULL);
+ _lead_ratio = gconf_client_get_int(gconf_client, GCONF_KEY_LEAD_AMOUNT, NULL);
if (!_lead_ratio)
_lead_ratio = 5;
/* Get Draw Line Width- Default is 4. */
- _draw_width = gconf_client_get_int(gconf_client, GCONF_KEY_DRAW_WIDTH, NULL);
+ _draw_width = gconf_client_get_int(gconf_client, GCONF_KEY_DRAW_WIDTH, NULL);
if (!_draw_width)
_draw_width = 4;
/* Get Units. Default is UNITS_KM. */
{
- gchar *units_str = gconf_client_get_string(gconf_client,
- GCONF_KEY_UNITS,
- NULL);
+ gchar *units_str = gconf_client_get_string(gconf_client, GCONF_KEY_UNITS, NULL);
guint i = 0;
if (units_str)
for (i = UNITS_ENUM_COUNT - 1; i > 0; i--)
gint i;
for (i = 0; i < CUSTOM_KEY_ENUM_COUNT; i++) {
gint j = CUSTOM_KEY_DEFAULT[i];
- gchar *str = gconf_client_get_string(gconf_client,
- CUSTOM_KEY_GCONF
- [i], NULL);
+ gchar *str = gconf_client_get_string(gconf_client, CUSTOM_KEY_GCONF[i], NULL);
if (str)
- for (j = CUSTOM_ACTION_ENUM_COUNT - 1; j > 0;
- j--)
+ for (j = CUSTOM_ACTION_ENUM_COUNT - 1; j > 0; j--)
if (!strcmp(str, CUSTOM_ACTION_TEXT[j]))
break;
_action[i] = j;
GCONF_KEY_SPEED_LIMIT_ON, NULL);
/* Get Speed Limit */
- _speed_limit = gconf_client_get_int(gconf_client,
- GCONF_KEY_SPEED_LIMIT, NULL);
+ _speed_limit = gconf_client_get_int(gconf_client, GCONF_KEY_SPEED_LIMIT, NULL);
if (_speed_limit <= 0)
_speed_limit = 100;
/* Get Speed Location. Default is SPEED_LOCATION_TOP_LEFT. */
{
- gchar *speed_location_str =
- gconf_client_get_string(gconf_client,
+ gchar *speed_location_str = gconf_client_get_string(gconf_client,
GCONF_KEY_SPEED_LOCATION, NULL);
guint i = 0;
if (speed_location_str)