summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2020-08-04Remove trailing spaces/tabsrbuj4-7/+7
find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 's/[[:space:]]*$//' {} \; find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 's/\t*$//' {} \;
2020-07-12gpm-kbd-backlight: Remove unused functionsrbuj1-100/+0
2020-07-08Remove unused variable from gpm_notebook_scroll_event_cbrbuj4-39/+37
2020-06-25Add git.mk to generate .gitignoretamplan1-0/+1
2020-05-25gpm-kbd-backlight: do not change keyboard back-light, when disabledAndrej Valek1-9/+16
Automatically change keyboard back-light only when enabled on battery. Keep previous brightness level between state change. Signed-off-by: Andrej Valek <[email protected]>
2020-04-01gpm-phone: silent "not connected" message unless debugraveit651-1/+1
Debug message is modified to something identifiable
2020-03-31gpm-brightness: silent "using cache for value" message unless debugraveit651-1/+1
2020-03-25Remove warning: ‘GTimeVal’ is deprecatedrbuj1-5/+3
2020-03-14gpm-backlight: silent "no dimming hardware" message unless debugrbuj1-1/+1
2020-03-11gpm-control: warning when a property cannot be set using dbusrbuj1-6/+6
2020-03-10glib-genmarshal: replace deprecated tokens NONE and BOOLrbuj1-15/+15
2020-03-09Remove warning function declaration isn’t a prototyperbuj1-1/+1
2020-03-09Port from EggDebug to the built-in GLib logging frameworkrbuj31-840/+395
2020-03-08gpm-manager: Remove dereference of a null pointer warningrbuj1-13/+17
2020-03-07Remove warning use of memory after it is freedrbuj1-1/+1
2020-03-07Rewrite gpm-prefs.ui from scratchrbuj1-130/+80
2020-03-03Remove warnings: unused variablerbuj4-5/+0
2020-02-27Read authors (updated) from mate-power-manager.aboutrbuj2-7/+39
2020-02-24Remove the CPU wakeups featurerbuj1-374/+4
2020-02-20Update 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