summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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
2016-06-03GTK+3 msd-osd-window: improve style_updated functionraveit651-20/+26
2016-05-31GTK+-3 msd-osd-window: port everything to GtkStyleContextraveit651-11/+29
fixes #188
2016-05-31GTK+3 gpm-tray-icon: fix a Wincompatible-pointer-types build warningraveit651-1/+1
gpm-tray-icon.c:339:49: warning: passing argument 1 of 'gtk_widget_get_toplevel' from incompatible pointer type [-Wincompatible-pointer-types] GtkWidget *toplevel = gtk_widget_get_toplevel (menu);
2016-05-31GTK+3: do not use deprecated gtk_widget_size_requestraveit652-2/+12
2016-05-14fix compile error 'Redefinition von widget_class'raveit651-1/+0
2016-05-10gtk3: css themes for MsdOsdWindowDenis Gorodnichev3-9/+76
2015-12-15don't crash when XRRGetScreenResourcesCurrent failsmonsta1-0/+5
2015-12-13remove dead codeMonsta1-34/+0
2015-11-30fix warnings due to wrong id passed to g_source_removemonsta3-4/+14
2015-11-05Acknowledge changes in AC backlight GSettings when running on batteryNutchanon Wetchasit1-1/+1
2015-11-05Make idle event handler always calculate backlight from configured settingsNutchanon Wetchasit1-3/+3
2015-11-05Save AC-power backlight set via brightness keys in GSettingsNachanon Vetjasit1-0/+15
Based on a patch by Flos Lonicerae.
2015-11-05Support disabling of PowerBtn.Mike Gabriel1-0/+1
By adding GPM_ACTION_POLICY_NOTHING to the available power button actions, it is now possible for MATE users to disable the system's power button, while being in a MATE desktop session. This is helpful if a system's power button is designed in a way that it can easily be accidentally hit by the user without noticing.
2015-10-14tray icon: support custom themeslukefromdc1-0/+14
support custom themes, include robust transparency support even when wm is not properly identified by gtk as compositing
2015-10-14corrected comments to mention org.gnome.SessionManagermonsta1-3/+3
2015-09-09backlight-helper: Add gmux_backlight to backlight_interfacesinfirit1-0/+1
Fixes #135