Commit Graph

1185 Commits

Author SHA1 Message Date
Andrius Štikonas 988af11b30 Cleanup TODO file. 2016-08-22 23:23:51 +01:00
Andrius Štikonas 55032b66a3 Create a new Tools menu as Teo suggested.
It contains actions to create a new volume, view supported filesystems, etc.
View menu was cleaned up and enable/disable panel actions were moved
to settings menu.
2016-08-22 22:49:42 +01:00
Pino Toscano 89eb1e127f fixuifiles 2016-08-16 22:14:42 +02:00
Andrius Štikonas 784758831b Add Chantara Tith to credits. 2016-08-15 17:41:11 +01:00
Chantara Tith 9c6aae990a Use deactivate VG operation to check if a volume is deactivatable. 2016-08-15 17:38:00 +01:00
Andrius Štikonas bd2db0ceef Hide smart status and create partition table operations for non Disk Devices. 2016-08-15 17:38:00 +01:00
Andrius Štikonas 25e33357d2 Disable resizing or deactivating deactivated LVM volume groups. 2016-08-15 17:38:00 +01:00
Andrius Štikonas b8c1acc7b6 Do not allow deactivating LVM VG devices that have mounted partitions. 2016-08-15 17:38:00 +01:00
Andrius Štikonas 22173b75a6 Show disabled remove volume group operation for non-empty Volume Groups. 2016-08-15 17:38:00 +01:00
Chantara Tith 81daeba1d5 Change deactivate VG action icon to 'media-eject' 2016-08-15 17:38:00 +01:00
Chantara Tith c0d11a9025 Manually call deactivate VG operation's preview. 2016-08-15 17:38:00 +01:00
Chantara Tith f5a7a324ff Deactivate Volume Group right away without Apply operation. 2016-08-15 17:38:00 +01:00
Chantara Tith f167642d87 Set LVM operations/actions to invisible when other device is selected. 2016-08-15 17:38:00 +01:00
Chantara Tith b581c3d715 API changes, change to renamed methods. 2016-08-15 17:38:00 +01:00
Andrius Štikonas 5267f9825a Convert some more for loops to ranged based loop. 2016-08-15 17:38:00 +01:00
Andrius Štikonas a379c4ab31 Also add deactivate volume group action to .rc file. 2016-08-15 17:38:00 +01:00
Andrius Štikonas 0b92926465 Fix a previous commit (inner loop for was making deep copy. 2016-08-15 17:38:00 +01:00
Andrius Štikonas 561269a2e6 Convert to C++11 for loop where it is safe to do so. 2016-08-15 17:38:00 +01:00
Chantara Tith fe01d6c2e2 Remove partTableWidget from VolumeDialog. 2016-08-15 17:38:00 +01:00
Chantara Tith 9803797647 Fix volumeDialog updateSizeInfos not updating when there isn't any PVs. 2016-08-15 17:38:00 +01:00
Chantara Tith 9d3ddf4e5c Remove dirty PVs from CreateVolumeDialog physical volumes list. 2016-08-15 17:38:00 +01:00
Chantara Tith 9525683522 Add deactivating LVM VG action. 2016-08-15 17:38:00 +01:00
Chantara Tith 1472b310fd Disable OK button when creating new VG with name of an existing one. 2016-08-15 17:38:00 +01:00
Chantara Tith 5775560759 When creating new LV, disable OK button if the LV name already exists. 2016-08-15 17:38:00 +01:00
Chantara Tith 9e58e13d21 Get current PV list from deviceNodeList instead of calling external one. 2016-08-15 17:38:00 +01:00
Chantara Tith 7f61e77eb5 Add selected device to ResizeVolumeDialog. 2016-08-15 17:38:00 +01:00
Chantara Tith f863a15a72 update partTable only when partition list update. 2016-08-15 17:38:00 +01:00
Chantara Tith 92cbb1f6dc Fix crash when smartStatus is nullptr. 2016-08-15 17:38:00 +01:00
Andrius Štikonas 175ea6a5ed Do not attempt removing LVM VG if there are active LVs. 2016-08-15 17:38:00 +01:00
Andrius Štikonas 33d38c9852 Move PE size spinbox constraints to .ui file. 2016-08-15 17:38:00 +01:00
Chantara Tith 2b25813040 Set PE Size spinBox minimum value to 1. 2016-08-15 17:38:00 +01:00
Chantara Tith ce9ad5559e Enable Smart Status for Disk Device only. 2016-08-15 17:38:00 +01:00
Chantara Tith 2ec6857064 Decouple Sector and Size informations update. 2016-08-15 17:38:00 +01:00
Chantara Tith c8844c91e9 Remove lvm2_pv from FileSystem comboBox when creating LV. 2016-08-15 17:38:00 +01:00
Chantara Tith 8e44082a73 Total used sectors and total LV in volumeDialog only need to be updated once. 2016-08-15 17:38:00 +01:00
Chantara Tith 6a2663d4d5 Disable partTableWidget preview for create/resize volumeDialog. 2016-08-15 17:38:00 +01:00
Chantara Tith 12e373dd45 Remove redundant informations of LVM PV from infopane. 2016-08-15 17:38:00 +01:00
Chantara Tith 89d310e0c8 Use different seperator to avoid error with string handling. 2016-08-15 17:38:00 +01:00
Chantara Tith 34d6934a1b Fix typo. 2016-08-15 17:38:00 +01:00
Chantara Tith 906f85a54d Disable resize/remove volume group action when LVM device is not selected. 2016-08-15 17:38:00 +01:00
Chantara Tith da6cb2e4df Add more LVM infos to the infopane. 2016-08-15 17:38:00 +01:00
Chantara Tith 1a3cee45ff Add MiB suffix to PE size spinBox. 2016-08-15 17:38:00 +01:00
Chantara Tith 99e36d4e32 update total sector when PE size is changed. 2016-08-15 17:38:00 +01:00
Chantara Tith cbd61d90c0 Read and Display size of PV inside physical volumes list. 2016-08-15 17:38:00 +01:00
Chantara Tith e25b6aa784 Payload offset return in byte size instead of sector number. 2016-08-15 17:38:00 +01:00
Chantara Tith 9f3e3bc5f0 Add functionality to specify PE size when creating VG. 2016-08-15 17:38:00 +01:00
Chantara Tith 475a677601 Disable moving for LV. 2016-08-15 17:38:00 +01:00
Chantara Tith 7f50dbaf4d Change from isLegalSize to isValidSize. 2016-08-15 17:38:00 +01:00
Chantara Tith e437c46d45 Disable OK button when LV name is empty. 2016-08-15 17:38:00 +01:00
Chantara Tith 100277b0e1 Display warning message when trying to remove VG with existing LV. 2016-08-15 17:38:00 +01:00