[TimePicker] Update the Adjustement

Bug #979412 reported by Corentin Noël
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Granite
Fix Released
Medium
Cody Garver

Bug Description

The Gtk.Adjustement is not updated when the value time is updated.

replace:

void on_time_changed () {
            text = time.format (format);
        }

by:

void on_time_changed () {
            text = time.format (format);
            int new_time = time.get_hour () * 60 + 30;
            adjustment.set_value (new_time);
        }

Tags: timepicker

Related branches

Cody Garver (codygarver)
Changed in granite:
milestone: none → 0.2
status: New → Confirmed
Changed in granite:
assignee: nobody → Cody Garver (codygarver)
importance: Undecided → Medium
status: Confirmed → Fix Committed
Changed in granite:
status: Fix Committed → Fix Released
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.