Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorSimon Schampijer <simon@schampijer.de>2008-12-18 19:58:23 (GMT)
committer Simon Schampijer <simon@schampijer.de>2008-12-18 19:58:23 (GMT)
commit60855b2289642b62e43d926e692c42e06df0d05e (patch)
treeb8959fcc4741b74755505a284f71e46d76cf76dd /extensions
parent233edb7c118fcd3cd98ddce6c90ae0a8e05487a2 (diff)
Change the FRAME_POSITION_RELATIVE to follow eben's spec
[500 external devices eg. USB drive] [400 3rd party devices eg. speech] [300 transient connection devices eg. AP] [200 transient devices eg. camera] [100 static devices eg. battery]
Diffstat (limited to 'extensions')
-rw-r--r--extensions/deviceicon/battery.py2
-rw-r--r--extensions/deviceicon/network.py4
-rw-r--r--extensions/deviceicon/speaker.py2
-rw-r--r--extensions/deviceicon/volume.py2
4 files changed, 5 insertions, 5 deletions
diff --git a/extensions/deviceicon/battery.py b/extensions/deviceicon/battery.py
index c25d124..f83a80d 100644
--- a/extensions/deviceicon/battery.py
+++ b/extensions/deviceicon/battery.py
@@ -44,7 +44,7 @@ _PRESENT_PROP = 'battery.present'
class DeviceView(TrayIcon):
- FRAME_POSITION_RELATIVE = 1000
+ FRAME_POSITION_RELATIVE = 101
def __init__(self, udi):
client = gconf.client_get_default()
diff --git a/extensions/deviceicon/network.py b/extensions/deviceicon/network.py
index 1333569..d52f083 100644
--- a/extensions/deviceicon/network.py
+++ b/extensions/deviceicon/network.py
@@ -185,7 +185,7 @@ class WiredPalette(Palette):
class WirelessDeviceView(ToolButton):
_ICON_NAME = 'network-wireless'
- FRAME_POSITION_RELATIVE = 300
+ FRAME_POSITION_RELATIVE = 302
def __init__(self, device):
ToolButton.__init__(self)
@@ -373,7 +373,7 @@ class WirelessDeviceView(ToolButton):
class WiredDeviceView(TrayIcon):
_ICON_NAME = 'network-wired'
- FRAME_POSITION_RELATIVE = 300
+ FRAME_POSITION_RELATIVE = 301
def __init__(self, speed, address):
client = gconf.client_get_default()
diff --git a/extensions/deviceicon/speaker.py b/extensions/deviceicon/speaker.py
index 5497873..ffb38cb 100644
--- a/extensions/deviceicon/speaker.py
+++ b/extensions/deviceicon/speaker.py
@@ -34,7 +34,7 @@ _ICON_NAME = 'speaker'
class DeviceView(TrayIcon):
- FRAME_POSITION_RELATIVE = 800
+ FRAME_POSITION_RELATIVE = 102
def __init__(self):
client = gconf.client_get_default()
diff --git a/extensions/deviceicon/volume.py b/extensions/deviceicon/volume.py
index aba236d..c0d265b 100644
--- a/extensions/deviceicon/volume.py
+++ b/extensions/deviceicon/volume.py
@@ -36,7 +36,7 @@ _icons = {}
class DeviceView(TrayIcon):
- FRAME_POSITION_RELATIVE = 800
+ FRAME_POSITION_RELATIVE = 500
def __init__(self, mount):
TrayIcon.__init__(self)