kopia lustrzana https://git.sr.ht/~michalr/hamlocator
Porównaj commity
3 Commity
4bf7f67c48
...
b293e52292
Autor | SHA1 | Data |
---|---|---|
Michał Rudowicz | b293e52292 | |
Michał Rudowicz | aeeaea3766 | |
Max Buchholz | 65a06d2b82 |
|
@ -0,0 +1,3 @@
|
|||
[submodule "shared-modules"]
|
||||
path = shared-modules
|
||||
url = https://github.com/flathub/shared-modules.git
|
|
@ -3,7 +3,30 @@
|
|||
<id>eu.fl9.hamlocator.desktop</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-3.0-or-later</project_license>
|
||||
<name>hamlocator</name>
|
||||
<summary>Displays a maidenhead locator for current location</summary>
|
||||
<developer>
|
||||
<name>Michał Rudowicz</name>
|
||||
</developer>
|
||||
<recommends>
|
||||
<control>touch</control>
|
||||
</recommends>
|
||||
<requires>
|
||||
<display_length compare="ge">360</display_length>
|
||||
</requires>
|
||||
<description>
|
||||
<p>No description</p>
|
||||
<p>Display a maidenhead locator</p>
|
||||
</description>
|
||||
<screenshots>
|
||||
<screenshot type="default">
|
||||
<image>https://git.sr.ht/~michalr/hamlocator/blob/main/media/screenshot.png</image>
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
<categories>
|
||||
<category>GTK</category>
|
||||
<category>GNOME</category>
|
||||
</categories>
|
||||
<url type="homepage">https://sr.ht/~michalr/hamlocator/</url>
|
||||
<url type="bugtracker">https://todo.sr.ht/~michalr/hamlocator</url>
|
||||
<url type="vcs-browser">https://git.sr.ht/~michalr/hamlocator</url>
|
||||
</component>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"app-id" : "eu.fl9.hamlocator",
|
||||
"runtime" : "org.gnome.Platform",
|
||||
"runtime-version" : "42",
|
||||
"runtime-version" : "46",
|
||||
"sdk" : "org.gnome.Sdk",
|
||||
"command" : "hamlocator",
|
||||
"finish-args" : [
|
||||
|
@ -36,6 +36,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"shared-modules/libsoup/libsoup-2.4.json",
|
||||
{
|
||||
"name": "geocode-glib",
|
||||
"buildsystem": "meson",
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 6d718cf27ab7337f09758cb7e07bbc6943762a4a
|
|
@ -29,7 +29,6 @@ namespace Hamlocator {
|
|||
construct {
|
||||
ActionEntry[] action_entries = {
|
||||
{ "about", this.on_about_action },
|
||||
{ "preferences", this.on_preferences_action },
|
||||
{ "quit", this.quit }
|
||||
};
|
||||
this.location = new Location();
|
||||
|
@ -72,10 +71,5 @@ namespace Hamlocator {
|
|||
"authors", authors,
|
||||
"version", "0.1.0");
|
||||
}
|
||||
|
||||
private void on_preferences_action () {
|
||||
var win = (Hamlocator.Window) this.active_window;
|
||||
win.SetLabel("elo");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,55 +20,47 @@
|
|||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<!--<object class="GtkBox">
|
||||
<child>-->
|
||||
<object class="GtkGrid" id="grid">
|
||||
<property name="margin-start">12</property>
|
||||
<property name="margin-end">12</property>
|
||||
<property name="margin-top">12</property>
|
||||
<property name="margin-bottom">12</property>
|
||||
<property name="row-spacing">12</property>
|
||||
<property name="column-spacing">12</property>
|
||||
<child>
|
||||
<object class="GtkLabel" id="label">
|
||||
<property name="label">Hello, World!</property>
|
||||
<property name="yalign">1.0</property>
|
||||
<attributes>
|
||||
<attribute name="weight" value="bold"/>
|
||||
<attribute name="scale" value="3"/>
|
||||
</attributes>
|
||||
<layout>
|
||||
<property name="column">0</property>
|
||||
<property name="row">0</property>
|
||||
</layout>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel" id="label_details">
|
||||
<property name="label"></property>
|
||||
<property name="yalign">0.0</property>
|
||||
<attributes>
|
||||
<attribute name="weight" value="light"/>
|
||||
<attribute name="style" value="italic"/>
|
||||
</attributes>
|
||||
<layout>
|
||||
<property name="column">0</property>
|
||||
<property name="row">1</property>
|
||||
</layout>
|
||||
</object>
|
||||
</child>
|
||||
</object><!-- GtkGrid -->
|
||||
<object class="GtkGrid" id="grid">
|
||||
<property name="margin-start">12</property>
|
||||
<property name="margin-end">12</property>
|
||||
<property name="margin-top">12</property>
|
||||
<property name="margin-bottom">12</property>
|
||||
<property name="row-spacing">12</property>
|
||||
<property name="column-spacing">12</property>
|
||||
<child>
|
||||
<object class="GtkLabel" id="label">
|
||||
<property name="label">Hello, World!</property>
|
||||
<property name="yalign">1.0</property>
|
||||
<attributes>
|
||||
<attribute name="weight" value="bold"/>
|
||||
<attribute name="scale" value="3"/>
|
||||
</attributes>
|
||||
<layout>
|
||||
<property name="column">0</property>
|
||||
<property name="row">0</property>
|
||||
</layout>
|
||||
</object>
|
||||
</child>
|
||||
<!-- </object>
|
||||
</child>-->
|
||||
<child>
|
||||
<object class="GtkLabel" id="label_details">
|
||||
<property name="label"></property>
|
||||
<property name="yalign">0.0</property>
|
||||
<attributes>
|
||||
<attribute name="weight" value="light"/>
|
||||
<attribute name="style" value="italic"/>
|
||||
</attributes>
|
||||
<layout>
|
||||
<property name="column">0</property>
|
||||
<property name="row">1</property>
|
||||
</layout>
|
||||
</object>
|
||||
</child>
|
||||
</object><!-- GtkGrid -->
|
||||
</child>
|
||||
</template>
|
||||
|
||||
<menu id="primary_menu">
|
||||
<section>
|
||||
<item>
|
||||
<attribute name="label" translatable="yes">_Preferences</attribute>
|
||||
<attribute name="action">app.preferences</attribute>
|
||||
</item>
|
||||
<item>
|
||||
<attribute name="label" translatable="yes">_Keyboard Shortcuts</attribute>
|
||||
<attribute name="action">win.show-help-overlay</attribute>
|
||||
|
|
Ładowanie…
Reference in New Issue