to be on the safe side, always show hidden dialogs when the Tab key is

2008-10-24  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdialogfactory.c 
(gimp_dialog_factories_toggle):
	to be on the safe side, always show hidden dialogs when the Tab
	key is used. It should not be possible to get a Tab key-press
	while all displays are iconified, but you never know ...


svn path=/trunk/; revision=27385
This commit is contained in:
Sven Neumann 2008-10-24 07:16:06 +00:00 committed by Sven Neumann
parent bf97ad3102
commit 4260576f0e
2 changed files with 11 additions and 9 deletions

View File

@ -1,3 +1,10 @@
2008-10-24 Sven Neumann <sven@gimp.org>
* app/widgets/gimpdialogfactory.c (gimp_dialog_factories_toggle):
to be on the safe side, always show hidden dialogs when the Tab
key is used. It should not be possible to get a Tab key-press
while all displays are iconified, but you never know ...
2008-10-24 Sven Neumann <sven@gimp.org>
Bug 556896 Dialogs don't get minimized with single image window

View File

@ -1173,18 +1173,13 @@ gimp_dialog_factories_hide_with_display (void)
void
gimp_dialog_factories_toggle (void)
{
switch (dialogs_state)
if (dialogs_state == GIMP_DIALOGS_SHOWN)
{
case GIMP_DIALOGS_SHOWN:
gimp_dialog_factories_set_state (GIMP_DIALOGS_HIDDEN_EXPLICITLY);
break;
case GIMP_DIALOGS_HIDDEN_EXPLICITLY:
}
else
{
gimp_dialog_factories_set_state (GIMP_DIALOGS_SHOWN);
break;
case GIMP_DIALOGS_HIDDEN_WITH_DISPLAY:
break;
}
}