kopia lustrzana https://gitlab.com/Zwarf/picplanner
Fix issues which came in by the merges. Delete unnecessary files
rodzic
e026a09d83
commit
a07e2bedad
|
@ -1,6 +1,6 @@
|
|||
Files: *
|
||||
Copyright:
|
||||
2020-2022 Zwarf <zwarf@mail.de>
|
||||
2020-2023 Zwarf <zwarf@mail.de>
|
||||
License: GPL-3+
|
||||
|
||||
Files:
|
||||
|
@ -24,9 +24,4 @@ Files:
|
|||
data/icons/milky-way-color.svg
|
||||
Copyright:
|
||||
2022 Rajdeep Singha <rajdeepsingha@proton.me>
|
||||
License: GPL-3+
|
||||
|
||||
Files:
|
||||
data/icons/map-symbolic.svg
|
||||
Copyright: GNOME
|
||||
License: GPL-3+
|
||||
License: GPL-3+
|
|
@ -1,2 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="16px" viewBox="0 0 16 16" width="16px"><path d="m 15 2 v 10 l -5 3 l -5 -3 l -5 3 v -10 l 5 -3 l 5 3 z m -10 1 v 8 l 5 3 v -8 z m 0 0" fill="#222222"/></svg>
|
Przed Szerokość: | Wysokość: | Rozmiar: 245 B |
|
@ -51,12 +51,4 @@ install_data(
|
|||
install_data(
|
||||
'elevation-symbolic.svg',
|
||||
install_dir: join_paths(get_option('datadir'), 'icons')
|
||||
)
|
||||
install_data(
|
||||
'map-symbolic.svg',
|
||||
install_dir: join_paths(get_option('datadir'), 'icons')
|
||||
)
|
||||
install_data(
|
||||
'view-sidebar-start-symbolic.svg',
|
||||
install_dir: join_paths(get_option('datadir'), 'icons')
|
||||
)
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg height="16px" viewBox="0 0 16 16" width="16px" xmlns="http://www.w3.org/2000/svg">
|
||||
<g fill="#2e3436">
|
||||
<path d="m 6.5 14 v -12 h -5 v 12 z m 0 0" fill-opacity="0.35"/>
|
||||
<path d="m 3 1 c -1.644531 0 -3 1.355469 -3 3 v 8 c 0 1.644531 1.355469 3 3 3 h 10 c 1.644531 0 3 -1.355469 3 -3 v -8 c 0 -1.644531 -1.355469 -3 -3 -3 z m 0 2 h 10 c 0.570312 0 1 0.429688 1 1 v 8 c 0 0.570312 -0.429688 1 -1 1 h -10 c -0.570312 0 -1 -0.429688 -1 -1 v -8 c 0 -0.570312 0.429688 -1 1 -1 z m 0 0"/>
|
||||
<path d="m 6 2 h 1 v 12 h -1 z m 0 0"/>
|
||||
</g>
|
||||
</svg>
|
Przed Szerokość: | Wysokość: | Rozmiar: 607 B |
|
@ -193,7 +193,7 @@ double
|
|||
|
||||
y = cos (declination) * sin (time_sidereal - right_ascension);
|
||||
|
||||
azimuth = atan2 (y, x);
|
||||
azimuth = atan2 (-y, -x);
|
||||
|
||||
elevation = asin (sin (latitude) * sin (declination)
|
||||
+ cos (latitude) * cos (declination) * cos (time_sidereal - right_ascension));
|
||||
|
|
|
@ -20,7 +20,5 @@
|
|||
<file alias="milky-way-symbolic.svg">../data/icons/milky-way-symbolic.svg</file>
|
||||
<file alias="azimuth-symbolic.svg">../data/icons/azimuth-symbolic.svg</file>
|
||||
<file alias="elevation-symbolic.svg">../data/icons/elevation-symbolic.svg</file>
|
||||
<file alias="map-symbolic.svg">../data/icons/map-symbolic.svg</file>
|
||||
<file alias="view-sidebar-start-symbolic.svg">../data/icons/view-sidebar-start-symbolic.svg</file>
|
||||
</gresource>
|
||||
</gresources>
|
||||
|
|
|
@ -168,7 +168,6 @@ day_selected (GtkCalendar *self,
|
|||
TimePicker *time_picker)
|
||||
{
|
||||
g_autoptr (GDateTime) date_selected = NULL;
|
||||
GtkPopover *popover;
|
||||
g_autofree char *button_text = NULL;
|
||||
|
||||
(void) self;
|
||||
|
@ -184,14 +183,6 @@ day_selected (GtkCalendar *self,
|
|||
gtk_menu_button_set_label (GTK_MENU_BUTTON (time_picker->calendar_button),
|
||||
button_text);
|
||||
|
||||
/*
|
||||
* Close Popover after the day was selected
|
||||
* TODO: Popdown happens automatically if a month is chosen which has less days then
|
||||
* the day number previously selected.
|
||||
*/
|
||||
popover = GTK_POPOVER(time_picker->calendar_popover);
|
||||
gtk_popover_popdown (popover);
|
||||
|
||||
input_changed (GTK_WIDGET (self), time_picker);
|
||||
}
|
||||
|
||||
|
|
|
@ -92,7 +92,7 @@ G_DEFINE_TYPE (PicplannerOverview, picplanner_overview, GTK_TYPE_BOX)
|
|||
* picplanner-window to change the stack page.
|
||||
*/
|
||||
static guint signal_button_pressed;
|
||||
void
|
||||
static void
|
||||
change_stack_page (GtkButton *self,
|
||||
gpointer user_data)
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue