GNOME Bugzilla – Bug 751436
Some context menu items have wrong sensitivity
Last modified: 2015-06-24 13:34:14 UTC
When Baobab displays a graph of analyzed tree, there is a possibility to right-click the graph area and invoke context menu. Items "Go to parent folder", "Zoom in", "Zoom out" stay always active, even if they can not bring effect (e. g. already in the top directory, maximal zoom).
Created attachment 305998 [details] [review] Fix context menu items sensitivity This patch set sensitivity of the mentioned menu items accordingly.
Created attachment 305999 [details] [review] Fix "Zoom out" item sensitivity for treemap chart can_zoom_out() returns TRUE if more visible children items are available regardless of MAX_DEPTH. This patch change can_zoom_out() behavior to return FALSE if MAX_DEPTH is reached.
Thanks, pushed! Attachment 305998 [details] pushed as 8e696ac - Fix context menu items sensitivity Attachment 305999 [details] pushed as f192f06 - Fix "Zoom out" item sensitivity for treemap chart