[gnome-system-tools/rendering-cleanup: 18/20] e-map-test: Allow setting location even when zoomed in
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-system-tools/rendering-cleanup: 18/20] e-map-test: Allow setting location even when zoomed in
- Date: Tue, 5 Oct 2010 16:41:42 +0000 (UTC)
commit 5d2e2b42e010eb01f7f46b69a3c84f0bd3140f09
Author: Benjamin Otte <otte redhat com>
Date: Tue Oct 5 18:30:13 2010 +0200
e-map-test: Allow setting location even when zoomed in
src/time/e-map/e-map-test.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/time/e-map/e-map-test.c b/src/time/e-map/e-map-test.c
index 663338b..4562606 100644
--- a/src/time/e-map/e-map-test.c
+++ b/src/time/e-map/e-map-test.c
@@ -53,7 +53,7 @@ button_pressed (GtkWidget *w, GdkEventButton *event, gpointer data)
if (event->button != 1)
e_map_zoom_out (map);
- else if (e_map_get_magnification (map) <= 1.0)
+ else
e_map_zoom_to_location (map, longitude, latitude);
if (point) e_map_point_set_color_rgba (map, point, 0xf010d0ff);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]