mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-04-23 14:01:26 +00:00
menu-button: hide the process list when whole-system is enabled
No sense in showing a desensitized widget that cannot be toggled except for discover-ability. But progressive disclosure is probably better.
This commit is contained in:
@ -203,7 +203,7 @@ sp_profiler_menu_button_connect (SpProfilerMenuButton *self)
|
||||
|
||||
add_binding (&priv->list_sensitive_binding,
|
||||
priv->profiler, "whole-system",
|
||||
priv->processes_box, "sensitive",
|
||||
priv->processes_box, "visible",
|
||||
G_BINDING_SYNC_CREATE | G_BINDING_INVERT_BOOLEAN);
|
||||
|
||||
add_binding (&priv->inherit_binding,
|
||||
|
||||
Reference in New Issue
Block a user