From 57db10cfd8fb3edfbc04853448ad25e401b6db6e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 12 Oct 2014 17:50:11 -0500 Subject: [PATCH] Bring stop, lock, exit, and run icons into XDG compliance --- examples/systray.py | 2 +- templates/annotated/systray.py | 2 +- templates/annotated/systray1.py | 2 +- templates/basic/systray.py | 2 +- templates/basic/systray1.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/systray.py b/examples/systray.py index 0eeb6b7..0da1961 100644 --- a/examples/systray.py +++ b/examples/systray.py @@ -45,7 +45,7 @@ mainWindow = MainWin (None, "main window") icons = TDEIconLoader () systray = KSystemTray (mainWindow) -systray.setPixmap (icons.loadIcon("stop", TDEIcon.Desktop)) +systray.setPixmap (icons.loadIcon("process-stop", TDEIcon.Desktop)) systray.show () #mainWindow.show() diff --git a/templates/annotated/systray.py b/templates/annotated/systray.py index 1c3745c..1bb8849 100644 --- a/templates/annotated/systray.py +++ b/templates/annotated/systray.py @@ -70,7 +70,7 @@ icons = TDEIconLoader () # when clicked, so parent needs to be the main window systray = KSystemTray (mainWindow) -systray.setPixmap (icons.loadIcon("stop", TDEIcon.Desktop)) +systray.setPixmap (icons.loadIcon("process-stop", TDEIcon.Desktop)) systray.connect (systray, SIGNAL ("quitSelected ()"), slotQuitSelected) systray.show () diff --git a/templates/annotated/systray1.py b/templates/annotated/systray1.py index d7d00ab..e25ffb6 100644 --- a/templates/annotated/systray1.py +++ b/templates/annotated/systray1.py @@ -57,7 +57,7 @@ class MainWin (TDEMainWindow): # KSystemTray hides or shows its parent when the system tray icon is clicked self.systray = KSystemTray (self) - self.systray.setPixmap (icons.loadIcon("stop", TDEIcon.Desktop)) + self.systray.setPixmap (icons.loadIcon("process-stop", TDEIcon.Desktop)) self.systray.connect (self.systray, SIGNAL ("quitSelected ()"), self.slotQuitSelected) self.systray.show () diff --git a/templates/basic/systray.py b/templates/basic/systray.py index b4bb489..84f2e1a 100644 --- a/templates/basic/systray.py +++ b/templates/basic/systray.py @@ -51,7 +51,7 @@ icons = TDEIconLoader () systray = KSystemTray (mainWindow) -systray.setPixmap (icons.loadIcon("stop", TDEIcon.Desktop)) +systray.setPixmap (icons.loadIcon("process-stop", TDEIcon.Desktop)) systray.connect (systray, SIGNAL ("quitSelected ()"), slotQuitSelected) systray.show () diff --git a/templates/basic/systray1.py b/templates/basic/systray1.py index ac5e508..b6b9b05 100644 --- a/templates/basic/systray1.py +++ b/templates/basic/systray1.py @@ -42,7 +42,7 @@ class MainWin (TDEMainWindow): icons = TDEIconLoader () self.systray = KSystemTray (self) - self.systray.setPixmap (icons.loadIcon("stop", TDEIcon.Desktop)) + self.systray.setPixmap (icons.loadIcon("process-stop", TDEIcon.Desktop)) self.systray.connect (self.systray, SIGNAL ("quitSelected ()"), self.slotQuitSelected) self.systray.show ()