Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions data/org.gnome.Solanum.appdata.xml.in.in
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<p>The 3.0.0 release of Solanum brings new preferences, updated translations, and minor bug fixes.</p>
<ul>
<li>Solanum now has preferences to adjust the various timer lengths, as well as how many laps to go through before a long break.</li>
<li>New and updated translations for the German, Spanish, Slovenian, Dutch, Romanian, Chinese (China), Korean, Galician, Brazilian Portuguese, Ukranian, Swedish, Polish, Czech, and Finish languages.</li>
<li>New and updated translations for the German, Spanish, Slovenian, Dutch, Romanian, Chinese (China), Korean, Galician, Brazilian Portuguese, Ukrainian, Swedish, Polish, Czech, and Finish languages.</li>
</ul>
</description>
</release>
Expand All @@ -61,7 +61,7 @@
<ul>
<li>The UI has been ported to GTK 4, making Solanum one of the first GTK 4 apps.</li>
<li>Support for translations has been added.</li>
<li>Added translations for French, Spanish, Swedish, Slovenian, Italian, Indonesian, Polish, Finnish, Brazilian Portuguese, Basque, Czech, Ukranian, and British English</li>
<li>Added translations for French, Spanish, Swedish, Slovenian, Italian, Indonesian, Polish, Finnish, Brazilian Portuguese, Basque, Czech, Ukrainian, and British English</li>
<li>Fix: The timer state is properly updated when using the skip button.</li>
</ul>
</description>
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ use crate::app::SolanumApplication;

// Entry point for the application
fn main() {
// Initiialize gtk, gstreamer, and libhandy.
// Initialize gtk, gstreamer, and libhandy.
gtk::init().expect("Failed to initialize gtk");
gstreamer::init().expect("Failed to initialize gstreamer");
libadwaita::init();
Expand Down
4 changes: 2 additions & 2 deletions src/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ impl SolanumWindow {
player.play();
}

fn send_notifcation(&self, lap_type: LapType) {
fn send_notification(&self, lap_type: LapType) {
if !self.is_active() {
let notif = gio::Notification::new(&i18n("Solanum"));
// Set notification text based on lap type
Expand Down Expand Up @@ -351,7 +351,7 @@ impl SolanumWindow {
self.update_lap(next_lap);

if notify {
self.send_notifcation(next_lap);
self.send_notification(next_lap);
}
}
}