[gnome-usage] Add action on activate group-system-processes radio button



commit 1afa7f9c5fc49cf2f7ba15638d1e39531fb340c4
Author: Petr Štětka <pstetka redhat com>
Date:   Thu May 31 14:07:18 2018 +0200

    Add action on activate group-system-processes radio button

 src/application.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/application.vala b/src/application.vala
index 152b02a..fc3031f 100644
--- a/src/application.vala
+++ b/src/application.vala
@@ -105,7 +105,7 @@ namespace Usage
         private void change_filter_processes_state(GLib.SimpleAction action, GLib.Variant? state)
         {
             action.set_state(state);
-            //TODO here change filtering
+            SystemMonitor.get_default().group_system_apps = state.get_string() == "group-system" ? true : 
false;
         }
     }
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]