After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 719840 - max/min-zoom-level does not get notified on set_map_source
max/min-zoom-level does not get notified on set_map_source
Status: RESOLVED FIXED
Product: libchamplain
Classification: Core
Component: view
unspecified
Other Linux
: Normal normal
: ---
Assigned To: libchamplain-maint
libchamplain-maint
Depends on:
Blocks: 719841
 
 
Reported: 2013-12-04 12:56 UTC by Jonas Danielsson
Modified: 2013-12-06 00:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
view: notify max/min-zoom-level on set_map_source (1.70 KB, patch)
2013-12-04 12:57 UTC, Jonas Danielsson
none Details | Review

Description Jonas Danielsson 2013-12-04 12:56:48 UTC
In champlain_view_set_map_source the view max/min zoom levels will be set to the map source max/min zoom levels. But there is no call to notify that the view properties have changed.
Comment 1 Jonas Danielsson 2013-12-04 12:57:46 UTC
Created attachment 263508 [details] [review]
view: notify max/min-zoom-level on set_map_source

When setting a new map_source we change the vie max/min-zoom-level
but we do not make sure they get notified.

This patchs sets them using champlain_view_set_[max|min]_zoom_level
to ensure this.
Comment 2 Jiri Techet 2013-12-06 00:20:48 UTC
Applied, thanks!