[TimePicker] Update the Adjustement

Bug #979412 reported by Corentin Noël on 2012-04-11
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);
        }

Related branches

Cody Garver (codygarver) on 2012-04-13
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  Edit
Everyone can see this information.

Other bug subscribers