Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-08-16 10:58:40 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-08-16 10:58:40 (GMT)
commita79a3198c589b3b701aaa1e2a1ef1eaf0a458f41 (patch)
treeea63468ffec3bcc60d3616fefd27c96e8192071a
parente95e786432cd4385cf6dd86bec2d21538d0ffff5 (diff)
Adapt to devices icon name changes.
-rw-r--r--shell/view/devices/battery.py2
-rw-r--r--shell/view/devices/network/mesh.py2
-rw-r--r--shell/view/devices/network/wireless.py2
-rw-r--r--shell/view/home/MeshBox.py4
4 files changed, 5 insertions, 5 deletions
diff --git a/shell/view/devices/battery.py b/shell/view/devices/battery.py
index 16863d3..cdd2e78 100644
--- a/shell/view/devices/battery.py
+++ b/shell/view/devices/battery.py
@@ -21,7 +21,7 @@ from sugar.graphics import canvasicon
from sugar.graphics import style
from sugar.graphics.palette import Palette
-_ICON_NAME = 'device-battery'
+_ICON_NAME = 'battery'
_STATUS_CHARGING = 0
_STATUS_DISCHARGING = 1
diff --git a/shell/view/devices/network/mesh.py b/shell/view/devices/network/mesh.py
index 1f108cb..10830f2 100644
--- a/shell/view/devices/network/mesh.py
+++ b/shell/view/devices/network/mesh.py
@@ -22,7 +22,7 @@ from model.devices import device
class DeviceView(canvasicon.CanvasIcon):
def __init__(self, model):
canvasicon.CanvasIcon.__init__(self, size=style.MEDIUM_ICON_SIZE,
- icon_name='theme:device-network-mesh')
+ icon_name='theme:network-mesh')
self._model = model
model.connect('notify::state', self._state_changed_cb)
diff --git a/shell/view/devices/network/wireless.py b/shell/view/devices/network/wireless.py
index 0be096d..9f0abd8 100644
--- a/shell/view/devices/network/wireless.py
+++ b/shell/view/devices/network/wireless.py
@@ -22,7 +22,7 @@ from model.devices.network import wireless
from sugar.graphics.canvasicon import CanvasIcon
from model.devices import device
-_ICON_NAME = 'device-network-wireless'
+_ICON_NAME = 'network-wireless'
class DeviceView(CanvasIcon):
def __init__(self, model):
diff --git a/shell/view/home/MeshBox.py b/shell/view/home/MeshBox.py
index e632770..ff6d290 100644
--- a/shell/view/home/MeshBox.py
+++ b/shell/view/home/MeshBox.py
@@ -36,7 +36,7 @@ from view.BuddyIcon import BuddyIcon
from view.pulsingicon import PulsingIcon
from view.home.snowflakelayout import SnowflakeLayout
-_ICON_NAME = 'device-network-wireless'
+_ICON_NAME = 'network-wireless'
class AccessPointView(PulsingIcon):
def __init__(self, model):
@@ -116,7 +116,7 @@ class AccessPointView(PulsingIcon):
]
-_MESH_ICON_NAME = 'theme:device-network-mesh'
+_MESH_ICON_NAME = 'theme:network-mesh'
class MeshDeviceView(PulsingIcon):
def __init__(self, nm_device):