kopia lustrzana https://gitlab.com/Zwarf/picplanner
rodzic
f3d598f390
commit
6df7b3151b
|
@ -18,3 +18,9 @@ Version 0.3.2:
|
||||||
- Switch to AdwAboutDialog to match GNOME 43 design
|
- Switch to AdwAboutDialog to match GNOME 43 design
|
||||||
- Update Flatpak dependencies
|
- Update Flatpak dependencies
|
||||||
- Switch to GNOME 43 runtime
|
- Switch to GNOME 43 runtime
|
||||||
|
|
||||||
|
Version 0.4.0:
|
||||||
|
- Reduced input lag on touch screens
|
||||||
|
- Fullscreen map mode is now saved and not reseted after an app restart
|
||||||
|
- Dependency update
|
||||||
|
- Switch to GNOME 44 runtime
|
||||||
|
|
|
@ -62,5 +62,10 @@
|
||||||
<summary>Visibility Milky Way</summary>
|
<summary>Visibility Milky Way</summary>
|
||||||
<description>Changes the visibility of the milky ways current position, rise and set on the map.</description>
|
<description>Changes the visibility of the milky ways current position, rise and set on the map.</description>
|
||||||
</key>
|
</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>
|
</schema>
|
||||||
</schemalist>
|
</schemalist>
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<component type="desktop">
|
<!-- Copyright 2023 Zwarf -->
|
||||||
|
<component type="desktop-application">
|
||||||
<id>de.zwarf.picplanner.desktop</id>
|
<id>de.zwarf.picplanner.desktop</id>
|
||||||
|
|
||||||
<metadata_license>CC0-1.0</metadata_license>
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
|
@ -10,6 +11,8 @@
|
||||||
|
|
||||||
<summary>Plan your next photo locations</summary>
|
<summary>Plan your next photo locations</summary>
|
||||||
|
|
||||||
|
<content_rating type="oars-1.1" />
|
||||||
|
|
||||||
<description>
|
<description>
|
||||||
<p>
|
<p>
|
||||||
Calculate the position of the sun,
|
Calculate the position of the sun,
|
||||||
|
@ -43,8 +46,6 @@
|
||||||
</screenshot>
|
</screenshot>
|
||||||
</screenshots>
|
</screenshots>
|
||||||
|
|
||||||
<content_rating type="oars-1.0"/>
|
|
||||||
|
|
||||||
<developer_name>Zwarf</developer_name>
|
<developer_name>Zwarf</developer_name>
|
||||||
|
|
||||||
<update_contact>zwarf@mail.de</update_contact>
|
<update_contact>zwarf@mail.de</update_contact>
|
||||||
|
@ -61,18 +62,28 @@
|
||||||
<value key="GnomeSoftware::key-colors">[(140, 40, 40), (250, 95, 85)]</value>
|
<value key="GnomeSoftware::key-colors">[(140, 40, 40), (250, 95, 85)]</value>
|
||||||
</custom>
|
</custom>
|
||||||
|
|
||||||
|
<supports>
|
||||||
<recommends>
|
|
||||||
<control>keyboard</control>
|
<control>keyboard</control>
|
||||||
<control>pointing</control>
|
<control>pointing</control>
|
||||||
<control>touch</control>
|
<control>touch</control>
|
||||||
</recommends>
|
</supports>
|
||||||
|
|
||||||
<requires>
|
<requires>
|
||||||
<display_length compare="ge">360</display_length>
|
<display_length compare="ge">360</display_length>
|
||||||
</requires>
|
</requires>
|
||||||
|
|
||||||
<releases>
|
<releases>
|
||||||
|
<release version="0.4.0" date="2023-04-23" >
|
||||||
|
<description>
|
||||||
|
<p>Bug fixes, UI improvements and GNOME 44 runtime</p>
|
||||||
|
<ul>
|
||||||
|
<li>Reduced input lag on touch screens</li>
|
||||||
|
<li>Fullscreen map mode is now saved and not reseted after an app restart</li>
|
||||||
|
<li>Dependency update</li>
|
||||||
|
<li>Switch to GNOME 44 runtime</li>
|
||||||
|
</ul>
|
||||||
|
</description>
|
||||||
|
</release>
|
||||||
<release version="0.3.2" date="2022-10-01" >
|
<release version="0.3.2" date="2022-10-01" >
|
||||||
<description>
|
<description>
|
||||||
<p>Design changes and switch to GNOME 43 runtime</p>
|
<p>Design changes and switch to GNOME 43 runtime</p>
|
||||||
|
|
|
@ -142,7 +142,7 @@ picplanner_application_show_about (GSimpleAction *action,
|
||||||
"application-icon", "de.zwarf.picplanner",
|
"application-icon", "de.zwarf.picplanner",
|
||||||
"application-name", "PicPlanner",
|
"application-name", "PicPlanner",
|
||||||
"developer-name", "Zwarf",
|
"developer-name", "Zwarf",
|
||||||
"version", "0.3.2",
|
"version", "0.4.0",
|
||||||
"website", "https://gitlab.com/Zwarf/picplanner",
|
"website", "https://gitlab.com/Zwarf/picplanner",
|
||||||
"issue-url", "https://gitlab.com/Zwarf/picplanner/-/issues/new",
|
"issue-url", "https://gitlab.com/Zwarf/picplanner/-/issues/new",
|
||||||
"copyright", copyright,
|
"copyright", copyright,
|
||||||
|
|
|
@ -16,12 +16,6 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* TODO:
|
|
||||||
* - Catching Azimuth 0 deg errors
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "overview-view.h"
|
#include "overview-view.h"
|
||||||
#include "calculations/calculations_transformations.h"
|
#include "calculations/calculations_transformations.h"
|
||||||
#include "calculations/calculations_sun.h"
|
#include "calculations/calculations_sun.h"
|
||||||
|
@ -153,14 +147,6 @@ input_changed (GtkWidget *self,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
picplanner_overview_map_fullscreen (PicplannerOverview *overview,
|
|
||||||
gboolean toggle)
|
|
||||||
{
|
|
||||||
gtk_widget_set_visible (overview->basic_information, toggle);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set the coordinates of the sun including the index of the sunrise,
|
* Set the coordinates of the sun including the index of the sunrise,
|
||||||
* upper culmination, sunset and lower culmination as well as the current index.
|
* upper culmination, sunset and lower culmination as well as the current index.
|
||||||
|
@ -721,6 +707,10 @@ picplanner_overview_init (PicplannerOverview *overview)
|
||||||
G_CALLBACK (input_changed),
|
G_CALLBACK (input_changed),
|
||||||
overview);
|
overview);
|
||||||
|
|
||||||
|
g_settings_bind (overview->settings, "map-fullscreen",
|
||||||
|
overview->basic_information, "visible",
|
||||||
|
G_SETTINGS_BIND_INVERT_BOOLEAN);
|
||||||
|
|
||||||
g_settings_bind (overview->settings, "zoom-level",
|
g_settings_bind (overview->settings, "zoom-level",
|
||||||
overview->viewport, "zoom-level",
|
overview->viewport, "zoom-level",
|
||||||
G_SETTINGS_BIND_DEFAULT);
|
G_SETTINGS_BIND_DEFAULT);
|
||||||
|
|
|
@ -219,18 +219,6 @@ search_location (GtkWidget *self,
|
||||||
g_free (search_string);
|
g_free (search_string);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* Show the map in fullscreen
|
|
||||||
*/
|
|
||||||
static void
|
|
||||||
map_fullscreen (GtkToggleButton *self,
|
|
||||||
PicplannerWindow *window)
|
|
||||||
{
|
|
||||||
(void) self;
|
|
||||||
picplanner_overview_map_fullscreen (PICPLANNER_OVERVIEW (window->overview_box),!gtk_toggle_button_get_active (self));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Hide the map fullscreen button if the active view is not "page1" (overview)
|
* Hide the map fullscreen button if the active view is not "page1" (overview)
|
||||||
*/
|
*/
|
||||||
|
@ -647,6 +635,10 @@ picplanner_window_init (PicplannerWindow *window)
|
||||||
window->north_entry, "value",
|
window->north_entry, "value",
|
||||||
G_SETTINGS_BIND_DEFAULT);
|
G_SETTINGS_BIND_DEFAULT);
|
||||||
|
|
||||||
|
g_settings_bind (window->settings, "map-fullscreen",
|
||||||
|
window->map_button, "active",
|
||||||
|
G_SETTINGS_BIND_DEFAULT);
|
||||||
|
|
||||||
g_object_bind_property (window->search_button, "active",
|
g_object_bind_property (window->search_button, "active",
|
||||||
window->search_bar, "search-mode-enabled",
|
window->search_bar, "search-mode-enabled",
|
||||||
G_BINDING_BIDIRECTIONAL);
|
G_BINDING_BIDIRECTIONAL);
|
||||||
|
@ -682,11 +674,6 @@ picplanner_window_init (PicplannerWindow *window)
|
||||||
G_CALLBACK (search_location_chosen),
|
G_CALLBACK (search_location_chosen),
|
||||||
window);
|
window);
|
||||||
|
|
||||||
g_signal_connect (G_OBJECT (window->map_button),
|
|
||||||
"toggled",
|
|
||||||
G_CALLBACK (map_fullscreen),
|
|
||||||
window);
|
|
||||||
|
|
||||||
g_signal_connect (G_OBJECT (window->stack),
|
g_signal_connect (G_OBJECT (window->stack),
|
||||||
"notify::visible-child",
|
"notify::visible-child",
|
||||||
G_CALLBACK (stack_changed),
|
G_CALLBACK (stack_changed),
|
||||||
|
|
Ładowanie…
Reference in New Issue