diff options
author | lukefromdc <[email protected]> | 2018-04-30 01:38:09 -0400 |
---|---|---|
committer | monsta <[email protected]> | 2018-05-03 12:11:48 +0300 |
commit | 7738d7a30c0afcbb908d8ebb93b667e39599b1d7 (patch) | |
tree | a6ad7f2d08dae356558e7a198459748f12253595 /src | |
parent | e384f13ce5e20d0c3ab935d026393c5a6e36aba2 (diff) | |
download | mate-power-manager-7738d7a30c0afcbb908d8ebb93b667e39599b1d7.tar.bz2 mate-power-manager-7738d7a30c0afcbb908d8ebb93b667e39599b1d7.tar.xz |
Inhibit Applet: Fix excessive CPU use
Fix https://github.com/mate-desktop/mate-power-manager/issues/248
Use code from GNOME version to draw icon. The code from gnome-applets/inhibit uses a GtkImage to draw the icon but does not constantly re-run gtk_widget_show so it works without loading down the CPU
(squashed 8e2902337546222db38a00cc16b3d2bc2e0ef852 + c4528fd6d22afcc6e3c27512677b8908e89c0613 for 1.18 branch)
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions