summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2019-03-23Add conf option to disable warnings for low mouse powerLaine Walker-Avina2-0/+11
On certain mice, they can last several weeks after the first warning on certain kinds of batteries which makes the constant notifications quite annoying.
2019-02-01use libtool generated during build instead of external onemonsta1-3/+3
2018-11-29gpm-control: avoid deprecated 'g_settings_list_schemas'Pablo Barciela1-2/+4
2018-11-27media-keys: always round the render coordinates for media iconsZhang Xianwei1-4/+4
This ensures the pixbuf is always rendered as crisp as possible. See https://github.com/GNOME/gnome-settings-daemon/commit/a03c072a8241d4d481ee94e5e1ffd829e85271f5 Signed-off-by: Zhang Xianwei <[email protected]>
2018-11-27media-keys: Tweak the OSD's bright bar positionZhang Xianwei1-4/+4
Move it down a little. Signed-off-by: Zhang Xianwei <[email protected]>
2018-11-27osd-window: make the window smallerZhang Xianwei1-2/+2
Matches the gnome's mockups better. Signed-off-by: Zhang Xianwei <[email protected]>
2018-11-27media-keys: Make icon smaller in OSDZhang Xianwei1-1/+1
Make the icon take up less space inside. Signed-off-by: Zhang Xianwei <[email protected]>
2018-11-27media-keys: Use constant for icon size in OSDZhang Xianwei1-4/+6
Signed-off-by: Zhang Xianwei <[email protected]>
2018-08-13gpm-kbd-backlight: replace deprecated GDK_DEVICE_MANAGERraveit651-10/+10
2018-08-13gpm-backlight: replace deprecated GDK_DEVICE_MANAGERraveit651-10/+10
2018-08-13gpm-button: replace deprecated Gdk functionsraveit651-3/+5
2018-08-13gpm-brightness: replace deprecated Gdk functionsraveit651-8/+11
2018-03-17add missing window icon to About dialogsmonsta1-0/+1
2018-02-12Scale OSD size correctly on HiDPI displays (#246)Victor Kareh1-5/+10
2018-02-01avoid deprecated GtkStockPablo Barciela1-1/+1
2018-01-29require GTK+ 3.22 and GLib 2.50monsta5-42/+1
and drop additional checks for min/max GLib versions, it's not needed
2018-01-09update copyright year to 2018monsta1-1/+1
2017-12-08WidthOfScreen and HeightOfScreen implementationPablo Barciela1-7/+3
This commit reverts: https://github.com/mate-desktop/mate-power-manager/commit/f748d5794f02d02ba949ad1503ed72207efca40c And it applies an alternative to fix the deprecated functions: gdk_screen_get_width gdk_screen_get_height
2017-11-28fix typos in some more commentsmonsta2-4/+4
2017-10-05update copyright yearmonsta1-1/+1
2017-08-24gtk 3.22: avoid deprecated gdk_screen_get_monitor... functions:ZenWalker2-0/+24
avoid deprecated: gdk_screen_get_monitor_geometry gdk_screen_get_monitor_at_point
2017-08-16don't abort on unknown DBus signal namemonsta1-1/+1
it's external data, so it's not very clever to put assert on it same as done in: https://github.com/mate-desktop/mate-panel/commit/40b31b2117f8a1776d2f23d97c60547c3c5a70e4
2017-08-08avoid deprecated gdk_screen_get_width/heightZenWalker1-2/+7
2017-07-28avoid deprecated gdk_display_get_screenZenWalker1-24/+18
2017-07-26don't use deprecated gtk_show_uriraveit652-0/+10
use NULL where GdkScreen was NULL, use dialog when screen wasn't NULL
2017-07-05refresh tray icon on icon theme changemonsta1-0/+23
2017-03-07Replace deprecated UPower functions with ConsoleKit2 equivalentsinfirit4-23/+139
This requires ConsoleKit2 0.9.2. + some corrections for issues mentioned at https://github.com/mate-desktop/mate-power-manager/pull/209
2017-03-07remove some unused dbus-glib includesmonsta4-5/+0
2017-03-07use proper return type and fix a small memleakmonsta1-2/+4
2017-03-03add some missing variable initializationsmonsta1-2/+2
2017-02-01build: require xproto >= 7.0.15 and simplify some codemonsta1-6/+1
2017-01-18Merge pull request #153 from mpottage/masterMartin Wimpress1-4/+8
Check both the "Backlight" and "BACKLIGHT" xrandr properties.
2017-01-18Check both the "Backlight" and "BACKLIGHT" xrandr properties for a backlight.Matthew Pottage1-4/+8
Added checking the "Backlight" property. "BACKLIGHT" appears to be the legacy property. This resolves an issue where xbacklight can change the backlight, but mate-power-manager can't.
2017-01-07statistics: don't call upower function on a NULL device pathmonsta1-0/+4
fixes https://github.com/mate-desktop/mate-power-manager/issues/139
2016-12-25Brightness: fix OSD rendering when not compositedlukefromdc1-2/+2
Also add style class msd-osd-window-solid, same as mate-settings-daemon volume control. Based on https://github.com/mate-desktop/mate-settings-daemon/commit/5d580b9985b61a486c8d23eaa34091a14d01b9e0 and https://github.com/mate-desktop/mate-settings-daemon/commit/9aa4c4e379e71ebe8436898a3af61c4c96c9cc8a
2016-11-22move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta16-808/+5
and require mate-panel >= 1.17
2016-11-21fix indent a bitmonsta5-5/+5
2016-11-21add missing #includemonsta1-0/+2
2016-08-01update CFLAGS and LIBS, MATE to CAIROraveit651-5/+5
2016-08-01Port from libunique to GtkApplicationMatt Spaulding5-29/+138
2016-07-25remove dbus-monitor from tests in make fileraveit651-2/+0
2016-07-25remove egg-dbus-proxy and use the provided functions in GDBusraveit654-365/+28
taken from: https://git.gnome.org/browse/gnome-power-manager/commit/?id=ae6370d
2016-07-25Assign names to our idle sources when using newer versions of glib2raveit655-7/+23
This makes it possible to profile more accurately using systemtap taken from: https://git.gnome.org/browse/gnome-power-manager/commit/?id=fbb075b5
2016-07-25Show the primary device time remaining as the first entry in the context menuraveit653-0/+83
taken from: https://git.gnome.org/browse/gnome-power-manager/commit/?id=93da9b4
2016-07-25Do not issue a console warning when laptop batteries are emptyraveit651-0/+6
inspired from: https://git.gnome.org/browse/gnome-power-manager/commit/?id=65752cc
2016-07-25allow non-battery devices to be used for gpm_engine_update_composite_device()raveit651-2/+14
https://git.gnome.org/browse/gnome-power-manager/commit/?id=2828891 https://git.gnome.org/browse/gnome-power-manager/commit/?id=9b4825b
2016-07-25Reorganize the tray icon code to make it easier for AppIndicatorraveit651-20/+35
support to be patched in taken from: https://git.gnome.org/browse/gnome-power-manager/commit/?id=9786241
2016-07-25Add a ::devices-changed signal to GpmEngine that helper code may wantraveit652-0/+11
taken from: https://git.gnome.org/browse/gnome-power-manager/commit/?id=f706110
2016-07-25trivial: provide some text for devices that are not present in ↵raveit651-3/+6
gpm_upower_get_device_summary() taken from: https://git.gnome.org/browse/gnome-power-manager/commit/?id=215f683
2016-07-25fix code madnessraveit651-2/+0