summaryrefslogtreecommitdiff
path: root/deskutils/pypanel/files/patch-pypanel
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/pypanel/files/patch-pypanel')
-rw-r--r--deskutils/pypanel/files/patch-pypanel31
1 files changed, 0 insertions, 31 deletions
diff --git a/deskutils/pypanel/files/patch-pypanel b/deskutils/pypanel/files/patch-pypanel
deleted file mode 100644
index 15b5229fe1b6..000000000000
--- a/deskutils/pypanel/files/patch-pypanel
+++ /dev/null
@@ -1,31 +0,0 @@
---- pypanel.orig 2005-06-26 23:24:43 UTC
-+++ pypanel
-@@ -95,6 +95,7 @@ class PyPanel(object):
- self.root.change_attributes(event_mask=(X.PropertyChangeMask))
- self.window.map()
- self.display.flush()
-+ self.updatePanel(self.root, self.window, self.panel)
- self.loop(self.display, self.root, self.window, self.panel)
-
- #------------------------------------
-@@ -944,6 +945,9 @@ if __name__ == "__main__":
- main = 2.4
- config = globals().get("VERSION", None)
-
-+ # Get the startup delay
-+ delay = globals().get("STARTUP_DELAY", None)
-+
- # Set locale to user's default
- locale.setlocale(locale.LC_ALL, "")
-
-@@ -953,5 +957,9 @@ if __name__ == "__main__":
- sys.stderr.write("\nA current pypanelrc example can be found here -\n")
- sys.stderr.write("%s/pypanel/pypanelrc\n\n" % sysconfig.get_python_lib())
- del main, config
--
-+
-+ # If delay is set, pause, and let windowmanager load
-+ if delay:
-+ time.sleep(delay)
-+
- PyPanel(display.Display())