summaryrefslogtreecommitdiff
path: root/desktop/pypanel/loaddelay.patch
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2010-05-13 00:06:35 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2010-05-13 00:06:35 +0200
commit1d9c3e0bc5f30d302ee5edf6795c31130fccbb3e (patch)
tree8804aa0f18ab06c5d5904205ae4d37a1bf9dec45 /desktop/pypanel/loaddelay.patch
parent37ac434c4fa0aae7304a5c885daeec9744b14800 (diff)
downloadslackbuilds-1d9c3e0bc5f30d302ee5edf6795c31130fccbb3e.tar.gz
desktop/pypanel: Removed from 13.0 repository
Diffstat (limited to 'desktop/pypanel/loaddelay.patch')
-rw-r--r--desktop/pypanel/loaddelay.patch46
1 files changed, 0 insertions, 46 deletions
diff --git a/desktop/pypanel/loaddelay.patch b/desktop/pypanel/loaddelay.patch
deleted file mode 100644
index 07ab8814b7..0000000000
--- a/desktop/pypanel/loaddelay.patch
+++ /dev/null
@@ -1,46 +0,0 @@
---- pypanel 2005-06-27 02:24:43.000000000 +0300
-+++ pypanel.new 2007-06-23 21:47:56.000000000 +0300
-@@ -95,6 +95,7 @@
- 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 @@
- 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 @@
- 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())
---- pypanelrc 2005-06-27 02:27:37.000000000 +0300
-+++ pypanelrc.new 2007-06-23 21:46:01.000000000 +0300
-@@ -9,6 +9,12 @@
- VERSION = 2.4 # Config file version
-
- #------------------------------------------------------------------------------
-+# Startup delay: The time to wait before painting the pypanel window. This lets
-+# the background load up so that pypanel will be displayed correctly.
-+#------------------------------------------------------------------------------
-+STARTUP_DELAY = 2
-+
-+#------------------------------------------------------------------------------
- # Colors: Format is hex triplet - 0xrrggbb
- #------------------------------------------------------------------------------
- BG_COLOR = "0xd6d6d6" # Panel background and tinting color