mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-26 04:41:10 +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>
|
2012-04-19 Riccardo Mottola <rm@gnu.org>
|
||||||
|
|
||||||
* configure
|
* configure
|
||||||
|
|
|
@ -2292,6 +2292,8 @@ description, [cmd stringByDeletingLastPathComponent]);
|
||||||
*/
|
*/
|
||||||
- (void) writeToPasteboard: (NSPasteboard *)pasteBoard
|
- (void) writeToPasteboard: (NSPasteboard *)pasteBoard
|
||||||
{
|
{
|
||||||
|
[pasteBoard declareTypes: [NSArray arrayWithObject: NSURLPboardType]
|
||||||
|
owner: nil];
|
||||||
[pasteBoard setString: [self absoluteString]
|
[pasteBoard setString: [self absoluteString]
|
||||||
forType: NSURLPboardType];
|
forType: NSURLPboardType];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue