Moving to PEP-8
This commit is contained in:
parent
3dd0def247
commit
15f586e61a
@ -60,6 +60,12 @@ services/presence/Makefile
|
||||
services/nm/Makefile
|
||||
services/clipboard/Makefile
|
||||
services/datastore/Makefile
|
||||
shell/Makefile
|
||||
shell/data/Makefile
|
||||
shell/view/Makefile
|
||||
shell/view/home/Makefile
|
||||
shell/view/frame/Makefile
|
||||
shell/model/Makefile
|
||||
shell/console/lib/Makefile
|
||||
shell/console/lib/procmem/Makefile
|
||||
shell/console/Makefile
|
||||
|
@ -30,7 +30,6 @@ from sugar import env
|
||||
|
||||
class MultiLogView(gtk.VBox):
|
||||
def __init__(self, path):
|
||||
|
||||
self._active_log = None
|
||||
self._iters = []
|
||||
|
||||
@ -155,6 +154,11 @@ class LogView(gtk.ScrolledWindow):
|
||||
|
||||
self.textview = gtk.TextView()
|
||||
self.textview.set_wrap_mode(gtk.WRAP_WORD)
|
||||
|
||||
# Set background color
|
||||
bgcolor = gtk.gdk.color_parse("#FFFFFF")
|
||||
self.textview.modify_base(gtk.STATE_NORMAL, bgcolor)
|
||||
|
||||
self.textview.set_editable(False)
|
||||
|
||||
self.add(self.textview)
|
||||
|
@ -16,7 +16,8 @@
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
import sys, os
|
||||
import sys
|
||||
import os
|
||||
import string
|
||||
import wnck
|
||||
import plugin
|
||||
|
@ -84,6 +84,7 @@ class Terminal(gtk.HBox):
|
||||
else:
|
||||
blink = False
|
||||
conf.set('terminal', 'cursor_blink', blink)
|
||||
|
||||
self._vte.set_cursor_blinks(blink)
|
||||
|
||||
if conf.has_option('terminal', 'bell'):
|
||||
|
Loading…
Reference in New Issue
Block a user