aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Show non present batteries in the menuJavier Jardón2011-10-031-5/+0
|
* Add a workaround to fix the case when we get a empty bay as a real batteryJavier Jardón2011-10-021-2/+12
|
* Do not activate g-s-d, but just watch dbus for g-s-d to appearJavier Jardón2011-09-211-11/+31
| | | | | Fixes https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/854717
* Do not show (charged) in menu title when fully chargedJavier Jardón2011-09-141-1/+1
| | | | | Fixes https://bugs.launchpad.net/ubuntu/+source/indicator-power/+bug/850011
* Fix a gap in the indicators region when the power indicator is not showJavier Jardón2011-09-121-0/+1
| | | | | This fixes https://bugs.launchpad.net/indicator-power/+bug/842188
* Use the same icon for all charge levels if we are in the charging statusJavier Jardón2011-09-121-2/+37
| | | | | | | | | | | | From the designers (see bug comments): "I think the shading inside the battery when charging is obscuring the lightning bolt, and also giving the icon a visual style that is obviously different from the text and discourages "reading" it together with the text. So, I suggest leaving the brackets in place, but removing the shading from the icon. Fixes https://bugs.launchpad.net/indicator-power/+bug/824629
* Use correct dgettext and g_dngettext calls. LP: #846895Gabor Kelemen2011-09-111-15/+15
|
* Handle the case with broken batteriesJavier Jardón2011-09-081-0/+5
| | | | | | The remining time is not reported with is more than 100h. This generally means that our battery is broken (never reach a fully charged status)
* indicator-power.c: Add padding between the icon and the text in the menu itemsJavier Jardón2011-09-071-1/+1
|
* Use consistent location for gsettings schemaJavier Jardón2011-08-251-1/+1
| | | | | Use the same location as indicator-datetime
* Fix a memory leakJavier Jardón2011-08-241-1/+2
| | | | | Fixes https://bugs.launchpad.net/ubuntu/+source/indicator-power/+bug/779185
* Use gsettings to store the status of "Show time in Menu Bar" optionJavier Jardón2011-08-221-1/+15
| | | | | Fixes https://bugs.launchpad.net/indicator-power/+bug/829853
* Follow standard alignment of icons in menusJavier Jardón2011-08-221-4/+13
| | | | | Fixes https://bugs.launchpad.net/ubuntu/+source/indicator-power/+bug/829697
* Do not use a space before an ellipsis at the end of a string.Javier Jardón2011-08-221-1/+1
|
* Do not show the default icon by defaultJavier Jardón2011-08-121-1/+0
| | | | | | Show the icon can cause problems in machines with no power devices as the icon will not be updated
* Free memory in the correct placeJavier Jardón2011-08-121-3/+3
|
* Show time left to use without brackets, time left to charge with brackets.Javier Jardón2011-08-121-3/+3
| | | | | Fixes bug http://bugs.launchpad.net/indicator-power/+bug/824629
* Fix some memory leaksJavier Jardón2011-08-111-0/+8
|
* Don't show settings links when used in a greeterMichael Terry2011-08-111-20/+30
|\
| * don't show settings links when used in a greeterMichael Terry2011-08-031-20/+30
| |
* | Use a string when the energy source is not presentJavier Jardón2011-08-111-1/+7
| | | | | | | | | | Use "not present" instead "0%"
* | Only batteries can be primary devicesJavier Jardón2011-08-111-0/+4
| | | | | | | | | | So only batteries status icons are allowed in the menu title
* | Fix some memory leaksJavier Jardón2011-08-111-0/+6
|/
* Do not support the gnome-power-manager dbus interface anymoreJavier Jardón2011-08-031-7/+0
| | | | | The interface was removed upstream and moved to gnome-settings-daemon
* Do not draw a separator between the configuration options in the menuJavier Jardón2011-07-181-5/+1
|
* Use the new D-Bus interface if gnome-settings-daemon is new enoughJavier Jardón2011-07-181-3/+15
| | | | | | Prepare the indicator-power about the changes upstream, where the code from gnome-power-manager is being moved to gnome-settings-daemon
* Always select a device, doesnt matter Its charging/discharging or notJavier Jardón2011-07-151-3/+4
| | | | | Fixes https://bugs.launchpad.net/ubuntu/+source/indicator-power/+bug/810872
* Do not show the device name in the menu titleJavier Jardón2011-07-141-1/+1
|
* Show "X (charged)" if it is fully charged and not dischargingJavier Jardón2011-07-141-7/+16
|
* Only show the remaining time if it is discharging with less than 12 hours leftJavier Jardón2011-07-141-5/+13
|
* Refine the text of the items in the menu to follow the specificationJavier Jardón2011-07-141-8/+16
| | | | | | | | | - "X (H:MM to charge)" if it is charging, with the accessible name "X: MM minutes to charge" or "X: H hours MM minutes to charge" - "X (H:MM left)" if it is discharging with less than 12 hours left,x with the accessible name "X: MM minutes left" or "X: H hours MM minutes left".
* Draw option checkbox as check, not radioMichael Terry2011-07-141-1/+0
|\
| * draw option checkbox as check, not radioMichael Terry2011-07-131-1/+0
| |
* | Show the apropiate icon depending of the status of the devicesJavier Jardón2011-07-141-2/+40
|/ | | | | | | | | | Follow https://wiki.ubuntu.com/BatteryStatusMenu : - If anything is discharging, the menu title should represent the thing that is estimated to lose power first. - If no devices are discharging, the menu title should represent the device that is estimated to take longest to charge.
* Create new function to store the logic to put the primary deviceJavier Jardón2011-07-131-31/+36
|
* Do not use indicator_image_helper()Javier Jardón2011-07-071-13/+17
| | | | | In GTK3 it can support fallbacks in GtkImage
* Add support for multiple devices in the menuJavier Jardón2011-07-071-13/+35
|
* Get all the available devices instead the primary oneJavier Jardón2011-07-071-12/+58
| | | | | | | | | Get all the devices with the "GetDevices" dbus call. Do not use "GetPrimaryDevice" as this is really a private api for the communication between gpm and gnome-shell Also, we avoid a bug in the "GetPrimaryDevice" interface about no power device is detected when AC power is connected to the laptop.
* Use the 'missing' icon instead the 'empty' icon by defaultJavier Jardon2011-07-061-1/+1
|
* Always show 2 digits for the minutesJavier Jardon2011-07-051-2/+2
|
* Fix typoJavier Jardon2011-07-051-1/+1
|
* Use a bigger icon for the menu itemsJavier Jardon2011-07-051-1/+1
|
* Use the correct string for the menu item iconJavier Jardon2011-07-051-1/+4
|
* Do not create a new GtkMenu instance with every changeJavier Jardon2011-07-051-1/+6
| | | | | But remove the children and rebuild the menu again so Its up-to-date
* Do not use the notify:visible signal to update the menuJavier Jardon2011-07-051-13/+0
|
* Remove debug outputJavier Jardón2011-07-051-3/+1
|
* Store the current device in the private structureJavier Jardón2011-07-051-11/+3
|
* notify signalJavier Jardón2011-07-051-0/+13
|
* Add real info in the menu itemJavier Jardón2011-07-041-10/+61
|
* Rebuild menu when there is a change in the DBUS interfaceJavier Jardón2011-07-041-51/+53
|