Merge branch 'axtlos/auto-locale-select' into 'main'

Automatically select locale based on timezone

See merge request crystal/software/jade-gui!2
main v1.9.1
axtloss 2 years ago
commit 8a2158611c

@ -63,7 +63,6 @@ class LocaleScreen(JadeScreen, Adw.Bin):
Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION
) )
builder = Gtk.Builder.new_from_resource( builder = Gtk.Builder.new_from_resource(
"/al/getcryst/jadegui/pages/locale/locale_dialog.ui" "/al/getcryst/jadegui/pages/locale/locale_dialog.ui"
) )
@ -82,6 +81,7 @@ class LocaleScreen(JadeScreen, Adw.Bin):
self.locale_search_button.connect("clicked", self.present_dialog) self.locale_search_button.connect("clicked", self.present_dialog)
self._locale_list_length = 1 self._locale_list_length = 1
self.chosen_locales = [self.window.timezone_screen.chosen_timezone.locale]
en_US = LocaleEntry( en_US = LocaleEntry(
page=self, page=self,

Loading…
Cancel
Save