aboutsummaryrefslogtreecommitdiff
path: root/src/notifier.c
Commit message (Collapse)AuthorAgeFilesLines
* fix bug introduced in previous commitCharles Kerr2014-07-251-0/+1
|
* in notify, reverse the numerical order of the now-private PowerLevel enum so ↵Charles Kerr2014-07-241-8/+10
| | | | that they have the more intuitive behavior of higher integer values meaning a better power level.
* on the bus, publish the battery's power_level as strings rather than intsCharles Kerr2014-07-241-25/+56
|
* in notifier.c, remove unnecessary middleman properties and deal with the ↵Charles Kerr2014-07-241-82/+7
| | | | dbus-battery properties directly.
* in notifier.c, fix potential callchain loop when closing a notificationCharles Kerr2014-07-241-26/+42
|
* in notifier, use G_DEFINE_TYPE_WITH_PRIVATECharles Kerr2014-07-241-28/+23
|
* remove redundant '#include glib', '#include gobject' callsCharles Kerr2014-07-241-1/+0
|
* check the return value of g_dbus_interface_skeleton_export() directly ↵Charles Kerr2014-07-241-5/+4
| | | | instead of indirectly testing to see if the GError it used is nonnull.
* don't set to zero fields in a struct that's been calloc()ed already.Charles Kerr2014-07-241-2/+0
|
* in notifier.c, don't keep pointers to the bindings around as they're cleaned ↵Charles Kerr2014-07-241-15/+11
| | | | up automatically when either of the objects is destroyed.
* remove instance_count from IndicatorPowerNotifierClassCharles Kerr2014-07-231-10/+8
|
* copyediting: slightly better comments.Charles Kerr2014-07-231-7/+8
|
* make the notifications click-to-dismiss by adding the 'interactive ↵Charles Kerr2014-07-231-0/+5
| | | | notification' hint
* copyeditingCharles Kerr2014-07-231-1/+0
|
* remove now-unused code that tests whether the Notify server supports actionsCharles Kerr2014-07-231-23/+0
|
* make the notification popup decision logic simpler & easier to readCharles Kerr2014-07-221-3/+5
|
* Filter out some redundant warnings -- e.g., don't notify when the power ↵Charles Kerr2014-07-221-4/+16
| | | | percentage drops from 10% to 9%, only when it crosses a PowerLevel threshold
* for now, only show Ephemeral notifications when the battery gets low.Charles Kerr2014-07-221-19/+9
|
* copyediting: code cleanupCharles Kerr2014-07-221-6/+12
|
* in notifier.c, use g_clear_object to unref the GBindingsCharles Kerr2014-07-211-2/+2
|
* add tests for events that change whether or not a 'low battery' notification ↵Charles Kerr2014-07-211-14/+9
| | | | is being shown
* add tests to confirm that the DBus object's PowerLevel property changes at ↵Charles Kerr2014-07-211-37/+55
| | | | the right times (and only at the right times) when the battery is draining
* copyeditingCharles Kerr2014-07-211-17/+20
|
* don't show clickable actions if the Notify server doesn't support them.Charles Kerr2014-07-211-17/+43
|
* fix build issuesCharles Kerr2014-07-211-5/+8
|
* remove DeviceProvider from NotifierCharles Kerr2014-07-211-144/+116
|
* second draft of low battery power notifications, still a work in progressCharles Kerr2014-07-211-65/+205
|
* add first draft of low battery notificationsCharles Kerr2014-07-161-0/+336