diff options
author | rbuj <[email protected]> | 2019-08-14 19:16:15 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-08-20 16:10:38 +0200 |
commit | 0a001ed9dce071b13d75219f51b4fd68f9697f50 (patch) | |
tree | e9e107227e8e51c6db90e0da4140756562142d71 /capplets/keybindings | |
parent | d1706867cc6f69a237b21ba4428d70b2df42494d (diff) | |
download | mate-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/keybindings')
0 files changed, 0 insertions, 0 deletions