lxde/lxpanel.git
8 years agoAdded data/two_panels/panels/{bottom,top} to .gitignore.
Piotr Sipika [Fri, 9 Mar 2012 11:46:58 +0000 (06:46 -0500)] 
Added data/two_panels/panels/{bottom,top} to .gitignore.

8 years agoAdded ap_info_node definition to APLIST typedef
Piotr Sipika [Thu, 8 Mar 2012 22:13:57 +0000 (17:13 -0500)] 
Added ap_info_node definition to APLIST typedef

8 years agoCleaned up compilation warnings.
Piotr Sipika [Thu, 8 Mar 2012 21:57:53 +0000 (16:57 -0500)] 
Cleaned up compilation warnings.
Added wireless-tools-devel check (iwlib.h) to configure.ac

8 years agomonitors: Fix deallocated memory access when changing colors
Henry Gebhardt [Tue, 6 Mar 2012 03:04:53 +0000 (04:04 +0100)] 
monitors: Fix deallocated memory access when changing colors

8 years agobatt: Fix computation of percentage when battery uses charge_now
Henry Gebhardt [Sun, 4 Mar 2012 20:43:50 +0000 (21:43 +0100)] 
batt: Fix computation of percentage when battery uses charge_now

When the battery does not report "charge_now", then it is set from
"energy_now" and "voltage_now", so this patch still works.

Reported here:
    - SourceForge bug ID: 3432945
    - SourceForge bug ID: 3355401

8 years agonetstat: fix possible creation of thread zombies
Henry Gebhardt [Sat, 18 Feb 2012 13:28:03 +0000 (14:28 +0100)] 
netstat: fix possible creation of thread zombies

8 years agonetstat: fix some memory leaks in lxnm_client.c
Henry Gebhardt [Fri, 17 Feb 2012 22:53:54 +0000 (23:53 +0100)] 
netstat: fix some memory leaks in lxnm_client.c

8 years agonetstat: fix uninitialized value and potential segfault
Henry Gebhardt [Fri, 17 Feb 2012 01:24:17 +0000 (02:24 +0100)] 
netstat: fix uninitialized value and potential segfault

8 years agonetstat: fix many compile warnings
Henry Gebhardt [Thu, 16 Feb 2012 23:32:45 +0000 (00:32 +0100)] 
netstat: fix many compile warnings

8 years agoCommit from LXDE Translation Project with Pootle by user GoaHead.: 294 of 315 message...
GoaHead [Thu, 16 Feb 2012 16:50:23 +0000 (18:50 +0200)] 
Commit from LXDE Translation Project with Pootle by user GoaHead.: 294 of 315 messages translated (6 fuzzy).

8 years agoAdd also .ui files in POTFILES
Julien Lavergne [Sun, 12 Feb 2012 18:35:58 +0000 (19:35 +0100)] 
Add also .ui files in POTFILES

8 years agoReally remove glade file
Julien Lavergne [Sun, 12 Feb 2012 14:16:19 +0000 (15:16 +0100)] 
Really remove glade file

8 years agoRemove gnome-netstatus.glade, it's not used or installed
Julien Lavergne [Sun, 12 Feb 2012 14:14:45 +0000 (15:14 +0100)] 
Remove gnome-netstatus.glade, it's not used or installed

8 years agoComplete previous commit for make distcheck fixes
Julien Lavergne [Sun, 12 Feb 2012 14:14:22 +0000 (15:14 +0100)] 
Complete previous commit for make distcheck fixes

8 years agoSome fixes for make distcheck
Julien Lavergne [Sun, 12 Feb 2012 14:11:43 +0000 (15:11 +0100)] 
Some fixes for make distcheck

8 years agotaskbar: Fix infinite loop
Henry Gebhardt [Sat, 28 Jan 2012 21:58:10 +0000 (22:58 +0100)] 
taskbar: Fix infinite loop

Unlink a task from its class list properly, in case it is re-added. This
happens when you close windows of the same type in the order they were
created, and they for some reason add themselves again for a short time.
For example, LibreOffice writer 3.4.3 does this.

Reported in several places, e.g.
    - https://sourceforge.net/tracker/?func=detail&aid=3468295&group_id=180858&atid=894869
    - https://bugs.launchpad.net/ubuntu/+source/lxpanel/+bug/906825
    - https://sourceforge.net/mailarchive/forum.php?thread_name=13525c43570.-2435697889463439497.-8626413068332756300%40zoho.com&forum_name=lxde-list

8 years agoFix launchpad bug #889414 - Run dialog opens up in the background.
Hong Jen Yee (PCMan) [Sat, 28 Jan 2012 15:35:53 +0000 (23:35 +0800)] 
Fix launchpad bug #889414 - Run dialog opens up in the background.

8 years agoAdd new lang in LINGUAS
Julien Lavergne [Wed, 25 Jan 2012 23:26:43 +0000 (00:26 +0100)] 
Add new lang in LINGUAS

8 years agoMerge missing pieces from original indicator applet.
Julien Lavergne [Wed, 25 Jan 2012 23:25:39 +0000 (00:25 +0100)] 
Merge missing pieces from original indicator applet.
Commenting appmenu support since it crashs on start.

8 years agomonitors: fix compile warnings
Henry Gebhardt [Tue, 24 Jan 2012 01:02:34 +0000 (02:02 +0100)] 
monitors: fix compile warnings

8 years agothermal: Don't print useless info on startup, fix compile warning
Henry Gebhardt [Mon, 23 Jan 2012 22:29:23 +0000 (23:29 +0100)] 
thermal: Don't print useless info on startup, fix compile warning

8 years agomonitors: cached memory should be counted as 'free'
Henry Gebhardt [Mon, 23 Jan 2012 22:28:40 +0000 (23:28 +0100)] 
monitors: cached memory should be counted as 'free'

8 years agomonitors: Fix segfault in *_tooltip_update() functions
Henry Gebhardt [Mon, 23 Jan 2012 18:51:29 +0000 (19:51 +0100)] 
monitors: Fix segfault in *_tooltip_update() functions

a) m->stats may not yet be initialized.
b) Wrap m->ring_cursor properly.

8 years agoCommit from LXDE Translation Project with Pootle by user Yorvyk.: 315 of 315 messages...
Yorvyk [Tue, 24 Jan 2012 23:06:24 +0000 (01:06 +0200)] 
Commit from LXDE Translation Project with Pootle by user Yorvyk.: 315 of 315 messages translated (0 fuzzy).

8 years agoCommit from LXDE Translation Project with Pootle by user Yorvyk.: 315 of 315 messages...
Yorvyk [Tue, 24 Jan 2012 20:52:49 +0000 (22:52 +0200)] 
Commit from LXDE Translation Project with Pootle by user Yorvyk.: 315 of 315 messages translated (0 fuzzy).

8 years agoCommit from LXDE Translation Project with Pootle by user tranduyhung.: 315 of 315...
tranduyhung [Mon, 23 Jan 2012 15:15:27 +0000 (17:15 +0200)] 
Commit from LXDE Translation Project with Pootle by user tranduyhung.: 315 of 315 messages translated (0 fuzzy).

8 years ago[l10n] Adding missing new line marker to nb.po.
Martin Bagge / brother [Mon, 23 Jan 2012 09:16:05 +0000 (10:16 +0100)] 
[l10n] Adding missing new line marker to nb.po.

8 years ago[l10n] People SUCK. How hard can it be to commit your work? nb, pt_BR, tt_RU, ug...
Martin Bagge / brother [Mon, 23 Jan 2012 09:08:56 +0000 (10:08 +0100)] 
[l10n] People SUCK. How hard can it be to commit your work? nb, pt_BR, tt_RU, ug, zh_CN.

8 years ago[l10n] Correcting an error in vi.po, setting stirng as fuzzy.
Martin Bagge / brother [Mon, 23 Jan 2012 09:08:01 +0000 (10:08 +0100)] 
[l10n] Correcting an error in vi.po, setting stirng as fuzzy.

8 years agoCommit from LXDE Translation Project with Pootle by user tranduyhung.: 315 of 315...
tranduyhung [Mon, 23 Jan 2012 01:23:51 +0000 (03:23 +0200)] 
Commit from LXDE Translation Project with Pootle by user tranduyhung.: 315 of 315 messages translated (0 fuzzy).

8 years agoCommit from LXDE Translation Project with Pootle by user Jalakas.: 315 of 315 message...
Jalakas [Sun, 22 Jan 2012 17:10:51 +0000 (19:10 +0200)] 
Commit from LXDE Translation Project with Pootle by user Jalakas.: 315 of 315 messages translated (0 fuzzy).

8 years ago[l10n] Correcting invalid \n for be.po.
Martin Bagge / brother [Thu, 19 Jan 2012 20:22:08 +0000 (21:22 +0100)] 
[l10n] Correcting invalid \n for be.po.

8 years agoCommit from LXDE Translation Project with Pootle by user Mikalai.: 315 of 315 message...
Mikalai [Thu, 19 Jan 2012 18:34:18 +0000 (20:34 +0200)] 
Commit from LXDE Translation Project with Pootle by user Mikalai.: 315 of 315 messages translated (0 fuzzy).

8 years agoCommit from LXDE Translation Project with Pootle by user hironao.: 315 of 315 message...
hironao [Thu, 19 Jan 2012 05:33:46 +0000 (07:33 +0200)] 
Commit from LXDE Translation Project with Pootle by user hironao.: 315 of 315 messages translated (0 fuzzy).

8 years agoCommit from LXDE Translation Project with Pootle by user mbouzada.: 315 of 315 messag...
mbouzada [Wed, 18 Jan 2012 22:26:59 +0000 (00:26 +0200)] 
Commit from LXDE Translation Project with Pootle by user mbouzada.: 315 of 315 messages translated (0 fuzzy).

8 years agoCommit from LXDE Translation Project with Pootle by user mbouzada.: 315 of 315 messag...
mbouzada [Thu, 12 Jan 2012 12:29:26 +0000 (14:29 +0200)] 
Commit from LXDE Translation Project with Pootle by user mbouzada.: 315 of 315 messages translated (0 fuzzy).

8 years agoCommit from LXDE Translation Project with Pootle by user boobaloo.: 315 of 315 messag...
boobaloo [Tue, 10 Jan 2012 04:37:22 +0000 (06:37 +0200)] 
Commit from LXDE Translation Project with Pootle by user boobaloo.: 315 of 315 messages translated (0 fuzzy).

8 years agoCommit from LXDE Translation Project with Pootle by user hugo.: 315 of 315 messages...
hugo [Mon, 9 Jan 2012 15:11:49 +0000 (17:11 +0200)] 
Commit from LXDE Translation Project with Pootle by user hugo.: 315 of 315 messages translated (0 fuzzy).

8 years agoCommit from LXDE Translation Project with Pootle by user kizito.: 307 of 315 messages...
kizito [Mon, 9 Jan 2012 12:58:47 +0000 (14:58 +0200)] 
Commit from LXDE Translation Project with Pootle by user kizito.: 307 of 315 messages translated (0 fuzzy).

8 years agoCommit from LXDE Translation Project with Pootle by user klemenkosir.: 315 of 315...
klemenkosir [Sat, 7 Jan 2012 21:50:13 +0000 (23:50 +0200)] 
Commit from LXDE Translation Project with Pootle by user klemenkosir.: 315 of 315 messages translated (0 fuzzy).

8 years agoCommit from LXDE Translation Project with Pootle by user klemenkosir.: 310 of 315...
klemenkosir [Sat, 7 Jan 2012 20:35:50 +0000 (22:35 +0200)] 
Commit from LXDE Translation Project with Pootle by user klemenkosir.: 310 of 315 messages translated (5 fuzzy).

8 years agoCommit from LXDE Translation Project with Pootle by user Jalakas.: 315 of 315 message...
Jalakas [Fri, 6 Jan 2012 12:13:10 +0000 (14:13 +0200)] 
Commit from LXDE Translation Project with Pootle by user Jalakas.: 315 of 315 messages translated (0 fuzzy).

8 years agoCommit from LXDE Translation Project with Pootle by user zvacet.: 299 of 315 messages...
zvacet [Thu, 5 Jan 2012 23:21:59 +0000 (01:21 +0200)] 
Commit from LXDE Translation Project with Pootle by user zvacet.: 299 of 315 messages translated (0 fuzzy).

8 years agoCommit from LXDE Translation Project with Pootle by user mbouzada.: 315 of 315 messag...
mbouzada [Thu, 5 Jan 2012 16:16:21 +0000 (18:16 +0200)] 
Commit from LXDE Translation Project with Pootle by user mbouzada.: 315 of 315 messages translated (0 fuzzy).

8 years agoCommit from LXDE Translation Project with Pootle by user klemenkosir.: 315 of 315...
klemenkosir [Thu, 5 Jan 2012 15:12:06 +0000 (17:12 +0200)] 
Commit from LXDE Translation Project with Pootle by user klemenkosir.: 315 of 315 messages translated (0 fuzzy).

8 years agoCommit from LXDE Translation Project with Pootle by user smarquespt.: 315 of 315...
smarquespt [Thu, 5 Jan 2012 12:49:23 +0000 (14:49 +0200)] 
Commit from LXDE Translation Project with Pootle by user smarquespt.: 315 of 315 messages translated (0 fuzzy).

8 years agoCommit from LXDE Translation Project with Pootle by user smarquespt.: 315 of 315...
smarquespt [Thu, 5 Jan 2012 12:42:49 +0000 (14:42 +0200)] 
Commit from LXDE Translation Project with Pootle by user smarquespt.: 315 of 315 messages translated (0 fuzzy).

8 years agoCommit from LXDE Translation Project with Pootle by user Cilyan.: 315 of 315 messages...
Cilyan [Thu, 5 Jan 2012 11:45:20 +0000 (13:45 +0200)] 
Commit from LXDE Translation Project with Pootle by user Cilyan.: 315 of 315 messages translated (0 fuzzy).

8 years agoCommit from LXDE Translation Project with Pootle by user Yinghua_Wang.: 315 of 315...
Yinghua_Wang [Thu, 5 Jan 2012 10:17:23 +0000 (12:17 +0200)] 
Commit from LXDE Translation Project with Pootle by user Yinghua_Wang.: 315 of 315 messages translated (0 fuzzy).

8 years agoCommit from LXDE Translation Project with Pootle by user tranduyhung.: 315 of 315...
tranduyhung [Thu, 5 Jan 2012 10:12:04 +0000 (12:12 +0200)] 
Commit from LXDE Translation Project with Pootle by user tranduyhung.: 315 of 315 messages translated (0 fuzzy).

8 years agoCommit from LXDE Translation Project with Pootle by user knedlyk.: 313 of 315 message...
knedlyk [Wed, 4 Jan 2012 20:45:16 +0000 (22:45 +0200)] 
Commit from LXDE Translation Project with Pootle by user knedlyk.: 313 of 315 messages translated (1 fuzzy).

8 years agoCommit from LXDE Translation Project with Pootle by user mbouzada.: 315 of 315 messag...
mbouzada [Wed, 4 Jan 2012 18:36:21 +0000 (20:36 +0200)] 
Commit from LXDE Translation Project with Pootle by user mbouzada.: 315 of 315 messages translated (0 fuzzy).

8 years agoCommit from LXDE Translation Project with Pootle by user mbouzada.: 315 of 315 messag...
mbouzada [Wed, 4 Jan 2012 18:35:14 +0000 (20:35 +0200)] 
Commit from LXDE Translation Project with Pootle by user mbouzada.: 315 of 315 messages translated (0 fuzzy).

8 years agoCommit from LXDE Translation Project with Pootle by user Pjotr.: 315 of 315 messages...
Pjotr [Wed, 4 Jan 2012 18:08:58 +0000 (20:08 +0200)] 
Commit from LXDE Translation Project with Pootle by user Pjotr.: 315 of 315 messages translated (0 fuzzy).

8 years agoCommit from LXDE Translation Project with Pootle by user brother.: 315 of 315 message...
brother [Wed, 4 Jan 2012 16:34:20 +0000 (18:34 +0200)] 
Commit from LXDE Translation Project with Pootle by user brother.: 315 of 315 messages translated (0 fuzzy).

8 years ago[l10n] Resynchronize po files before call for translations.
Martin Bagge / brother [Wed, 4 Jan 2012 14:41:43 +0000 (15:41 +0100)] 
[l10n] Resynchronize po files before call for translations.

8 years ago[l10n] Change source files for translatable material.
Martin Bagge / brother [Wed, 4 Jan 2012 14:40:57 +0000 (15:40 +0100)] 
[l10n] Change source files for translatable material.

8 years ago[l10n] Adding started translation of Uyghur.
Martin Bagge / brother [Wed, 4 Jan 2012 14:35:07 +0000 (15:35 +0100)] 
[l10n] Adding started translation of Uyghur.

8 years ago[l10n] Adding left over trasnlations for he and ko
Martin Bagge / brother [Sun, 1 Jan 2012 22:59:35 +0000 (23:59 +0100)] 
[l10n] Adding left over trasnlations for he and ko

8 years agoCommit from LXDE Translation Project with Pootle by user mbouzada.: 264 of 264 messag...
mbouzada [Sat, 24 Dec 2011 11:59:58 +0000 (13:59 +0200)] 
Commit from LXDE Translation Project with Pootle by user mbouzada.: 264 of 264 messages translated (0 fuzzy).

8 years agoAdd indicator applet, turn off by default
Julien Lavergne [Sat, 31 Dec 2011 14:51:53 +0000 (15:51 +0100)] 
Add indicator applet, turn off by default

8 years agoAdd a way to launch external configuration program when using volume applet
Julien Lavergne [Sat, 31 Dec 2011 14:13:42 +0000 (15:13 +0100)] 
Add a way to launch external configuration program when using volume applet

8 years agoRemove default configuration patch in debian/, not needed in an upstream git
Julien Lavergne [Sat, 31 Dec 2011 14:11:39 +0000 (15:11 +0100)] 
Remove default configuration patch in debian/, not needed in an upstream git

8 years agoAdd more items to .gitignore
Julien Lavergne [Sat, 31 Dec 2011 14:11:01 +0000 (15:11 +0100)] 
Add more items to .gitignore

8 years agoAdd new lang in LINGUAS
Julien Lavergne [Sat, 31 Dec 2011 14:09:10 +0000 (15:09 +0100)] 
Add new lang in LINGUAS

8 years agoRemove 1 debian patch
Julien Lavergne [Fri, 30 Dec 2011 22:10:28 +0000 (23:10 +0100)] 
Remove 1 debian patch

8 years agothermal: use applyConfig() in the constructor
Henry Gebhardt [Fri, 30 Dec 2011 19:14:39 +0000 (20:14 +0100)] 
thermal: use applyConfig() in the constructor

The constructor needs to do the same work as applyConfig(), and doing it
twice has been a constant source of bugs.

8 years agothermal: be more careful in case th->sensor is NULL
Henry Gebhardt [Fri, 30 Dec 2011 18:44:38 +0000 (19:44 +0100)] 
thermal: be more careful in case th->sensor is NULL

th->sensor will be NULL when no sensor is found.

8 years agothermal: fix using custom or automatic warning levels, and set the get_functions
Henry Gebhardt [Fri, 30 Dec 2011 00:38:26 +0000 (01:38 +0100)] 
thermal: fix using custom or automatic warning levels, and set the get_functions

The constructor and applyConfig functions were using different semantics
for th->custom_levels. The dialog says "Automatic Warnings Levels",
which has the same meaning as "Not custom", hence rename the variable to
avoid future confusion, and use the same semantics in the two functions.
One could have used "auto_levels" instead, but since the configuration
uses the variable "CustomLevels", don't change that for a nice update
path.

Also, if automatic detection is used, the critical temperature as read
from the sensor needs to be updated. At the same time, the get_functions
may need updating, too, so do that as well.

8 years agothermal: Automatic sensor location also works for sysfs interface
Henry Gebhardt [Thu, 29 Dec 2011 23:40:27 +0000 (00:40 +0100)] 
thermal: Automatic sensor location also works for sysfs interface

8 years agobatt: Fix segmentation fault on resume from suspend-to-ram
Henry Gebhardt [Sat, 24 Dec 2011 13:10:34 +0000 (14:10 +0100)] 
batt: Fix segmentation fault on resume from suspend-to-ram

8 years agoFix type unsafety while opening plugin configuration dialogs
Henry Gebhardt [Sat, 24 Dec 2011 03:01:38 +0000 (04:01 +0100)] 
Fix type unsafety while opening plugin configuration dialogs

Sometimes not all options are shown in the configuration dialog of the
thermal plugin. Valgrind reported a "Conditional jump or move depends on
uninitialised value" when opening it (or a configurator dialog of any
plugin). This fixes this.

8 years agownckpager: fix plugin_class version
Henry Gebhardt [Fri, 23 Dec 2011 22:34:08 +0000 (23:34 +0100)] 
wnckpager: fix plugin_class version

8 years agoMake wnckpager a dynamic plugin.
Julien Lavergne [Wed, 22 Dec 2010 00:34:48 +0000 (01:34 +0100)] 
Make wnckpager a dynamic plugin.

Conflicts:

configure.ac

8 years agoAdd pager2 plugins, compatible with compiz (apply patch from ID 2802191)
Julien Lavergne [Tue, 21 Dec 2010 23:34:32 +0000 (00:34 +0100)] 
Add pager2 plugins, compatible with compiz (apply patch from ID 2802191)

Conflicts:

configure.ac

8 years agoAdd monitors plugin (apply patch from ID 3026608)
Julien Lavergne [Tue, 21 Dec 2010 23:15:41 +0000 (00:15 +0100)] 
Add monitors plugin (apply patch from ID 3026608)

8 years agoPrevent clipping button for taskbar (apply patch v2 from ID 2968307)
Henry Gebhardt [Fri, 23 Dec 2011 22:56:39 +0000 (23:56 +0100)] 
Prevent clipping button for taskbar (apply patch v2 from ID 2968307)

8 years agoAdd plugin by double-click (apply patch from ID 3029596)
Julien Lavergne [Tue, 21 Dec 2010 22:08:52 +0000 (23:08 +0100)] 
Add plugin by double-click (apply patch from ID 3029596)

8 years agoplugins/thermal: support both /proc and sysfs interfaces
Henry Gebhardt [Fri, 23 Dec 2011 20:02:53 +0000 (21:02 +0100)] 
plugins/thermal: support both /proc and sysfs interfaces

8 years agoAdded font size setting to Appearance preferences.
Lajos Kamocsay [Fri, 6 Aug 2010 13:33:49 +0000 (09:33 -0400)] 
Added font size setting to Appearance preferences.

From ID 3040600.

8 years agoCenter text in dClock (Apply patch from ID 3102621)
Julien Lavergne [Tue, 21 Dec 2010 21:43:13 +0000 (22:43 +0100)] 
Center text in dClock (Apply patch from ID 3102621)

8 years agoApply patch from ID 3103192
Julien Lavergne [Tue, 21 Dec 2010 21:41:12 +0000 (22:41 +0100)] 
Apply patch from ID 3103192

8 years agobatt: Fix low battery check
Henry Gebhardt [Fri, 23 Dec 2011 21:22:43 +0000 (22:22 +0100)] 
batt: Fix low battery check

8 years agobatt.c: Consistently indent 'update_display()'
Henry Gebhardt [Sat, 23 Oct 2010 20:41:18 +0000 (22:41 +0200)] 
batt.c: Consistently indent 'update_display()'

Also, declare 'isCharging' at the top of the function where everything
else is declared.

8 years agobatt.c: Don't modify battery struct outside of the batt_sys
Henry Gebhardt [Sat, 23 Oct 2010 18:57:27 +0000 (20:57 +0200)] 
batt.c: Don't modify battery struct outside of the batt_sys

8 years agobatt.c: Check NULL-pointer-derefernce before using it
Henry Gebhardt [Sat, 23 Oct 2010 16:20:47 +0000 (18:20 +0200)] 
batt.c: Check NULL-pointer-derefernce before using it

8 years agobatt_sys.c: Round percentage properly
Henry Gebhardt [Sun, 24 Oct 2010 11:35:15 +0000 (13:35 +0200)] 
batt_sys.c: Round percentage properly

This way when recharging is done, the figure doesn't hang at 99%, but
shows a nice 100%.

8 years agobatt_sys.c: Always set all values when reading from sysfs
Henry Gebhardt [Sat, 23 Oct 2010 20:47:52 +0000 (22:47 +0200)] 
batt_sys.c: Always set all values when reading from sysfs

This makes the following logic actually work, that expects the variables
for nonexistant sysfs files to be set to -1.

8 years agobattery plugin: Name variables the same as the sysfs files
Henry Gebhardt [Sat, 23 Oct 2010 13:59:31 +0000 (15:59 +0200)] 
battery plugin: Name variables the same as the sysfs files

This makes the code easier to follow without having to keep a mental map
of sysfs to local variable names.

8 years agobatt.c: Don't call 'battery_update()' redundantly on startup
Henry Gebhardt [Thu, 21 Oct 2010 11:17:46 +0000 (13:17 +0200)] 
batt.c: Don't call 'battery_update()' redundantly on startup

8 years agobatt_sys.c: Fix 'battery_print()'
Henry Gebhardt [Thu, 21 Oct 2010 02:58:58 +0000 (04:58 +0200)] 
batt_sys.c: Fix 'battery_print()'

It was changing the meaning of values in the battery struct, leading to
different behavior depending on whether it was used or not.

8 years agobatt_sys.c: Also try reading "power_now" from sysfs
Henry Gebhardt [Thu, 21 Oct 2010 00:54:27 +0000 (02:54 +0200)] 
batt_sys.c: Also try reading "power_now" from sysfs

This is what some batteries show instead of "present_rate".  This also
fixes a bug where 'present_rate' is set to 0, although it should be -1,
so it can be set properly by 'power_now'.

8 years agobatt_sys.c: Remove 'acpi_sys_get_battery_from_dir()'
Henry Gebhardt [Thu, 21 Oct 2010 00:47:34 +0000 (02:47 +0200)] 
batt_sys.c: Remove 'acpi_sys_get_battery_from_dir()'

I don't understand the reason for this function.  Its existance somewhat
obfuscates the code.

8 years agobatt_sys.c: Replace 'get_unit_value()' with 'atoi()'
Henry Gebhardt [Thu, 21 Oct 2010 00:41:04 +0000 (02:41 +0200)] 
batt_sys.c: Replace 'get_unit_value()' with 'atoi()'

The name 'get_unit_value()' is a bit unclear.  'atoi()' is a standard C
function, and very clear.  The error-checking of 'get_unit_value()'
didn't work anyway, because by dividing -1 through 1000 later the result
is always 0.

8 years agoRevert "Apply patch from Debian to fix battery plugin display"
Henry Gebhardt [Thu, 1 Dec 2011 22:31:46 +0000 (23:31 +0100)] 
Revert "Apply patch from Debian to fix battery plugin display"

This reverts commit de94a903895d258fa55ad351ab1d1a6b78186d92.

The patch allowed an occasional segmentation fault when the sysfs
"status" file was not available upon resume from suspend. The 'batt'
branch merged in the next commit fixes this.

8 years agoupdate TODO
Henry Gebhardt [Thu, 1 Dec 2011 22:29:22 +0000 (23:29 +0100)] 
update TODO

8 years ago.gitignore for data/ui/*.ui
Henry Gebhardt [Mon, 28 Nov 2011 22:09:32 +0000 (23:09 +0100)] 
.gitignore for data/ui/*.ui

8 years agoadd TODO list
Henry Gebhardt [Mon, 28 Nov 2011 21:44:10 +0000 (22:44 +0100)] 
add TODO list

8 years agoFix sizeof on 64 bits, thanks Richard Hirst for the fix
Julien Lavergne [Sat, 17 Dec 2011 11:12:51 +0000 (12:12 +0100)] 
Fix sizeof on 64 bits, thanks Richard Hirst for the fix

8 years agoCommit from LXDE Translation Project with Pootle by user mbouzada.: 264 of 264 messag...
mbouzada [Fri, 2 Dec 2011 12:50:50 +0000 (14:50 +0200)] 
Commit from LXDE Translation Project with Pootle by user mbouzada.: 264 of 264 messages translated (0 fuzzy).