Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2007-06-14 15:27:24 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2007-06-14 15:27:24 (GMT)
commita1e3dbaf9e4017dd060712d5837acf7c1195fb70 (patch)
tree61c47729e0fa62ff94a90cab04355dc2a3a54b53
parent0bb870468382a31d6964c291ad0122e6c4490482 (diff)
Adapt to hwmanager api change
-rw-r--r--shell/view/Shell.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/shell/view/Shell.py b/shell/view/Shell.py
index d73fe10..626f8a2 100644
--- a/shell/view/Shell.py
+++ b/shell/view/Shell.py
@@ -38,7 +38,7 @@ from view.keyhandler import KeyHandler
from view.home.HomeWindow import HomeWindow
from model import bundleregistry
-from hardware.hardwaremanager import get_hardware_manager
+from hardware import hardwaremanager
class Shell(gobject.GObject):
def __init__(self, model):
@@ -71,7 +71,8 @@ class Shell(gobject.GObject):
self.start_activity('org.laptop.JournalActivity')
# Unfreeze the display when it's stable
- get_hardware_manager().set_dcon_freeze(0)
+ hw_manager = hardwaremanager.get_manager()
+ hw_manager.set_dcon_freeze(0)
def _activity_started_cb(self, home_model, home_activity):
activity_host = ActivityHost(home_activity)