aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Move callbacks to the beginning of the fileJavier Jardón2011-07-041-32/+32
|
* Construct the time details in a separate functionJavier Jardón2011-07-041-32/+48
|
* Build menu dynamicallyJavier Jardón2011-07-041-3/+2
|
* Add some more kind of devicesJavier Jardón2011-07-011-0/+12
| | | | | Bump upower required version to 0.9.5 because this
* Do not show the device name in the menu titleJavier Jardón2011-07-011-2/+2
|
* Activate the use of icons in the menuJavier Jardón2011-07-011-1/+6
|
* Use "Battery" instead "Laptop Battery"Javier Jardón2011-07-011-1/+1
|
* Return the correct accessible descriptionJavier Jardón2011-07-011-10/+21
|
* Use the short time string in the labelJavier Jardón2011-07-011-1/+7
|
* Get also a short time stringJavier Jardón2011-07-011-26/+36
| | | | | | | So we have: 1:45 for the label 1 hour 45 minutes for the detailed description
* Add device name to the labelJavier Jardón2011-07-011-41/+58
|
* Show the real information about the remaining charge timeJavier Jardón2011-06-301-10/+4
|
* Show the remaining time in the status icon depending of the check menu item ↵Javier Jardón2011-06-301-6/+18
| | | | status
* Remove "Icon Only" optionJavier Jardón2011-06-301-7/+1
| | | | | We always show a icon by default
* gnome-power-preferences has been moved to gnome-control-centerJavier Jardón2011-06-301-1/+1
| | | | | So call 'gnome-control-center power' instead
* Specify what icon we want to showJavier Jardón2011-06-301-1/+4
| | | | | | Seems that indicator_image_helper_update() is not smarter enough to handle the string retrieved from the g-p-m interface
* Update the icon, not create a new oneJavier Jardón2011-06-301-1/+2
|
* Fix default iconJavier Jardón2011-06-301-1/+1
|
* Use device_icon name consistentlyJavier Jardón2011-06-301-6/+4
|
* Change the status icon when the charge changesJavier Jardón2011-06-301-3/+8
|
* Make the check menu items look like a radio menu item.Javier Jardón2011-06-291-0/+2
|
* Add options to the indicator menuJavier Jardón2011-06-291-0/+21
| | | | | | | As discussed: - Icon only - Time remaining
* Show the power statistics when click on the device menu itemJavier Jardón2011-06-291-0/+14
|