-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
45 changed files
with
555 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "resources" | ||
version = "1.7.1" | ||
authors = ["nokyan <[email protected]>"] | ||
authors = ["nokyan <[email protected]>"] | ||
edition = "2021" | ||
rust-version = "1.80.0" | ||
homepage = "https://apps.gnome.org/app/net.nokyan.Resources/" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,7 +38,7 @@ | |
<developer id="net.nokyan"> | ||
<name translate="no">nokyan</name> | ||
</developer> | ||
<update_contact>[email protected]</update_contact> | ||
<update_contact>[email protected]</update_contact> | ||
<translation type="gettext">@gettext-package@</translation> | ||
<launchable type="desktop-id">@[email protected]</launchable> | ||
<branding> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "process-data" | ||
version = "1.7.1" | ||
authors = ["nokyan <[email protected]>"] | ||
authors = ["nokyan <[email protected]>"] | ||
edition = "2021" | ||
rust-version = "1.80.0" | ||
homepage = "https://apps.gnome.org/app/net.nokyan.Resources/" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
# | ||
# piekay <>, 2024. | ||
# nokyan <[email protected]>, 2022-2024. | ||
# nokyan <[email protected]>, 2022-2024. | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: resources\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-10-19 13:51+0200\n" | ||
"PO-Revision-Date: 2024-10-19 13:57+0200\n" | ||
"Last-Translator: nokyan <[email protected]>\n" | ||
"Language-Team: German <[email protected]>\n" | ||
"Last-Translator: nokyan <[email protected]>\n" | ||
"Language-Team: German <[email protected]>\n" | ||
"Language: de\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
|
@@ -133,7 +133,7 @@ msgstr "Probleme melden" | |
#. One name per line, please do not remove previous names. | ||
#: src/application.rs:278 | ||
msgid "translator-credits" | ||
msgstr "nokyan <[email protected]>piekay" | ||
msgstr "nokyan <[email protected]>piekay" | ||
|
||
#: src/application.rs:279 | ||
msgid "Icon by" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Project xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | ||
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" | ||
xmlns:foaf="http://xmlns.com/foaf/0.1/" | ||
xmlns:gnome="http://api.gnome.org/doap-extensions#" | ||
xmlns="http://usefulinc.com/ns/doap#"> | ||
|
||
<Project xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:gnome="http://api.gnome.org/doap-extensions#" xmlns="http://usefulinc.com/ns/doap#"> | ||
<name xml:lang="en">Resources</name> | ||
<shortdesc xml:lang="en">Keep an eye on system resources</shortdesc> | ||
<homepage rdf:resource="https://apps.gnome.org/app/net.nokyan.Resources/"/> | ||
<bug-database rdf:resource="https://github.com/nokyan/resources/issues/"/> | ||
|
||
<programming-language>Rust</programming-language> | ||
<platform>GTK 4</platform> | ||
<platform>Libadwaita</platform> | ||
|
||
<maintainer> | ||
<foaf:Person> | ||
<foaf:name>nokyan</foaf:name> | ||
<foaf:mbox rdf:resource="mailto:[email protected]" /> | ||
<foaf:mbox rdf:resource="mailto:[email protected]"/> | ||
<foaf:account> | ||
<foaf:OnlineAccount> | ||
<foaf:accountServiceHomepage rdf:resource="https://github.com"/> | ||
|
@@ -26,4 +19,4 @@ | |
</foaf:account> | ||
</foaf:Person> | ||
</maintainer> | ||
</Project> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
use log::{debug, info}; | ||
use log::{debug, info, trace}; | ||
|
||
use adw::{prelude::*, subclass::prelude::*}; | ||
use glib::clone; | ||
|
@@ -78,6 +78,8 @@ glib::wrapper! { | |
|
||
impl Application { | ||
pub fn new() -> Self { | ||
trace!("Creating Application GObject…"); | ||
|
||
glib::Object::builder::<Self>() | ||
.property("application-id", Some(APP_ID)) | ||
.property("flags", gio::ApplicationFlags::empty()) | ||
|
@@ -263,7 +265,7 @@ impl Application { | |
.application_name(i18n("Resources")) | ||
.application_icon(config::APP_ID) | ||
.developer_name(i18n("The Nalux Team")) | ||
.developers(vec!["nokyan <[email protected]>".to_string()]) | ||
.developers(vec!["nokyan <[email protected]>"]) | ||
.license_type(gtk::License::Gpl30) | ||
.version(config::VERSION) | ||
.website("https://apps.gnome.org/app/net.nokyan.Resources/") | ||
|
@@ -283,19 +285,22 @@ impl Application { | |
} | ||
|
||
pub fn run(&self) { | ||
trace!("Starting the application"); | ||
info!("Resources ({APP_ID})"); | ||
info!("Version: {VERSION}"); | ||
info!("Datadir: {PKGDATADIR}"); | ||
|
||
let os_info = OsInfo::get(); | ||
debug!( | ||
"Operating system: {}", | ||
os_info.name.as_deref().unwrap_or("N/A") | ||
); | ||
debug!( | ||
"Kernel version: {}", | ||
os_info.kernel_version.as_deref().unwrap_or("N/A") | ||
); | ||
info!("Version: {VERSION} ({PROFILE})"); | ||
info!("Datadir: `{PKGDATADIR}`"); | ||
|
||
if log::log_enabled!(log::Level::Debug) { | ||
let os_info = OsInfo::get(); | ||
debug!( | ||
"Operating system: {}", | ||
os_info.name.as_deref().unwrap_or("N/A") | ||
); | ||
debug!( | ||
"Kernel version: {}", | ||
os_info.kernel_version.as_deref().unwrap_or("N/A") | ||
); | ||
} | ||
|
||
if PROFILE == "Devel" { | ||
info!( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.