Skip to content
GitLab
Explore
Sign in
Canek Peláez Valdés
Gtk Quick Photo Editor
Compare revisions
1946481fd648594675e7cf1d51242c701cb375f1 to 00283827ecb7ae6eca05f0e06801794ced04d118
Commits on Source (2)
Update headers and copyrights.
· fb8b754c
Canek Peláez Valdés
authored
Nov 26, 2021
fb8b754c
Add link button to Google Maps.
· 00283827
Canek Peláez Valdés
authored
Nov 27, 2021
00283827
Hide whitespace changes
Inline
Side-by-side
data/application-window.ui
View file @
00283827
...
...
@@ -370,6 +370,21 @@
<property
name=
"position"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkLinkButton"
id=
"link"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"sensitive"
>
True
</property>
<property
name=
"can-focus"
>
True
</property>
<property
name=
"hexpand"
>
False
</property>
<property
name=
"tooltip-text"
translatable=
"yes"
>
Open Google Maps on this location
</property>
<property
name=
"label"
translatable=
"yes"
>
Google Maps
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
2
</property>
</packing>
</child>
</object>
</child>
</object>
...
...
lib/city.vala
View file @
00283827
/* city.vala - This file is part of gqpe.
/*
* This file is part of gqpe.
*
* Copyright © 2017-2021 Canek Peláez Valdés
*
...
...
src/application-window.vala
View file @
00283827
...
...
@@ -97,6 +97,9 @@ namespace GQPE {
/* The longitude spin button. */
[
GtkChild
]
private
unowned
Gtk
.
SpinButton
longitude
;
/* The link button. */
[
GtkChild
]
private
unowned
Gtk
.
LinkButton
link
;
/* The clutter embed for the map. */
[
GtkChild
]
private
unowned
GtkClutter
.
Embed
map_embed
;
...
...
@@ -502,6 +505,9 @@ namespace GQPE {
check_entries_length
();
comment
.
buffer
.
text
=
photograph
.
comment
;
_title
.
grab_focus
();
var
u
=
"https://maps.google.com/maps?q=%2.11f,%2.11f&z=15"
;
u
=
u
.
printf
(
photograph
.
latitude
,
photograph
.
longitude
);
link
.
uri
=
u
;
updating
=
false
;
}
...
...
src/copy.vala
View file @
00283827
/* copy.vala
*
/*
* This file is part of gqpe.
*
* Copyright © 2013-2021 Canek Peláez Valdés
...
...
src/interpolate-gps.vala
View file @
00283827
/* interpolate-gps.vala
*
/*
* This file is part of gqpe.
*
* Copyright © 2013-2021 Canek Peláez Valdés
...
...
src/namespace.vala
View file @
00283827
/* application-main.vala
*
/*
* This file is part of gqpe.
*
* Copyright © 2013-201
7
Canek Peláez Valdés
* Copyright © 2013-20
2
1 Canek Peláez Valdés
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
...
...
src/store.vala
View file @
00283827
/* store.vala
*
/*
* This file is part of gqpe.
*
* Copyright © 2013-2021 Canek Peláez Valdés
...
...
src/tags.vala
View file @
00283827
/* tags.vala
*
/*
* This file is part of gqpe.
*
* Copyright © 2013-2021 Canek Peláez Valdés
...
...