Found this crazy stupid bug which messes with the UI if the gsettings were set wrong

main
Zwarf 2023-11-12 01:14:43 +01:00
rodzic 485b75b899
commit e4eb1ef60a
2 zmienionych plików z 0 dodań i 9 usunięć

Wyświetl plik

@ -62,10 +62,5 @@
<summary>Visibility Milky Way</summary>
<description>Changes the visibility of the milky ways current position, rise and set on the map.</description>
</key>
<key name="map-fullscreen" type="b">
<default>false</default>
<summary>Big map mode</summary>
<description>Reduce the amount of information in the Overview tab to enlarge the map.</description>
</key>
</schema>
</schemalist>

Wyświetl plik

@ -747,10 +747,6 @@ picplanner_overview_init (PicplannerOverview *overview)
G_CALLBACK (input_changed),
overview);
g_settings_bind (overview->settings, "map-fullscreen",
overview->basic_information, "visible",
G_SETTINGS_BIND_INVERT_BOOLEAN);
g_settings_bind (overview->settings, "zoom-level",
overview->viewport, "zoom-level",
G_SETTINGS_BIND_DEFAULT);