aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorkj_sh6042025-07-23 08:51:56 -0400
committerkj_sh6042025-07-23 08:51:56 -0400
commit235c5d1933ed24a6e2a3aef52859466b2d615153 (patch)
tree82cd3e174e361c71fb873dc9312d03e3d0deb870 /src
parente5f234861c800479c1f58bd87e4f0f24f5d96701 (diff)
refactor: don't use provided icon in repo
Diffstat (limited to 'src')
-rwxr-xr-xsrc/panahone8
1 files changed, 3 insertions, 5 deletions
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):