[eog-plugins] map: Slowly move to selected image instead of a quick jump



commit 55ba65c7f4763a86cd06549a4e902db294f860e1
Author: Thomas Bechtold <tbechtold suse com>
Date:   Sun Sep 25 19:27:59 2016 +0200

    map: Slowly move to selected image instead of a quick jump
    
    When navigating through images while showing the map, the center of the map
    now changes slowly from the current position to the newly selected image.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=771948

 plugins/map/eog-map-plugin.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/plugins/map/eog-map-plugin.c b/plugins/map/eog-map-plugin.c
index fa5856b..c4d6982 100644
--- a/plugins/map/eog-map-plugin.c
+++ b/plugins/map/eog-map-plugin.c
@@ -265,9 +265,9 @@ selection_changed_cb (EogThumbView *view,
                              "longitude", &lon,
                              NULL);
 
-               champlain_view_center_on (CHAMPLAIN_VIEW (plugin->map),
-                                         lat,
-                                         lon);
+               champlain_view_go_to (CHAMPLAIN_VIEW (plugin->map),
+                                     lat,
+                                     lon);
 
                /* Reset the previous selection */
                if (plugin->marker)
@@ -304,9 +304,9 @@ jump_to (GtkWidget *widget,
                      "longitude", &lon,
                      NULL);
 
-       champlain_view_center_on (CHAMPLAIN_VIEW (plugin->map),
-                                 lat,
-                                 lon);
+       champlain_view_go_to (CHAMPLAIN_VIEW (plugin->map),
+                             lat,
+                             lon);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]