From 235c5d1933ed24a6e2a3aef52859466b2d615153 Mon Sep 17 00:00:00 2001 From: kj_sh604 Date: Wed, 23 Jul 2025 08:51:56 -0400 Subject: refactor: don't use provided icon in repo --- src/panahone | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/panahone b/src/panahone index 0332a92..a4ef7ac 100755 --- a/src/panahone +++ b/src/panahone @@ -22,13 +22,11 @@ from gi.repository import Gtk, Notify class PanahoneApplet: def __init__(self, location, use_fahrenheit): - icon_file = "./panahone.png" - self.location = location or "" self.use_fahrenheit = use_fahrenheit Notify.init("Panahone") self.icon = Gtk.StatusIcon() - self.icon.set_from_file(icon_file) + self.icon.set_from_icon_name('weather-overcast') self.icon.set_tooltip_text("Panahone: click to get weather") self.icon.connect("button-press-event", self.on_click) signal.signal(signal.SIGINT, self.quit) @@ -38,7 +36,7 @@ class PanahoneApplet: Notify.Notification.new( "Panahone", "Retrieving Weather Data…", - "weather" + "weather-overcast" ).show() self.fetch_and_notify() elif event.button == 2: @@ -69,7 +67,7 @@ class PanahoneApplet: Notify.Notification.new( "Panahone", message, - "weather" + "weather-overcast" ).show() def quit(self, *args): -- cgit v1.2.3