I added the lines after line 145, but then Software Center didn't start.
Where exactly shall I enter the code?
def copy(self): state = DisplayState() state.channel = self.channel state.category = self.category state.subcategory = self.subcategory state.search_term = self.search_term state.application = self.application state.limit = self.limit state.filter = self.filter.copy() return state
def reset(self):
On 08/27/2011 10:35 AM, H-w25-c25 wrote: > sudo emacs /usr/share/software-center/softwarecenter/ui/gtk3/panes/softwarepane.py
I added the lines after line 145, but then Software Center didn't start.
Where exactly shall I enter the code?
def copy(self):
state. channel = self.channel
state. category = self.category
state. subcategory = self.subcategory
state. search_ term = self.search_term
state. application = self.application
state. limit = self.limit
state. filter = self.filter.copy()
state = DisplayState()
return state
def reset(self):
On 08/27/2011 10:35 AM, H-w25-c25 wrote: software- center/ softwarecenter/ ui/gtk3/ panes/softwarep ane.py
> sudo emacs /usr/share/