summaryrefslogtreecommitdiff
path: root/src/gpm-statistics.c
AgeCommit message (Collapse)AuthorFilesLines
2022-03-21Show device model even if vendor is not availableDamien Thébault1-0/+3
2022-03-18gpm-statistics: fix memory leakrbuj1-51/+115
In addition, it adds enumerations to access indexed arrays.
2022-01-01Fix build warnings about missing field initializerrbuj1-1/+1
2021-12-11Use a blank line at mostrbuj1-1/+0
2021-06-22update copyright to 2021raveit651-0/+1
2021-01-07Remove warning -Wunused-but-set-variablerbuj1-8/+1
2020-07-08Remove unused variable from gpm_notebook_scroll_event_cbrbuj1-3/+4
2020-03-25Remove warning: ‘GTimeVal’ is deprecatedrbuj1-5/+3
2020-03-09Port from EggDebug to the built-in GLib logging frameworkrbuj1-12/+6
2020-03-03Remove warnings: unused variablerbuj1-1/+0
2020-02-24Remove the CPU wakeups featurerbuj1-374/+4
2019-09-26drop obsolete version checks for upowerraveit651-45/+0
with required version bump to upower-0.99.8 we don't need them any more.
2019-09-26Use up_client_get_devices2()raveit651-1/+1
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.uirbuj1-2/+2
2019-07-10Add scroll interface tabs with mouse wheelLaurent Napias1-6/+12
in preferences and gpm-statistics (mouse-battery)
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-11-22move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-44/+0
and require mate-panel >= 1.17
2016-08-01Port from libunique to GtkApplicationMatt Spaulding1-6/+45
2016-07-25fix code madnessraveit651-2/+0
2016-07-25rename a function to match upstreamraveit651-2/+2
taken from: https://git.gnome.org/browse/gnome-power-manager/commit/?id=f2c0409
2016-06-07rely less on GtkStockSorokin Alexei1-2/+2
2015-09-04Show vendor/model informationClement Lefebvre1-2/+13
2015-03-19statistics: adjustment for API breakage in upower 0.99Monsta1-28/+71
Closes https://github.com/mate-desktop/mate-power-manager/pull/132
2015-03-15abort application when UI load failsMonsta1-4/+2
some genius who programmed this decided it would be fine to access GtkBuilder variables after gtk_builder_add_from_file fails. thanks for the segfault, man. I've wasted an hour trying to find out what happens. Closes https://github.com/mate-desktop/mate-power-manager/pull/128
2014-07-02Remove old GTK2 code and supportStefano Karapetsas1-68/+14
2014-07-02Remove deprecated codeStefano Karapetsas1-7/+0
2014-04-09port mate-power-manager to upower-0.99 APIStefan Seyfried1-2/+15
fix mate-power-manager for current upower versions
2013-07-24Code improvements and deprecation fixesmate-power-manager-1.6.2Stefano Karapetsas1-2/+3
2012-11-18This adds checks for glib version, in regards to deprecated apis. see ↵William Brown1-0/+3
http://developer.gnome.org/glib/2.31/glib-Deprecated-Thread-APIs.html#g-thread-init
2012-11-03Migrate screensaver lock setting to GsettingsBrent Hull1-1/+0
2012-10-27Port to Gsettings based on GNOME patch by Richard HughesBrent Hull1-27/+27
2012-03-21fix combobox deprecationStefano Karapetsas1-37/+29
2012-03-20fix gpm-prefs, need to fix gpm-statisticsStefano Karapetsas1-14/+19
2012-03-17Temporary hack to fix GtkComboBoxText issue.Steve Zesch1-1/+6
2011-12-29more gtk_combo_box to gtk_combo_box_text migration for gtk 2.24Sam Tygier1-16/+50
2011-12-11moved from Mate-ExtraStefano Karapetsas1-0/+1829