gimp r27385 - in trunk: . app/widgets
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r27385 - in trunk: . app/widgets
- Date: Fri, 24 Oct 2008 07:16:06 +0000 (UTC)
Author: neo
Date: Fri Oct 24 07:16:06 2008
New Revision: 27385
URL: http://svn.gnome.org/viewvc/gimp?rev=27385&view=rev
Log:
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 ...
Modified:
trunk/ChangeLog
trunk/app/widgets/gimpdialogfactory.c
Modified: trunk/app/widgets/gimpdialogfactory.c
==============================================================================
--- trunk/app/widgets/gimpdialogfactory.c (original)
+++ trunk/app/widgets/gimpdialogfactory.c Fri Oct 24 07:16:06 2008
@@ -1173,18 +1173,13 @@
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;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]