Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 80199 Details for
Bug 123402
x11-misc/adesklets-0.5.0 needs upstream patch for adesklets_installer
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
adesklets-0.5.0-adesklets_installer.patch
adesklets-0.5.0-adesklets_installer.patch (text/plain), 1.70 KB, created by
Harm Geerts
on 2006-02-19 09:44:18 UTC
(
hide
)
Description:
adesklets-0.5.0-adesklets_installer.patch
Filename:
MIME Type:
Creator:
Harm Geerts
Created:
2006-02-19 09:44:18 UTC
Size:
1.70 KB
patch
obsolete
>--- 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 > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 123402
:
80196
| 80199