Gregory John Casamento
7f6ee7d9fd
Initial changes for sheet implementation. More to come.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28283 72102866-910b-0410-8b05-ffd578937521
2009-05-14 22:17:48 +00:00
Gregory John Casamento
e66027b906
Revert previous change.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28225 72102866-910b-0410-8b05-ffd578937521
2009-04-16 20:05:32 +00:00
Gregory John Casamento
28b6cc14d0
Correct issue with sheets/panels appearing beneath other modal panels.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28224 72102866-910b-0410-8b05-ffd578937521
2009-04-16 19:02:30 +00:00
Gregory John Casamento
1df5bfe839
* Source/NSAlert.m: in the method _initWithoutGModel add a call
...
to setLevel: to set the level to NSModalPanelWindowLevel. This was
not previously being done and was causing alert panels to get lost
behind other application windows.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28195 72102866-910b-0410-8b05-ffd578937521
2009-04-10 14:25:20 +00:00
Fred Kiefer
d93155a768
Correct the calling of the delegate methods in the alert sheet
...
functions. Should fix #26101 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28185 72102866-910b-0410-8b05-ffd578937521
2009-04-07 20:54:41 +00:00
Fred Kiefer
1b9732d96d
Add more missing localization includes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28015 72102866-910b-0410-8b05-ffd578937521
2009-03-01 19:04:58 +00:00
Wolfgang Lux
39f911eae7
Trigger the action of NSButton and NSPopUpButton in their keyDown
...
method only for the Space key.
Fix key view loop of NSAlert panels and NSSavePanel so that all
buttons become reachable with the Tab key.
Make Escape key equivalent of the Cancel button of NSSavePanel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27011 72102866-910b-0410-8b05-ffd578937521
2008-11-05 23:01:37 +00:00
Wolfgang Lux
c1fd62315e
Pass correct arguments to the didEndSelector passed to NSAlert's
...
-beginSheetModalForWindow:delegate:didEndSelector:contextInfo: method.
Fix swapping of title and informative message text in NSAlerts. Also
supply a default title "Alert" if none is set.
Determine key equivalent of NSAlert buttons from their localized titles.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27010 72102866-910b-0410-8b05-ffd578937521
2008-11-05 22:47:50 +00:00
Adam Fedor
7afdd32ac1
Revert library license version to 2 until applications can be converted
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26619 72102866-910b-0410-8b05-ffd578937521
2008-06-10 04:01:49 +00:00
Fred Kiefer
193e31e678
Change all files to use GPL 3 and LGPL 3.
...
Prepare for next release.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25536 72102866-910b-0410-8b05-ffd578937521
2007-10-29 21:16:17 +00:00
Fred Kiefer
86264a8284
Diverse gui patches by Wolfgang Lux <wolfgang.lux@gmail.com>.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25451 72102866-910b-0410-8b05-ffd578937521
2007-09-04 23:29:05 +00:00
Fred Kiefer
22f8170973
Add some 10.4 methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25348 72102866-910b-0410-8b05-ffd578937521
2007-07-23 16:29:29 +00:00
Richard Frith-MacDonald
e05c982cd9
Revert file accidentally committed
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25285 72102866-910b-0410-8b05-ffd578937521
2007-06-22 13:28:14 +00:00
Richard Frith-MacDonald
2dedd774e2
Attempt to improve frame and bounds setting.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25284 72102866-910b-0410-8b05-ffd578937521
2007-06-22 09:59:17 +00:00
Richard Frith-MacDonald
ba86814bba
Fixed accidentally deleted line
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24963 72102866-910b-0410-8b05-ffd578937521
2007-04-03 06:30:50 +00:00
Richard Frith-MacDonald
3789a069f6
Fixes for bug #18494
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24962 72102866-910b-0410-8b05-ffd578937521
2007-04-02 12:53:54 +00:00
Sergii Stoian
c77c8ab90b
* Source/NSAlert.m: (-_initWithoutGModel): Set selected text
...
background color to [NSColor controlLightHighlightColor].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24927 72102866-910b-0410-8b05-ffd578937521
2007-03-23 11:33:37 +00:00
Matt Rice
7c77ac64a1
* Source/NSAlert.m (-_initWithoutGModel): Add missing nil
...
at end of call to -dictionaryWithObjectsAndKeys:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24685 72102866-910b-0410-8b05-ffd578937521
2007-02-22 23:59:45 +00:00
Sergii Stoian
4cef45fd98
* Source/NSAlert.m: (-_initWithoutGModel): Set selected text
...
background color to white. Now we can see selection of message text.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24681 72102866-910b-0410-8b05-ffd578937521
2007-02-21 23:54:12 +00:00
Sergii Stoian
bf41e31a34
Source/NSAlert.m: Forgot to commit change of button style.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24678 72102866-910b-0410-8b05-ffd578937521
2007-02-21 16:19:59 +00:00
Sergii Stoian
c6be514817
Source/NSAlert.m: little fix for previous commit.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24676 72102866-910b-0410-8b05-ffd578937521
2007-02-21 13:29:18 +00:00
Sergii Stoian
80a618c968
Source/NSAlert.m: (_initWithoutGModel): Removed setting of buttons style.
...
(_makeButtonWithRect:): Change style of button from NSMomentaryPushButton to
NSMomentaryPushInButton.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24675 72102866-910b-0410-8b05-ffd578937521
2007-02-21 13:28:23 +00:00
Sergii Stoian
e1575a4206
Source/NSAlert.m: Revert my last change regarding icon dimming.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24674 72102866-910b-0410-8b05-ffd578937521
2007-02-21 13:20:06 +00:00
Sergii Stoian
572f5075b3
* Source/NSAlert.m: (-_initWithoutGModel):
...
Make buttons refuse first responder to avoid drawing
dashed frame.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24671 72102866-910b-0410-8b05-ffd578937521
2007-02-21 00:46:01 +00:00
Sergii Stoian
83b4049ddf
* Source/NSAlert.m: (-_initWithoutGModel): Disable dimming of
...
panel image. Change highlinting mask of alternate and other
buttons.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24670 72102866-910b-0410-8b05-ffd578937521
2007-02-21 00:38:44 +00:00
Fred Kiefer
5f887135f2
Improve drawing with themes and cleanup.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24669 72102866-910b-0410-8b05-ffd578937521
2007-02-20 22:04:45 +00:00
Eric Sersale
0704d03784
* Source/NSAlert.m: (-_initWithoutGModel): added [setImageDimsWhenDisabled: NO} to not show the application icon dimmed.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24656 72102866-910b-0410-8b05-ffd578937521
2007-02-19 19:13:33 +00:00
Richard Frith-MacDonald
1eefe4bf31
Patch to left alight long (multi-line) messages
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24213 72102866-910b-0410-8b05-ffd578937521
2006-12-18 15:16:14 +00:00
Matt Rice
564a2e859b
* Source/NSAlert.m: Add GSRunExceptionPanel function
...
and GSExceptionPanel class.
* Headers/AppKit/NSPanel.h: Declare GSRunExceptionPanel.
* Source/NSApplication.m (_NSAppKitUncaughtExceptionHandler):
Use GSRunExceptionPanel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23973 72102866-910b-0410-8b05-ffd578937521
2006-10-27 19:10:07 +00:00
Richard Frith-MacDonald
65b175b904
Tweaks to avoid new compiler warnings with gcc-4.1 and some 64bit issues.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23126 72102866-910b-0410-8b05-ffd578937521
2006-07-04 21:31:49 +00:00
Richard Frith-Macdonald
7971a89c72
Coding style fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22019 72102866-910b-0410-8b05-ffd578937521
2005-11-16 11:34:25 +00:00
Adam Fedor
303dd1baf9
Update FSF Address.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21259 72102866-910b-0410-8b05-ffd578937521
2005-05-26 02:52:46 +00:00
Fred Kiefer
cbb49af830
Small changes for NSAlert.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21250 72102866-910b-0410-8b05-ffd578937521
2005-05-22 23:53:35 +00:00
Alexander Malmberg
aa6f4087a1
2004-11-09 22:36 Alexander Malmberg <alexander@malmberg.org>
...
* Source/GSInfoPanel.m (_value_from_info_plist_for_key): Rename to
value_from_info_plist_for_key.
(_nil_or_not_of_class): Rename to nil_or_not_of_class.
Update callers.
(-initWithDictionary:): Fix comment typo.
* Source/NSAlert.m: Whitespace cleanups.
* Source/NSPrinter.m: Whitespace cleanups.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20332 72102866-910b-0410-8b05-ffd578937521
2004-11-09 21:37:43 +00:00
Fred Kiefer
ca71d7e075
Moved code around.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19697 72102866-910b-0410-8b05-ffd578937521
2004-07-09 00:06:39 +00:00
Fred Kiefer
605f60b151
Added new MacOSX classes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19693 72102866-910b-0410-8b05-ffd578937521
2004-07-07 22:43:04 +00:00