From: Kaj-Michael Lang Date: Thu, 5 Jun 2008 09:18:11 +0000 (+0300) Subject: More integration fixes X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=399782277dbf810e7441333806c28a947962babc;p=mapper More integration fixes --- diff --git a/src/cb.c b/src/cb.c index afe97fb..1be88a3 100644 --- a/src/cb.c +++ b/src/cb.c @@ -226,7 +226,7 @@ gboolean menu_cb_show_scale(GtkAction *action) { _show_scale = gtk_toggle_action_get_active(GTK_TOGGLE_ACTION(action)); -MACRO_QUEUE_DRAW_AREA(); +/* XXXXXXXXXXXXXXXXX */ return TRUE; } @@ -350,7 +350,7 @@ if (_route->next_way && _route->next_way->point->unity) { if (cm>0) set_action_activate("autocenter_none", TRUE); - gtk_map_set_center_unit(_map, _route->next_way->point->unitx, _route->next_way->point->unity); + gtk_map_set_center(_map, _route->next_way->point->unitx, _route->next_way->point->unity); if (gtk_map_get_zoom(_map)>3) gtk_map_set_zoom(_map, 3); } else { @@ -741,10 +741,10 @@ window_cb_key_release(GtkWidget * widget, GdkEventKey * event) { switch (event->keyval) { case HILDON_HARDKEY_INCREASE: - gtk_map_zoomin(_map); + gtk_map_zoom_in(_map); break; case HILDON_HARDKEY_DECREASE: - gtk_map_zoomout(_map); + gtk_map_zoom_out(_map); break; default: break;