After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 87873 - On laptops, battery applet should be on panel by default
On laptops, battery applet should be on panel by default
Status: RESOLVED OBSOLETE
Product: gnome-panel
Classification: Other
Component: panel
unspecified
Other Linux
: High enhancement
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-07-10 21:14 UTC by Havoc Pennington
Modified: 2007-06-29 13:09 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Patch from SuSE packages (2.36 KB, patch)
2005-07-20 16:24 UTC, Rodrigo Moya
none Details | Review
battery.c file (6.20 KB, text/plain)
2005-07-20 16:25 UTC, Rodrigo Moya
  Details

Description Havoc Pennington 2002-07-10 21:14:47 UTC
In GNOME 1.4 if you ran the panel for the first time on a laptop, 
you would get a battery monitor on your panel.

Do we have any idea of "conditional" applets in 2.0?
Comment 1 Mark McLoughlin 2002-07-29 05:03:01 UTC
No, no such thing as conditional applets. I suppose we should dig up
the old code and figure out how it did it. Putting on the 2.2.x milestone.

(Oh, I'd hate this myself, btw, I've some weird apm/kernel/bios
interaction problem. When you read from /proc/apm the pointer jumps,
even on the console - so I won't be in any rush to implement this :-)
Comment 2 David William Price 2005-03-14 17:38:22 UTC
The ubuntu hoary array 6 liveCD seemed to do this automatically. Is this part of
Gnome 2.10 now?
Comment 3 Rodrigo Moya 2005-07-20 16:24:41 UTC
Created attachment 49473 [details] [review]
Patch from SuSE packages

This patch is from the SuSE packages. There is some if 0'ed code which I don't
know if it's needed or not, so including it also.

Newly added file (battery.c) attached separately.
Comment 4 Rodrigo Moya 2005-07-20 16:25:42 UTC
Created attachment 49474 [details]
battery.c file
Comment 5 Vincent Untz 2007-06-29 13:09:29 UTC
We have gnome-power-manager now, and it just works. I also hope the libpanel-applet rearchitecture will make this possible, but we don't need this bug anymore.