-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

moinmoin,
Am 29.07.2009 um 14:25 schrieb Lionel Elie Mamane:

From: Lionel Elie Mamane <lio...@mamane.lu>

---
 debian/changelog           |    6 ++++++
 panelplugin/BatteryIcon.py |    2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b07c50f..d866e68 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+openmoko-panel-plugin (0.10-2) UNRELEASED; urgency=low
+
+  * Enable battery button/display by default
+
+ -- Lionel Elie Mamane <lio...@mamane.lu> Wed, 29 Jul 2009 13:50:07 +0200
+
 openmoko-panel-plugin (0.10-1) pkg-fso; urgency=low

   * New Upstream Version
diff --git a/panelplugin/BatteryIcon.py b/panelplugin/BatteryIcon.py
index a6fea05..f7ac132 100644
--- a/panelplugin/BatteryIcon.py
+++ b/panelplugin/BatteryIcon.py
@@ -26,7 +26,7 @@ class BatteryIcon(StatusIcon):
         self.timeToFull = 0

         self.chargingRate = False
-        self.batteryWindowActive = False
+        self.batteryWindowActive = True

         StatusIcon.__init__(self, self.parentObject, 'battery')

--
1.6.3.3

if your intention is to enable the battery-plugin of opp by default, this is just the wrong way.

such things are done in the config-files ..

self.batteryWindowActive is just a status-variable indicating _if_ the batteryWindow is currently active or not

cheers,
        christian (morlac) adams
- --
- -----BEGIN CONTACT BLOCK-----
  eMail:        mor...@morlac.de
  Jabber:       mor...@skavaer.homelinux.org
- ------END CONTACT BLOCK------

- -----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS$/IT;d-;s:;a?;C++(+++)>++++;UL++++;P++(+++)>++++;
L++(+++);E---;W++;N(+);o?;K?;!w;!O;!M+>;!V;PS(+);PE;
Y+;PGP++;t+(++);5(+)>++;X(+);R*;tv->+;b++(+++);DI++;
D++(+++)>++++;G(+)>++;e+>+++;h-()>++;r++;y++;
- ------END GEEK CODE BLOCK------

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFKcHNLr81gVylJyzERAt8SAKDoZ9KPCmleewvLwxnNdZSr+njv6ACg4z5U
CHxyfGGuoFKKsM9i0gzogok=
=Nq5w
-----END PGP SIGNATURE-----

_______________________________________________
Smartphones-userland mailing list
Smartphones-userland@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland

Reply via email to