mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 17:10:58 +00:00
*** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19300 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
356fb7bf9c
commit
8a43fcaa09
2 changed files with 23 additions and 11 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2004-05-04 Enrico Sersale <enrico@imago.ro>
|
||||||
|
|
||||||
|
* Source/NSWorkspace.m ([NSWorkspace -mountedRemovableMedia]):
|
||||||
|
Doesn't consider a final empty line in mtab.
|
||||||
|
|
||||||
2004-05-12 16:50 Alexander Malmberg <alexander@malmberg.org>
|
2004-05-12 16:50 Alexander Malmberg <alexander@malmberg.org>
|
||||||
|
|
||||||
* Source/NSParagraphStyle.m (+defaultWritingDirectionForLanguage:):
|
* Source/NSParagraphStyle.m (+defaultWritingDirectionForLanguage:):
|
||||||
|
|
|
@ -1288,19 +1288,26 @@ inFileViewerRootedAtPath: (NSString*)rootFullpath
|
||||||
|
|
||||||
for (i = 0; i < [mounts count]; i++)
|
for (i = 0; i < [mounts count]; i++)
|
||||||
{
|
{
|
||||||
NSArray *parts;
|
NSString *mount = [mounts objectAtIndex: i];
|
||||||
NSString *type;
|
|
||||||
|
if ([mount length])
|
||||||
parts = [[names objectAtIndex: i] componentsSeparatedByString: @" "];
|
|
||||||
type = [parts objectAtIndex: 2];
|
|
||||||
if ([type isEqualToString: @"proc"] == NO
|
|
||||||
&& [type isEqualToString: @"devpts"] == NO
|
|
||||||
&& [type isEqualToString: @"shm"] == NO)
|
|
||||||
{
|
{
|
||||||
[names addObject: [parts objectAtIndex: 1]];
|
NSArray *parts = [mount componentsSeparatedByString: @" "];
|
||||||
}
|
|
||||||
|
if ([parts count] >= 2)
|
||||||
|
{
|
||||||
|
NSString *type = [parts objectAtIndex: 2];
|
||||||
|
|
||||||
|
if ([type isEqualToString: @"proc"] == NO
|
||||||
|
&& [type isEqualToString: @"devpts"] == NO
|
||||||
|
&& [type isEqualToString: @"shm"] == NO)
|
||||||
|
{
|
||||||
|
[names addObject: [parts objectAtIndex: 1]];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return names;
|
return names;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue