Commit 96d2deee authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

set the "Detach Tab" action insensitive if the dockable is alone in its

2005-06-15  Sven Neumann  <sven@gimp.org>

	* app/actions/dockable-actions.c (dockable_actions_update): set the
	"Detach Tab" action insensitive if the dockable is alone in its dock.
parent a23a805c
2005-06-15 Sven Neumann <sven@gimp.org>
* app/actions/dockable-actions.c (dockable_actions_update): set the
"Detach Tab" action insensitive if the dockable is alone in its dock.
2005-06-15 Sven Neumann <sven@gimp.org>
* app/dialogs/preferences-dialog.c (prefs_input_devices_dialog):
......
......@@ -245,6 +245,8 @@ dockable_actions_update (GimpActionGroup *group,
#define SET_SENSITIVE(action,sensitive) \
gimp_action_group_set_action_sensitive (group, action, (sensitive) != 0)
SET_SENSITIVE ("dockable-detach-tab", n_pages > 1);
SET_VISIBLE ("dockable-preview-size-menu", preview_size != -1);
if (preview_size != -1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment