Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-12-10 16:55:25 (GMT)
committer Simon Schampijer <simon@laptop.org>2013-01-22 09:29:52 (GMT)
commit5587db6c59a4221cc79eaa9c3ee85163a6e5883d (patch)
treea6c4f0dcddee9cf3492c8487e107b35232914789
parent362cde17851010f1532373c48bbd262617d24fa7 (diff)
Do not exceed 80 cols
Acked-by: Simon Schampijer <simon@laptop.org>
-rwxr-xr-xsrc/jarabe/main.py14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/jarabe/main.py b/src/jarabe/main.py
index a2444e0..fbf1f03 100755
--- a/src/jarabe/main.py
+++ b/src/jarabe/main.py
@@ -112,15 +112,16 @@ def setup_window_manager():
logging.debug('STARTUP: window_manager')
# have to reset cursor(metacity sets it on startup)
- if subprocess.call('echo $DISPLAY; xsetroot -cursor_name left_ptr', shell=True):
+ if subprocess.call('echo $DISPLAY; xsetroot -cursor_name left_ptr',
+ shell=True):
logging.warning('Can not reset cursor')
if subprocess.call('metacity-message disable-keybindings',
- shell=True):
+ shell=True):
logging.warning('Can not disable metacity keybindings')
if subprocess.call('metacity-message disable-mouse-button-modifiers',
- shell=True):
+ shell=True):
logging.warning('Can not disable metacity mouse button modifiers')
def bootstrap():
@@ -189,8 +190,8 @@ def main():
cleanup_temporary_files()
from sugar3 import logger
- # NOTE: This needs to happen so early because some modules register translatable
- # strings in the module scope.
+ # NOTE: This needs to happen so early because some modules register
+ # translatable strings in the module scope.
from jarabe import config
gettext.bindtextdomain('sugar', config.locale_path)
gettext.bindtextdomain('sugar-toolkit', config.locale_path)
@@ -221,7 +222,8 @@ def main():
GObject.idle_add(setup_cursortracker_cb)
# make sure we have the correct cursor in the intro screen
# TODO #3204
- if subprocess.call('echo $DISPLAY; xsetroot -cursor_name left_ptr', shell=True):
+ if subprocess.call('echo $DISPLAY; xsetroot -cursor_name left_ptr',
+ shell=True):
logging.warning('Can not reset cursor')
sound.restore()