ido_calendar_menu_item_set_date() generates unnecessary change events

Bug #1061364 reported by Charles Kerr
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Indicator Display Objects
Triaged
Low
Charles Kerr
ido (Ubuntu)
Triaged
Low
Charles Kerr

Bug Description

It unconditionally calls gtk_calendar_select_month() and gtk_calendar_select_day(), which in turn unconditionally triggers change events.

Instead, we should call gtk_calendar_get_date() first. If the new values match the current ones, we don't need to call _select_month() and _select_day().

Related branches

Ted Gould (ted)
Changed in ido (Ubuntu):
assignee: nobody → Charles Kerr (charlesk)
importance: Undecided → Low
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.