Class: Yast::StorageIconsClass
- Inherits:
-
Module
- Object
- Module
- Yast::StorageIconsClass
- Defined in:
- ../../src/modules/StorageIcons.rb
Instance Method Summary (collapse)
Instance Method Details
- (Object) IconMap(type)
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File '../../src/modules/StorageIcons.rb', line 62 def IconMap(type) case type when :CT_DMRAID, :CT_MD, :CT_MDPART, :sw_raid return @raid_icon when :CT_DM, :CT_DMMULTIPATH, :dm return @dm_icon when :CT_DISK return @hd_icon when :CT_LOOP, :loop return @loop_icon when :CT_LVM return @lvm_icon when :lvm return @lvm_lv_icon when :CT_NFS, :nfs return @nfs_icon when :extended, :logical, :primary return @hd_part_icon else return "yast-hdd-controller-kernel-module.png" end end |
- (Object) main
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
# File '../../src/modules/StorageIcons.rb', line 30 def main @all_icon = "yast-disk.png" @hd_icon = "yast-disk.png" @hd_part_icon = "yast-partitioning.png" @lvm_icon = "yast-lvm_config.png" @lvm_lv_icon = "yast-partitioning.png" @raid_icon = "yast-raid.png" @loop_icon = "yast-encrypted.png" @dm_icon = "yast-device-mapper.png" @nfs_icon = "yast-nfs.png" @unused_icon = "yast-unused-device.png" @graph_icon = "yast-device-tree.png" @summary_icon = "yast-disk.png" @settings_icon = "yast-spanner.png" @log_icon = "yast-messages.png" @encrypted_icon = "yast-encrypted.png" end |