diff options
author | Michele Noberasco <s4t4n@gentoo.org> | 2006-02-24 10:23:15 +0000 |
---|---|---|
committer | Michele Noberasco <s4t4n@gentoo.org> | 2006-02-24 10:23:15 +0000 |
commit | a705318f79a1ab19b870c970e52e336eb301ce19 (patch) | |
tree | ae51cf0f9ead8a58e3f2ad0f87235fbd5d83078a /x11-misc/adesklets/files | |
parent | Version bump. (diff) | |
download | gentoo-2-a705318f79a1ab19b870c970e52e336eb301ce19.tar.gz gentoo-2-a705318f79a1ab19b870c970e52e336eb301ce19.tar.bz2 gentoo-2-a705318f79a1ab19b870c970e52e336eb301ce19.zip |
Revision bump, fixing bugs #123538 and #123402.
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'x11-misc/adesklets/files')
3 files changed, 56 insertions, 0 deletions
diff --git a/x11-misc/adesklets/files/adesklets-0.5.0-adesklets_installer.patch b/x11-misc/adesklets/files/adesklets-0.5.0-adesklets_installer.patch new file mode 100644 index 000000000000..fc706a75165b --- /dev/null +++ b/x11-misc/adesklets/files/adesklets-0.5.0-adesklets_installer.patch @@ -0,0 +1,43 @@ +--- a/utils/adesklets_installer ++++ b/utils/adesklets_installer +@@ -470,7 +470,7 @@ try: + self.lines = data.splitlines() + else: + self.lines = data +- for i, line in zip(xrange(len(self.lines)), self.lines): ++ for i, line in zip(range(len(self.lines)), self.lines): + self.pad.addstr(i, 0, line) + self.scroll(0) + else: +@@ -496,9 +496,10 @@ try: + new = 0 + elif new >= len(self.lines): + new = len(self.lines)-1 +- +- self.pad.addstr(self.cur, 0, self.lines[self.cur]) +- self.pad.addstr(new, 0, self.lines[new], self.hl) ++ ++ if len(self.lines)>1: ++ self.pad.addstr(self.cur, 0, self.lines[self.cur]) ++ self.pad.addstr(new, 0, self.lines[new], self.hl) + self.cur = new + self.refresh() + +@@ -620,14 +621,14 @@ warranty; not even for MERCHANTABILITY o + opts, args= p.parse_args() + + # Just instanciate the right GUI to start up the application +- # In orger, we try to instanciate the Tk, curses and raw ++ # In order, we try to instanciate the Tk, curses and raw + # interface, falling to the next in case of unavailability or + # initialization errors +- # ++ # + select = opts.raw + opts.curses + opts.Tk + for ui in ('Tk', 'curses', 'raw'): + if (globals().has_key('%sGUI' % ui) and +- getattr(opts, ui) or select==0 or ui=='raw'): ++ (getattr(opts, ui) or select==0 or ui=='raw')): + if globals()['%sGUI' % ui](): break + + diff --git a/x11-misc/adesklets/files/adesklets-0.5.0-ctrlmenu.patch b/x11-misc/adesklets/files/adesklets-0.5.0-ctrlmenu.patch new file mode 100644 index 000000000000..a5913865bb95 --- /dev/null +++ b/x11-misc/adesklets/files/adesklets-0.5.0-ctrlmenu.patch @@ -0,0 +1,10 @@ +--- src/adesklets.c.old 2006-02-14 01:49:01.000000000 -0500 ++++ src/adesklets.c 2006-02-14 01:49:54.000000000 -0500 +@@ -2910,6 +2910,7 @@ + #ifdef CONTROL_ON_CONTEXT_MENU + } else { ++ XUngrabPointer(adesklets.display, ev.xbutton.time); + ev.xbutton.window = adesklets.root ; + XSendEvent(adesklets.display, ev.xbutton.window, + False, ButtonPressMask, &ev); + debug("menu call redirected to root\n"); diff --git a/x11-misc/adesklets/files/digest-adesklets-0.5.0-r1 b/x11-misc/adesklets/files/digest-adesklets-0.5.0-r1 new file mode 100644 index 000000000000..3f1117dfbc86 --- /dev/null +++ b/x11-misc/adesklets/files/digest-adesklets-0.5.0-r1 @@ -0,0 +1,3 @@ +MD5 a618289ea5c1512ec41085ac234341f3 adesklets-0.5.0.tar.bz2 367220 +RMD160 3ece06cd76567af3677006c881140bb731864322 adesklets-0.5.0.tar.bz2 367220 +SHA256 fa28f0f0ecb2b4b44b5e81c6a2e7ecc8151a4ca928ff4e3361535e28e0265294 adesklets-0.5.0.tar.bz2 367220 |