aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* when a new entry is added, ensure that its accessible_string is properly setCharles Kerr2012-02-221-10/+37
|
* fix trivial indentation errorCharles Kerr2012-02-221-1/+1
|
* fix trivial misspellingCharles Kerr2012-02-221-16/+16
|
* fix set_accessible_desc() to update the entries' accessible_desc fields and ↵Charles Kerr2012-02-221-6/+17
| | | | emit the accessible-desc-changed signal
* register for g-properties-changed rather than g-signalCharles Kerr2012-02-161-19/+15
|
* Use G_GNUC_CONST for indicator_power_get_type() to improve performanceJavier Jardón2012-02-141-1/+1
|
* Code style fixesJavier Jardón2012-02-141-16/+19
|
* ensure that we don't have a reference to the proxy or proxy_cancel fields in ↵Charles Kerr2012-02-131-0/+3
| | | | indicator_power_dispose().
* move POWER_INDICATOR_ICON_POLICY_* enum to the top of the fileCharles Kerr2012-02-131-6/+6
|
* remove unncessary private field 'visible'Charles Kerr2012-02-131-12/+3
|
* consistent use of ICON_POLICY_KEYCharles Kerr2012-02-131-1/+1
|
* remove unnecessary G_OBJECT() castCharles Kerr2012-02-131-1/+1
|
* make prototypes for update_visibility() and should_be_visible() align with ↵Charles Kerr2012-02-131-2/+2
| | | | the neighboring forward declarations
* add support for icon-policy settingCharles Kerr2012-02-011-13/+116
|
* create the menu at init time s.t. we don't have to keep checking to see if ↵Charles Kerr2012-02-011-4/+3
| | | | it exists
* use g_settings_bind() for the show-time checkboxCharles Kerr2012-02-011-16/+4
|
* better error reporting if g_spawn_command_line_async() failsCharles Kerr2012-02-011-8/+11
|
* remove redundant #include of glib.hCharles Kerr2012-02-011-1/+0
|
* use g_clear_object() on the proxy_cancel fieldCharles Kerr2012-02-011-5/+1
|
* remove unnecessary Priv struct -- the =entire class= is privateCharles Kerr2012-02-011-84/+56
|
* remove unused struct namesCharles Kerr2012-02-011-19/+13
|
* group the indicator_power lifecycle funcs togetherCharles Kerr2012-02-011-59/+61
|
* unref+clear Priv's variant fields in _dispose()Charles Kerr2012-02-011-6/+15
|
* don't leak priv->settingsCharles Kerr2012-02-011-0/+4
|
* don't leak priv->accessible_descCharles Kerr2012-02-011-1/+5
|
* remove redundant prototypesCharles Kerr2012-02-011-2/+0
|
* Add name-hint.Marco Trevisan (Treviño)2011-11-081-0/+8
| | | | Using the defined PACKAGE_NAME value.
* Do not hardcode icon percentage when dischargingJavier Jardón2011-10-131-2/+17
|
* Add support for old name iconsJavier Jardón2011-10-131-0/+5
|
* Fix icon creation for UP_DEVICE_STATE_CHARGING stateJavier Jardón2011-10-131-2/+2
|
* Only show a red icon when we have less than 30 minutes of battery remainigJavier Jardón2011-10-041-30/+59
| | | | | Fixes https://bugs.launchpad.net/indicator-power/+bug/743823
* Use battery-with-a-plug when the batttery is fully charged but still on ACJavier Jardón2011-10-031-4/+14
| | | | | Fixes https://bugs.launchpad.net/indicator-power/+bug/865342
* 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
|