[eog-plugins/map-plugin-fixes: 7/7] Do not change the zoom level when changing picture
- From: Pierre-Luc Beaudoin <plbeaudoin src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [eog-plugins/map-plugin-fixes: 7/7] Do not change the zoom level when changing picture
- Date: Fri, 5 Feb 2010 22:43:05 +0000 (UTC)
commit 1f9a331e4f3f9992ab2bcffbf4a43520aade94be
Author: Pierre-Luc Beaudoin <pierre-luc pierlux com>
Date: Fri Feb 5 17:33:11 2010 -0500
Do not change the zoom level when changing picture
Users find this annoying
plugins/map/eog-map-plugin.c | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/plugins/map/eog-map-plugin.c b/plugins/map/eog-map-plugin.c
index 24bbbc3..ade5fc8 100644
--- a/plugins/map/eog-map-plugin.c
+++ b/plugins/map/eog-map-plugin.c
@@ -201,18 +201,11 @@ thumbnail_changed_cb (EogImage* image,
"latitude", &lat,
"longitude", &lon,
NULL);
- g_object_set (G_OBJECT (data->map),
- "zoom-level",
- 15,
- NULL);
champlain_view_center_on (CHAMPLAIN_VIEW (data->map),
lat,
lon);
- } else {
- g_object_set (G_OBJECT (data->map),
- "zoom-level", 3,
- NULL);
}
+
g_signal_handler_disconnect (image,
data->thumbnail_changed_id);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]