summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2020-03-15glib-genmarshal: replace deprecated tokens NONE and BOOLrbuj1-15/+15
2020-02-27Read authors (updated) from mate-power-manager.aboutrbuj2-7/+39
2020-02-24Remove the CPU wakeups featurerbuj1-374/+4
2020-02-24Update copyright year on about dialogrbuj1-1/+1
2019-09-30Use WARN_CFLAGS which are only set with -enable-compiler-warningsrbuj1-14/+18
MATE_COMPILE_WARNINGS is present in configure.ac but WARN_CFLAGS variable is not used. git grep WARN_CFLAGS It removes -enable-extra-warn=yes, since it is recommended to use -enable-compile-warnings=maximum. It sets -enable-compiler-warnings=yes, the default value for all MATE packager for now. It prints WARN_CFLAGS in summary table.
2019-09-26drop obsolete version checks for upowerraveit657-467/+2
with required version bump to upower-0.99.8 we don't need them any more.
2019-09-26Use up_client_get_devices2()raveit653-3/+3
The previous code would have leaked all the UpDevice objects because no free function was set on the returned GPtrArray. With depending on upower-glib 0.99.8 get_devices() was deprecated and get_devices2() was introduced, we can simply switch to get_devices2() which does set a free function on the returned GPtrArray, stopping the leak. Inspired from: https://gitlab.gnome.org/GNOME/gnome-control-center/commit/c1210c5 see upower upstream: https://gitlab.freedesktop.org/upower/upower/commit/cb1071b
2019-08-20Use gresources for gpm-prefs.ui and gpm-statistics.uirbuj4-10/+32
2019-08-20egg-console-kit: avoid 'g_type_class_add_private'Pablo Barciela1-5/+4
2019-08-20gpm-engine: avoid 'g_type_class_add_private'Pablo Barciela1-5/+3
2019-08-20gpm-phone: avoid 'g_type_class_add_private'Pablo Barciela1-6/+3
2019-08-20gpm-prefs-core: avoid 'g_type_class_add_private'Pablo Barciela1-6/+3
2019-08-20gpm-screensaver: avoid 'g_type_class_add_private'Pablo Barciela1-7/+3
2019-08-20gsd-media-keys-window: avoid 'g_type_class_add_private'Pablo Barciela1-6/+2
2019-08-20gpm-tray-icon: avoid 'g_type_class_add_private'Pablo Barciela1-5/+2
2019-08-20msd-osd-window: avoid 'g_type_class_add_private'Pablo Barciela1-6/+2
2019-08-20gpm-load: avoid 'g_type_class_add_private'Pablo Barciela1-5/+2
2019-08-20gpm-brightness: avoid 'g_type_class_add_private'Pablo Barciela1-5/+3
2019-08-20gpm-manager: avoid 'g_type_class_add_private'Pablo Barciela1-4/+2
2019-08-20gpm-kbd-backlight: avoid 'g_type_class_add_private'Pablo Barciela1-6/+2
2019-08-20gpm-dpms: avoid 'g_type_class_add_private'Pablo Barciela1-6/+2
2019-08-20gpm-button: avoid 'g_type_class_add_private'Pablo Barciela1-6/+3
2019-08-20gpm-backlight: avoid 'g_type_class_add_private'Pablo Barciela1-6/+2
2019-08-20egg-idletime: avoid 'g_type_class_add_private'Pablo Barciela1-6/+3
2019-08-20gpm-graph-widget: avoid 'g_type_class_add_private'Pablo Barciela1-5/+3
2019-08-20gpm-session: avoid 'g_type_class_add_private'Pablo Barciela1-6/+3
2019-08-20gpm-idle: avoid 'g_type_class_add_private'Pablo Barciela1-6/+2
2019-08-20gpm-control: avoid 'g_type_class_add_private'Pablo Barciela1-6/+2
2019-07-24gpm-upower: fix some build warningsraveit651-1/+1
``` gpm-upower.c:222:51: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] gpm-upower.c:222:44: note: add parentheses around left hand side expression to silence this warning 222 | if (state == UP_DEVICE_STATE_CHARGING || !state == UP_DEVICE_STATE_DISCHARGING) { | ^~~~~~ ``` ``` gpm-upower.c:222:53: warning: comparison of constant '2' with boolean expression is always false [-Wbool-compare] 222 | if (state == UP_DEVICE_STATE_CHARGING || (!state) == UP_DEVICE_STATE_DISCHARGING) { | ```
2019-07-10Add scroll interface tabs with mouse wheelLaurent Napias4-22/+98
in preferences and gpm-statistics (mouse-battery)
2019-06-10Change url projet's websiteLaurent Napias1-1/+1
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