Author: aschnell
Date: Thu Feb 5 11:00:58 2009
New Revision: 55268
URL: http://svn.opensuse.org/viewcvs/yast?rev=55268&view=rev
Log:
- correct icon for device-mapper devices
Modified:
trunk/storage/storage/src/modules/Makefile.am
trunk/storage/storage/src/modules/StorageFields.ycp
trunk/storage/storage/src/modules/StorageIcons.ycp
Modified: trunk/storage/storage/src/modules/Makefile.am
URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/modules/Makefile.am?rev=55268&r1=55267&r2=55268&view=diff
==============================================================================
--- trunk/storage/storage/src/modules/Makefile.am (original)
+++ trunk/storage/storage/src/modules/Makefile.am Thu Feb 5 11:00:58 2009
@@ -16,6 +16,7 @@
StorageDevices.ycp \
StorageFields.ycp \
StorageSettings.ycp \
+ StorageIcons.ycp \
TreePanel.ycp \
TabPanel.ycp \
MiniWorkflow.ycp \
Modified: trunk/storage/storage/src/modules/StorageFields.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/modules/StorageFields.ycp?rev=55268&r1=55267&r2=55268&view=diff
==============================================================================
--- trunk/storage/storage/src/modules/StorageFields.ycp (original)
+++ trunk/storage/storage/src/modules/StorageFields.ycp Thu Feb 5 11:00:58 2009
@@ -12,6 +12,7 @@
import "Storage";
+ import "StorageIcons";
import "FileSystems";
import "Partitions";
import "Directory";
@@ -21,8 +22,6 @@
import "String";
import "Region";
- include "partitioning/icons.ycp";
-
/**
* Call callback for every disk of target_map in a well defined sorted order.
@@ -503,7 +502,7 @@
value = part["fstype"]:"";
}
if (style == `table)
- return `cell(`icon(Directory::icondir + "22x22/apps/" + icon_map(type)), value);
+ return `cell(`icon(Directory::icondir + "22x22/apps/" + StorageIcons::IconMap(type)), value);
else
// row label
return sformat(_("Type: %1"), String::EscapeTags(value));
Modified: trunk/storage/storage/src/modules/StorageIcons.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/modules/StorageIcons.ycp?rev=55268&r1=55267&r2=55268&view=diff
==============================================================================
--- trunk/storage/storage/src/modules/StorageIcons.ycp (original)
+++ trunk/storage/storage/src/modules/StorageIcons.ycp Thu Feb 5 11:00:58 2009
@@ -1,10 +1,12 @@
/**
- * File: icons.ycp
+ * File: StorageIcons.ycp
* Package: yast2-storage
* Summary: Expert Partitioner
* Authors: Arvin Schnell