Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 131998 Details for
Bug 193937
games-board/kombilo: A go games database program for pattern searches
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
kombilo-0.5m-syspath.patch
kombilo-0.5m-syspath.patch (text/plain), 2.59 KB, created by
Petr Baudis
on 2007-09-27 02:21:45 UTC
(
hide
)
Description:
kombilo-0.5m-syspath.patch
Filename:
MIME Type:
Creator:
Petr Baudis
Created:
2007-09-27 02:21:45 UTC
Size:
2.59 KB
patch
obsolete
>--- kombilo05/kombilo.py~ 2007-09-27 03:17:01.000000000 +0200 >+++ kombilo05/kombilo.py 2007-09-27 03:27:06.000000000 +0200 >@@ -6382,9 +6382,6 @@ > self.sFC = IntVar() > self.lF = (StringVar(), IntVar(), StringVar()) > >- if sys.path[0].endswith('library.zip'): SYSPATH = os.path.split(sys.path[0])[0] >- else: SYSPATH = sys.path[0] >- > gifpath = os.path.join(SYSPATH,'gifs') > try: > self.boardImg = PhotoImage(file=os.path.join(gifpath, 'board.gif')) >@@ -6412,7 +6409,9 @@ > self.capB, self.capW = 0, 0 > self.board.invertSelection = self.options.invertSelection > >+ self.basepath = SYSPATH > self.datapath = self.basepath >+ self.sgfpath = os.curdir > > self.board.pack(expand=YES, fill=BOTH) > self.board.update_idletasks() >@@ -6786,8 +6785,7 @@ > root = Tk() > root.withdraw() > >-if sys.path[0].endswith('library.zip'): SYSPATH = os.path.split(sys.path[0])[0] >-else: SYSPATH = sys.path[0] >+SYSPATH = '/usr/share/kombilo' > > try: > root.option_readfile(os.path.join(SYSPATH, 'kombilo.app')) >--- kombilo05/v.py~ 2007-09-27 03:19:08.000000000 +0200 >+++ kombilo05/v.py 2007-09-27 03:22:26.000000000 +0200 >@@ -2848,14 +2848,6 @@ > command = self.toggleDatawindow, indicatoron=0) > > # try to load icons for navigation buttons >- >- if sys.path[0].endswith('library.zip'): SYSPATH = os.path.split(sys.path[0])[0] >- else: SYSPATH = sys.path[0] >- >- self.basepath = SYSPATH >- self.sgfpath = os.curdir >- self.optionspath = self.basepath >- self.currentFile = '' > > self.tkImages = [] > for button, filename in [(self.nextButton, 'fwd'), (self.prevButton, 'bwd'), >@@ -3009,11 +3001,14 @@ > > # The board > >- if sys.path[0].endswith('library.zip'): SYSPATH = os.path.split(sys.path[0])[0] >- else: SYSPATH = sys.path[0] >- >+ SYSPATH = '/usr/share/kombilo' >+ self.basepath = SYSPATH > gifpath = os.path.join(SYSPATH,'gifs') > >+ self.sgfpath = os.curdir >+ self.optionspath = self.basepath >+ self.currentFile = '' >+ > try: > self.boardImg = PhotoImage(file=os.path.join(gifpath, 'board.gif')) > except (TclError, IOError): >@@ -3070,9 +3065,7 @@ > root = Tk() > root.withdraw() > >- if sys.path[0].endswith('library.zip'): SYSPATH = os.path.split(sys.path[0])[0] >- else: SYSPATH = sys.path[0] >- >+ SYSPATH = '/usr/share/kombilo' > try: > root.option_readfile(os.path.join(SYSPATH, 'v.app')) > except TclError:
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 193937
:
131994
|
131996
|
131997
| 131998 |
159571
|
159573
|
159574
|
159576
|
194177
|
194178