summaryrefslogtreecommitdiff
path: root/capplets/time-admin/src/time-zone.h
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-08-14 19:16:15 +0200
committerraveit65 <[email protected]>2019-08-20 16:10:38 +0200
commit0a001ed9dce071b13d75219f51b4fd68f9697f50 (patch)
treee9e107227e8e51c6db90e0da4140756562142d71 /capplets/time-admin/src/time-zone.h
parentd1706867cc6f69a237b21ba4428d70b2df42494d (diff)
downloadmate-control-center-0a001ed9dce071b13d75219f51b4fd68f9697f50.tar.bz2
mate-control-center-0a001ed9dce071b13d75219f51b4fd68f9697f50.tar.xz
time-admin: Display current time in time-admin.ui on startup
gtk_spin_button_set_value(GTK_SPIN_BUTTON(ta->HourSpin),LocalTime->tm_hour); gtk_spin_button_set_value(GTK_SPIN_BUTTON(ta->MinuteSpin),LocalTime->tm_min); char *str = g_strdup_printf ("%02d", LocalTime->tm_sec); gtk_entry_set_text(GTK_ENTRY(ta->SecondSpin),str); g_free (str);
Diffstat (limited to 'capplets/time-admin/src/time-zone.h')
0 files changed, 0 insertions, 0 deletions