Mailinglist Archive: yast-commit (195 mails)

< Previous Next >
[yast-commit] r63551 - in /trunk/ncurses: package/yast2-ncurses.changes src/NCFileSelection.cc
Author: gs
Date: Wed Mar 9 13:32:28 2011
New Revision: 63551

URL: http://svn.opensuse.org/viewcvs/yast?rev=63551&view=rev
Log:
Show block devices in file selection dialog (bnc #661685)

Modified:
trunk/ncurses/package/yast2-ncurses.changes
trunk/ncurses/src/NCFileSelection.cc

Modified: trunk/ncurses/package/yast2-ncurses.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/package/yast2-ncurses.changes?rev=63551&r1=63550&r2=63551&view=diff
==============================================================================
--- trunk/ncurses/package/yast2-ncurses.changes (original)
+++ trunk/ncurses/package/yast2-ncurses.changes Wed Mar 9 13:32:28 2011
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Wed Mar 9 13:31:41 CET 2011 - gs@xxxxxxx
+
+- Show block devices in file selection dialog (bnc #661685)
+
+-------------------------------------------------------------------
Thu Feb 24 13:10:43 CET 2011 - gs@xxxxxxx

- Bug-fix for bnc #673801 (deselecting items in NCTree with multi

Modified: trunk/ncurses/src/NCFileSelection.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/NCFileSelection.cc?rev=63551&r1=63550&r2=63551&view=diff
==============================================================================
--- trunk/ncurses/src/NCFileSelection.cc (original)
+++ trunk/ncurses/src/NCFileSelection.cc Wed Mar 9 13:32:28 2011
@@ -583,7 +583,7 @@

if ( lstat64( fullName.c_str(), &statInfo ) == 0 )
{
- if ( S_ISREG( statInfo.st_mode ) )
+ if ( S_ISREG( statInfo.st_mode ) || S_ISBLK( statInfo.st_mode )
)
{
if ((( *it ) == ".." && currentDir != "/" )
|| ( *it ) != ".." )
@@ -595,7 +595,7 @@
{
if ( stat64( fullName.c_str(), &linkInfo ) == 0 )
{
- if ( S_ISREG( linkInfo.st_mode ) )
+ if ( S_ISREG( linkInfo.st_mode ) || S_ISBLK(
linkInfo.st_mode ) )
{
createListEntry( new NCFileInfo(( *it ), &linkInfo,
true ) );
}

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages