aboutsummaryrefslogtreecommitdiff
path: root/src/notifier.c
Commit message (Collapse)AuthorAgeFilesLines
* Drop unnecessary dependency on Ubuntu's url-dispatcher.Mike Gabriel2015-11-121-11/+0
|
* Fork from Ubuntu's indicator-power code project.Mike Gabriel2015-11-121-5/+5
|
* r273 tried to fix the blocking bug listed at ↵Charles Kerr2014-10-141-42/+32
| | | | http://paste.ubuntu.com/8562226/, but in the process introduced a new bug that manifested in RTM. This removes r273 and uses a different fix.
* fix notify get-capabilities startup blocking bug found in testingCharles Kerr2014-10-141-18/+38
|
* confirmation buttons should be green, so add the 'affirmative-tint' hint for ↵Charles Kerr2014-10-071-0/+1
| | | | the OK button.
* use a string for unity-notification's boolean types.Charles Kerr2014-10-071-2/+2
|
* sync with lp-1330037-add-upower-099-support to resolve merge conflictsCharles Kerr2014-09-081-4/+4
|
* in notifier's snap decisions, distinguish in the title between low battery ↵Charles Kerr2014-09-081-3/+11
| | | | and critical battery
* in notifier.c, don't call notify_get_server_caps() if notify_init() failed.Charles Kerr2014-09-081-8/+11
|
* in notifier.c, reverse the order in which we add the actions so they'll look ↵Charles Kerr2014-09-081-1/+1
| | | | right on the phone
* on phone, add nonexpiring snap-decision popup on low battery events.Charles Kerr2014-09-081-3/+50
|
* in notify.c, improve the logic for when to tear down a notificationCharles Kerr2014-07-251-1/+1
|
* disable the notification's interactive hint for nowCharles Kerr2014-07-251-1/+1
|
* 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