mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 17:01:18 +00:00
* Source/NSPasteboard.m (NSURL-writeToPasteboard:): Declare the type.
Patch by Andreas Schik <andreas.schik@web.de>. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35109 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d171787b3e
commit
95603a951c
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-04-24 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSPasteboard.m (NSURL-writeToPasteboard:): Declare the type.
|
||||
Patch by Andreas Schik <andreas.schik@web.de>.
|
||||
|
||||
2012-04-19 Riccardo Mottola <rm@gnu.org>
|
||||
|
||||
* configure
|
||||
|
|
|
@ -2292,6 +2292,8 @@ description, [cmd stringByDeletingLastPathComponent]);
|
|||
*/
|
||||
- (void) writeToPasteboard: (NSPasteboard *)pasteBoard
|
||||
{
|
||||
[pasteBoard declareTypes: [NSArray arrayWithObject: NSURLPboardType]
|
||||
owner: nil];
|
||||
[pasteBoard setString: [self absoluteString]
|
||||
forType: NSURLPboardType];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue