summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2018-08-15gpm-button: replace deprecated Gdk functionsraveit651-3/+5
2018-03-17add missing window icon to About dialogsmonsta1-0/+1
2018-03-13Scale 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
2016-07-25rename a function to match upstreamraveit655-9/+9
taken from: https://git.gnome.org/browse/gnome-power-manager/commit/?id=f2c0409
2016-07-25GTK+-3 graph-widget: improve expose --> draw changesraveit651-20/+43
taken from: https://git.gnome.org/browse/gnome-power-manager/commit/?id=cd9255c
2016-06-21drop unused codemonsta3-371/+0
2016-06-16use gtk_show_about_dialog for gtk+-2.0raveit651-7/+0
2016-06-16GTK+-3 gpm-tray-icon: use About dialog from GTK+ instead of forked one from ↵raveit651-13/+19
libmate-desktop
2016-06-07fix having an icon space with having no batterySorokin Alexei1-0/+1
2016-06-07rely less on GtkStockSorokin Alexei10-38/+38
2016-06-07GTK+3 media-keys: sync code with m-s-d and drop include mate-desktop-utils.hraveit653-91/+135
This makes gtk3 migration easier as m-p-m use only <libmate-desktop/mate-aboutdialog.h yet.
2016-06-07GTK+-3 gpm-kbd-backlight: replace deprecated gdk_display_get_pointerraveit651-0/+15
gdk_display_get_pointer --> gdk_device_get_position
2016-06-07GTK+3: replace gdk_error_trap_pop () with gdk_error_trap_pop_ignored ()raveit651-0/+4
fixes a wunused results warning
2016-06-07GTK+-3 gpm-backlight: replace deprecated gdk_display_get_pointerraveit651-0/+15
gdk_display_get_pointer --> gdk_device_get_position