~ubuntu-branches/ubuntu/oneiric/gnome-system-tools/oneiric

« back to all changes in this revision

Viewing changes to src/time/tz-map.c

  • Committer: Bazaar Package Importer
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2011-01-14 03:16:03 UTC
  • Revision ID: james.westby@ubuntu.com-20110114031603-mpsmeivbz8ksau8a
Tags: 2.32.0-0ubuntu4
debian/patches/95_timezone_point_selection.patch: Fix selecting a timezone
while running on compiz: compute the point we're at when the map gets
clicked. (LP: #697974)

Show diffs side-by-side

added added

removed removed

Lines of Context:
416
416
                        e_map_point_set_color_rgba (tzmap->map,
417
417
                                                    tzmap->point_selected,
418
418
                                                    TZ_MAP_POINT_NORMAL_RGBA);
419
 
                tzmap->point_selected = tzmap->point_hover;
 
419
                tzmap->point_selected =
 
420
                        e_map_get_closest_point (tzmap->map, longitude, latitude, FALSE);
420
421
 
421
422
                location_combo = gst_dialog_get_widget (tzmap->tool->main_dialog, "location_combo");
422
423
                tz_location    = e_tz_map_location_from_point (tzmap, tzmap->point_selected);