Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add a 'hello world' test for instantiating IndicatorPower | Charles Kerr | 2012-05-24 | 1 | -40/+1 |
| | |||||
* | replace 'Power Settings...' with 'Power Settings…' | Charles Kerr | 2012-05-23 | 1 | -1/+1 |
| | |||||
* | tweak: in put_primary_device(), peek at the variant's strings instead of ↵ | Charles Kerr | 2012-04-15 | 1 | -5/+3 |
| | | | | dup'ing them | ||||
* | sync with lp:indicator-power | Charles Kerr | 2012-04-15 | 1 | -3/+10 |
|\ | |||||
| * | use atk_object_set_name(foo,bar)" instead of ↵ | Charles Kerr | 2012-04-09 | 1 | -1/+1 |
| | | | | | | | | g_object_set(foo,"accessible-name",bar,NULL)" | ||||
| * | leak fix 3 of 3: don't leak the GIcons returned by get_device_icon() | Charles Kerr | 2012-04-09 | 1 | -0/+2 |
| | | |||||
| * | leak fix 2 of 3: fix leaky fallback GIcon in get_device_icon() | Charles Kerr | 2012-04-09 | 1 | -3/+4 |
| | | |||||
| * | leak fix 1 of 3: don't leak object_path and device_icon if kind == ↵ | Charles Kerr | 2012-04-09 | 1 | -6/+4 |
| | | | | | | | | UP_DEVICE_KIND_LINE_POWER | ||||
| * | if possible, set the device menuitems' accessible names. | Charles Kerr | 2012-04-09 | 1 | -0/+4 |
| | | |||||
* | | fix leaked strings in menu_add_device when (kind == UP_DEVICE_KIND_LINE_POWER) | Charles Kerr | 2012-04-15 | 1 | -6/+4 |
| | | |||||
* | | Fix memory leaks in get_primary_device(). | Charles Kerr | 2012-03-17 | 1 | -32/+28 |
| | | | | | | | | | | | | | | 1. All the calls to g_variant_get_child_value() were leaked. Fixed by changing the use to g_variant_get_child() and keeping index values of the interesting children instead of pointers to them. 2. There were several paths where the local string "object_path" and "device_icon" were leaked. (For example, any non-battery entry given to us by upower). Fixed by making these const strings and peeking them from the variant with "&s" instead of "s". | ||||
* | | Fix variant leak in count_batteries() -- the returned value of ↵ | Charles Kerr | 2012-03-17 | 1 | -0/+2 |
| | | | | | | | | g_variant_get_child_value() needs to be freed with g_variant_unref() when we're done with it. | ||||
* | | fix variant leaks in menu_add_devices() | Charles Kerr | 2012-03-17 | 1 | -2/+2 |
|/ | |||||
* | when a new entry is added, ensure that its accessible_string is properly set | Charles Kerr | 2012-02-22 | 1 | -10/+37 |
| | |||||
* | fix trivial indentation error | Charles Kerr | 2012-02-22 | 1 | -1/+1 |
| | |||||
* | fix trivial misspelling | Charles Kerr | 2012-02-22 | 1 | -16/+16 |
| | |||||
* | fix set_accessible_desc() to update the entries' accessible_desc fields and ↵ | Charles Kerr | 2012-02-22 | 1 | -6/+17 |
| | | | | emit the accessible-desc-changed signal | ||||
* | register for g-properties-changed rather than g-signal | Charles Kerr | 2012-02-16 | 1 | -19/+15 |
| | |||||
* | Use G_GNUC_CONST for indicator_power_get_type() to improve performance | Javier Jardón | 2012-02-14 | 1 | -1/+1 |
| | |||||
* | Code style fixes | Javier Jardón | 2012-02-14 | 1 | -16/+19 |
| | |||||
* | ensure that we don't have a reference to the proxy or proxy_cancel fields in ↵ | Charles Kerr | 2012-02-13 | 1 | -0/+3 |
| | | | | indicator_power_dispose(). | ||||
* | move POWER_INDICATOR_ICON_POLICY_* enum to the top of the file | Charles Kerr | 2012-02-13 | 1 | -6/+6 |
| | |||||
* | remove unncessary private field 'visible' | Charles Kerr | 2012-02-13 | 1 | -12/+3 |
| | |||||
* | consistent use of ICON_POLICY_KEY | Charles Kerr | 2012-02-13 | 1 | -1/+1 |
| | |||||
* | remove unnecessary G_OBJECT() cast | Charles Kerr | 2012-02-13 | 1 | -1/+1 |
| | |||||
* | make prototypes for update_visibility() and should_be_visible() align with ↵ | Charles Kerr | 2012-02-13 | 1 | -2/+2 |
| | | | | the neighboring forward declarations | ||||
* | add support for icon-policy setting | Charles Kerr | 2012-02-01 | 1 | -13/+116 |
| | |||||
* | create the menu at init time s.t. we don't have to keep checking to see if ↵ | Charles Kerr | 2012-02-01 | 1 | -4/+3 |
| | | | | it exists | ||||
* | use g_settings_bind() for the show-time checkbox | Charles Kerr | 2012-02-01 | 1 | -16/+4 |
| | |||||
* | better error reporting if g_spawn_command_line_async() fails | Charles Kerr | 2012-02-01 | 1 | -8/+11 |
| | |||||
* | remove redundant #include of glib.h | Charles Kerr | 2012-02-01 | 1 | -1/+0 |
| | |||||
* | use g_clear_object() on the proxy_cancel field | Charles Kerr | 2012-02-01 | 1 | -5/+1 |
| | |||||
* | remove unnecessary Priv struct -- the =entire class= is private | Charles Kerr | 2012-02-01 | 1 | -84/+56 |
| | |||||
* | remove unused struct names | Charles Kerr | 2012-02-01 | 1 | -19/+13 |
| | |||||
* | group the indicator_power lifecycle funcs together | Charles Kerr | 2012-02-01 | 1 | -59/+61 |
| | |||||
* | unref+clear Priv's variant fields in _dispose() | Charles Kerr | 2012-02-01 | 1 | -6/+15 |
| | |||||
* | don't leak priv->settings | Charles Kerr | 2012-02-01 | 1 | -0/+4 |
| | |||||
* | don't leak priv->accessible_desc | Charles Kerr | 2012-02-01 | 1 | -1/+5 |
| | |||||
* | remove redundant prototypes | Charles Kerr | 2012-02-01 | 1 | -2/+0 |
| | |||||
* | Add name-hint. | Marco Trevisan (Treviño) | 2011-11-08 | 1 | -0/+8 |
| | | | | Using the defined PACKAGE_NAME value. | ||||
* | Do not hardcode icon percentage when discharging | Javier Jardón | 2011-10-13 | 1 | -2/+17 |
| | |||||
* | Add support for old name icons | Javier Jardón | 2011-10-13 | 1 | -0/+5 |
| | |||||
* | Fix icon creation for UP_DEVICE_STATE_CHARGING state | Javier Jardón | 2011-10-13 | 1 | -2/+2 |
| | |||||
* | Only show a red icon when we have less than 30 minutes of battery remainig | Javier Jardón | 2011-10-04 | 1 | -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 AC | Javier Jardón | 2011-10-03 | 1 | -4/+14 |
| | | | | | Fixes https://bugs.launchpad.net/indicator-power/+bug/865342 | ||||
* | Show non present batteries in the menu | Javier Jardón | 2011-10-03 | 1 | -5/+0 |
| | |||||
* | Add a workaround to fix the case when we get a empty bay as a real battery | Javier Jardón | 2011-10-02 | 1 | -2/+12 |
| | |||||
* | Do not activate g-s-d, but just watch dbus for g-s-d to appear | Javier Jardón | 2011-09-21 | 1 | -11/+31 |
| | | | | | Fixes https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/854717 | ||||
* | Do not show (charged) in menu title when fully charged | Javier Jardón | 2011-09-14 | 1 | -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 show | Javier Jardón | 2011-09-12 | 1 | -0/+1 |
| | | | | | This fixes https://bugs.launchpad.net/indicator-power/+bug/842188 |