ok, looking at it, all seems good for French locale (it's translated and such), but indicator is still 12 hour format.
In src/indicator-datetime:
The thing is this function (which is working fine), is only picked up on property changes
(call in set_property for gchar * newformat = generate_format_string(self);)
But on initialization, all property are already set by the constructor and no update is required (no gsetting value change), so:
if (!update) {
return;
}
sadly exit before getting any chance to execute the right function :-)
So, two solution: for a refresh on first set or call generate_format_string() somewhere else during object init.
ok, looking at it, all seems good for French locale (it's translated and such), but indicator is still 12 hour format.
In src/indicator- datetime: format_ string( self);)
The thing is this function (which is working fine), is only picked up on property changes
(call in set_property for gchar * newformat = generate_
But on initialization, all property are already set by the constructor and no update is required (no gsetting value change), so:
if (!update) {
return;
}
sadly exit before getting any chance to execute the right function :-)
So, two solution: for a refresh on first set or call generate_ format_ string( ) somewhere else during object init.