Commit Graph

625 Commits

Author SHA1 Message Date
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
Chantara Tith 5f364befd8 Temporary disable changing volume type and PE size, until the features are implemented on KPMCore side. 2016-08-15 17:38:00 +01:00
Chantara Tith 2917317619 Update volumeDialog ok button status as the used and total size changes. 2016-08-15 17:38:00 +01:00
Chantara Tith e6834393ae Fix the hacky solution for the usedSize overflow. 2016-08-15 17:38:00 +01:00
Chantara Tith a9655d7fad FIX used size overflow when multiplied. 2016-08-15 17:38:00 +01:00
Chantara Tith 27882cdb6a Display device info on volume dialog. 2016-08-15 17:38:00 +01:00
Chantara Tith 01cb06a4a4 It makes more sense to display used size instead of the allocated sectors. 2016-08-15 17:38:00 +01:00
Chantara Tith b8be4f7c79 Add volume resizing dialog. 2016-08-15 17:38:00 +01:00
Chantara Tith bc4321d105 Add totalAllocatedSectors to volume widget. 2016-08-15 17:38:00 +01:00
Chantara Tith f7d475d05c Initialize VG name if there is any. 2016-08-15 17:38:00 +01:00
Chantara Tith f84821ff9c Unclutter createVolumeDialog. 2016-08-15 17:38:00 +01:00
Chantara Tith 71a6cc761d Simplify if clause. 2016-08-15 17:38:00 +01:00
Chantara Tith 951cb925ea Move to using static lvm2_pv methods. 2016-08-15 17:38:00 +01:00
Chantara Tith a89dbbdd7d Add checkbox for selecting multiple partition when creating new volume. 2016-08-15 17:38:00 +01:00
Chantara Tith a1fe5dff56 Temporary Use selected Partition as PV for creating new VG. 2016-08-15 17:38:00 +01:00
Chantara Tith 9a4e54fb42 Add remove and resize action to MainWindow. 2016-08-15 17:38:00 +01:00
Chantara Tith 80f32cd53a Add volume type ComboBox to VolumeWidget 2016-08-15 17:38:00 +01:00
Chantara Tith 46e509ba28 Use custom list widget for displaying PV. 2016-08-15 17:38:00 +01:00
Chantara Tith 7a5f8fb1a8 Update CreateVolumeDialog OK button status. 2016-08-15 17:38:00 +01:00
Chantara Tith 8e4d9fc849 Change volumeWidget's label default value. 2016-08-15 17:38:00 +01:00
Chantara Tith 3721b198bf Abstract createvolumewidget generic stuffs to volumedialog base class. 2016-08-15 17:38:00 +01:00
Chantara Tith 4f564d52f5 Initial work on createvolume widget and dialog. 2016-08-15 17:38:00 +01:00
Chantara Tith 0dd81709a1 Display DevicePropDialog totalsectors and type correctly 2016-08-15 17:38:00 +01:00
Chantara Tith 975e005ed2 Append all the remaining space for LVM resize dialog. 2016-08-15 17:38:00 +01:00
Chantara Tith 1673a9ddeb Hide sizeDetailsWidget for LVM device. This also fix crashes when trying to align LV 2016-08-15 17:38:00 +01:00
Chantara Tith e9cfc151f7 Hide freeSpace Before and After Label for LVM resize. 2016-08-15 17:38:00 +01:00
Chantara Tith e798a26cb6 Make LVM partition immovable when resize. 2016-08-15 17:38:00 +01:00
Chantara Tith f49b36fe14 Hide LV name for disk device resize 2016-08-15 17:38:00 +01:00
Chantara Tith 07bf741c6a Add new LV operation 2016-08-15 17:38:00 +01:00
Chantara Tith 6c946d7a2c Initial work on LVM Device 2016-08-15 17:38:00 +01:00
Chantara Tith a2df4b648b Add lvm-specific infopane information 2016-08-15 17:38:00 +01:00
Andrius Štikonas 6676dd8c03 Fix string context. 2016-07-31 01:26:10 +01:00
Andrius Štikonas 84e16503f4 Fix if/else statements of previous commit. 2016-07-24 19:07:31 +01:00
Andrius Štikonas 169588dc0f Make sure empty KLocalizedStrings are not converted to QStrings. 2016-07-24 18:47:33 +01:00
Andrius Štikonas f81cb3cc30 Improve semantic markup. 2016-07-18 02:21:14 +01:00
Andrius Štikonas eaa9f6eaf1 Do not use obsolete type. 2016-07-06 20:44:40 +01:00
Andrius Štikonas ee3466f1f8 Do not convert empty KLocalizedStrings into QStrings. 2016-07-06 16:02:06 +01:00
Andrius Štikonas 6c78120883 Reduce usage of moc. 2016-07-02 12:12:56 +01:00
Andrius Štikonas 75adb928fe Use lambda functions for overloaded connections. 2016-07-01 15:51:28 +01:00
Andrius Štikonas 2b7f23ec27 Use new connect style with KStandardAction. 2016-07-01 15:42:12 +01:00
Andrius Štikonas 63a75bb4e6 Add placeholderText in MountOptionsDialog. 2016-06-15 15:49:26 +02:00
Andrius Štikonas af140882a7 Add Ok/Cancel buttons to EditMountPointOptionsDialog.
BUG: 364284
2016-06-15 15:35:35 +02:00
Andrius Štikonas fa385538b4 Disable EditMountPoints dialog if partition cannot be mounted. 2016-05-24 16:44:07 +01:00
Andrius Štikonas 88fa3c3697 Fix mountpointdialog for encrypted filesystems. 2016-05-24 16:35:39 +01:00
Andrius Štikonas b94564e360 Convert remaining QObject::connect to new syntax. 2016-05-22 20:03:49 +01:00
Andrius Štikonas ae5089abfc Luks helper functions are non-static now. 2016-05-20 19:38:56 +01:00
Andrius Štikonas 5a408305f2 Convert some signals and slots to the new syntax. 2016-05-18 22:23:59 +01:00
Andrius Štikonas fb18336e95 Do not show luks filesystem in combobox in PartPropsDialog when not necessary. 2016-05-18 19:14:20 +01:00
Andrius Štikonas 59862f48dd Do not allow moving first sector if moving partition is disabled. 2016-05-18 15:28:59 +01:00
Andrius Štikonas 6ae11620f3 Relax restriction on decrypt/deactivate. 2016-05-18 14:56:57 +01:00
Andrius Štikonas f8ecc67811 Disable Luks decrypt/deactivate if operation stack is non-empty. 2016-05-18 13:14:10 +01:00
Andrius Štikonas 262bda5b3b Do not allow moving first sector if moving partition is disabled. 2016-05-18 12:08:20 +01:00
Andrius Štikonas 8b7982df08 Update function description to match current parameters. 2016-05-18 11:59:06 +01:00
Andrius Štikonas a2c3cfa074 Do not show luks as an option to reformat in partition properties dialog. 2016-05-18 11:54:24 +01:00
Andrius Štikonas 65d80dd405 Respect minCapacity when creating new filesystem in small unallocated partition
BUG:363050
2016-05-17 19:33:08 +01:00
Andrius Štikonas 1dc73f975d Do not allow recreating luks filesystem. 2016-05-17 18:53:14 +01:00
Andrius Štikonas 374f88fa5f Remove reduntant virtual keywords. 2016-05-17 18:03:28 +01:00
Andrius Štikonas c01d63cb02 Revert "Remove Luks from FileSystemFactory."
This reverts commit dd1f6aaae0.
2016-05-17 15:30:57 +01:00
Andrius Štikonas dd1f6aaae0 Remove Luks from FileSystemFactory. 2016-05-17 15:05:05 +01:00
Andrius Štikonas 8763fbf2ae Add an indication when filesystem is encrypted. 2016-05-17 01:25:52 +01:00
Andrius Štikonas ac278bb06d Check whether LUKS verification passphrase matches.
Set passphrase length to be from 1 to 512.
2016-05-17 01:06:45 +01:00
Andrius Štikonas ca6398fe99 Remove non-user friendly captions. 2016-05-12 21:45:07 +01:00
Andrius Štikonas 21d02b31dc Fix a typo. 2016-05-10 15:16:05 +01:00
Andrius Štikonas 18aecafe46 Port from QRegExp to QRegularExpression. 2016-05-10 15:08:06 +01:00
Andrius Štikonas b940840a86 Fix importing partition table. 2016-05-10 14:49:57 +01:00
Andrius Štikonas 57fea2269d Use KActionCollection::setDefaultShortcut to silence warnings on startup. 2016-05-08 02:29:49 +01:00
Andrius Štikonas 98835662ca Start migration from QLineEdit to KNewPasswordWidget for LUKS passphrases. 2016-04-29 21:27:43 +01:00
Andrius Štikonas b0cf50e443 Pass a pointer to the parent widget to decrypt dialog. 2016-04-29 12:36:32 +01:00
Andrius Štikonas 0d76d71fc4 Merge branch 'master' into luks-decorator 2016-04-28 14:48:06 +01:00
Andrius Štikonas 51bf1b94f8 Move constructor to .cpp file. 2016-04-28 14:09:51 +01:00
Andrius Štikonas b21d1ffa84 Resize the header of ApplyProgressDialogWidget. 2016-04-28 14:01:09 +01:00
Andrius Štikonas 1832059353 Add override keyword to virtual functions. 2016-04-28 00:17:47 +01:00
Andrius Štikonas 92d4ea5d95 Fix incorrect HTML markup. 2016-04-27 18:53:26 +01:00
Andrius Štikonas 80b01010a6 Never show encrypt options for Extended partitions. 2016-04-26 14:39:15 +01:00
Andrius Štikonas 97bd4e94e1 Do not use QStringLiteral for empty strings. 2016-04-26 13:55:58 +01:00
Andrius Štikonas e5eed419f3 Do not show luks in FileSystemSupportDialog. 2016-04-26 13:03:10 +01:00
Andrius Štikonas 8f05b9e422 Limit passphrase input field to 512 characters. 2016-04-26 12:52:46 +01:00
Andrius Štikonas 2790b430bb Allow setting labels during creation of LUKS volume. 2016-04-24 17:48:24 +01:00
Teo Mrnjavac 221c375bd4 Rookie mistake. 2016-04-21 19:30:18 +02:00
Teo Mrnjavac 9a8dc0127d Force show the passphrase widgets. 2016-04-21 19:25:53 +02:00
Teo Mrnjavac 1e300afbac Correctly hide passphrase widget. 2016-04-21 19:21:34 +02:00
Teo Mrnjavac f56539a4b0 Revert "Do not delete checkbox and passprase widget objects."
This reverts commit 2bed9f23eb.
2016-04-21 18:44:25 +02:00
Teo Mrnjavac 5fc1683672 Don't crash on resize dialog. 2016-04-21 18:43:54 +02:00
Andrius Štikonas 2bed9f23eb
Do not delete checkbox and passprase widget objects.
Workarounds a crash when resizing LUKS partitions.
2016-04-21 17:37:49 +01:00
Teo Mrnjavac a1b886578f Set the passphrase on FS::luks. 2016-04-21 17:57:25 +02:00
Teo Mrnjavac 5f3a0ca691 Hide it by default. 2016-04-21 17:56:55 +02:00
Teo Mrnjavac 0c065cd786 Add passphrase widget to create dialog. 2016-04-21 17:56:44 +02:00
Teo Mrnjavac 64668df117 Avoid using exceptions, again. 2016-04-20 15:15:01 +02:00
Teo Mrnjavac 1b958db71f Avoid using exceptions. 2016-04-20 14:46:22 +02:00
Teo Mrnjavac cf4d687d54 Rely on the partition role instead of the filesystem type. 2016-04-19 17:08:01 +02:00
Teo Mrnjavac 29d3a92805 Use the role instead of the filesystem type to detect a LUKS volume. 2016-04-19 16:54:33 +02:00
Teo Mrnjavac 03d3925775 PartitionRole::LUKS is now PartitionRole::Luks. 2016-04-19 16:53:56 +02:00
Andrius Štikonas ad64f7537b
Rename qglobal.h to QtGlobal 2016-04-18 17:17:19 +01:00
Andrius Štikonas f878865aa0
Merge branch 'master' into luks-decorator 2016-04-16 00:34:50 +01:00
Andrius Štikonas b3303ee6bf
Fix LUKS encryption support for filesystems without support for writing label.
This enables LUKS encryption for Reiser4 and LVM PV.
2016-04-16 00:28:14 +01:00
Teo Mrnjavac 13031913f4 Update copyrights. 2016-04-15 15:45:22 +02:00
Teo Mrnjavac 46baf7c440 Create FS as inner FS in LUKS if the encrypt setting is checked.
Filter out LUKS from FS combo.
2016-04-15 15:38:11 +02:00
Teo Mrnjavac c67911c0d2 Hide LUKS checkBox by default. 2016-04-15 15:36:41 +02:00
Teo Mrnjavac b0b2eccc23 Add "Encrypt" checkBox to partition widget.
Also replace occurrences of NULL with nullptr.
2016-04-15 15:35:45 +02:00
Andrius Štikonas cf891183cb
Always use because it is type safe. 2016-04-14 19:18:36 +01:00
Teo Mrnjavac 0c780279ae Resurrect LUKS code which was previously merged+reverted.
Revert "Revert "Merge branch 'luks-decorator'""

This reverts commit 6806de6fb7.
2016-03-31 18:20:57 +02:00
Andrius Štikonas 9c91e25e96 Update copyright. 2016-03-02 18:33:40 +00:00
Teo Mrnjavac 97175c71ad Fix bug with EditMountPointDialog not having Ok&Cancel buttons. 2016-02-29 01:11:10 +00:00
Andrius Štikonas c140e6665f Fix checkSupportInNode for extended partitions (disables bogus warning). 2016-02-29 01:05:39 +00:00
Teo Mrnjavac 5e7c9f7131 Fix crash when applying settings. 2016-02-26 15:32:14 +01:00
Andrius Štikonas d2a013222e Use KLocalizeStrings to avoid nested xi18n calls.
Nested xi18n calls cause QStrings to be escaped and makes HTML
visible in KMessageBox.

BUG: 354925
2016-02-18 14:59:59 +00:00
Andrius Štikonas 15b7fa3470 kpmcore/ prefix in #includes is no longer required. 2016-01-12 00:12:49 +00:00
Andrius Štikonas 333e03ac10 Get rid of kpmgui internal library.
kpmgui was basically the whole partitionmanager except for main.cpp file.
All useful functions were moved to kpmcore library, kpmgui is not necessary now.
2016-01-06 15:56:32 +02:00
Andrius Štikonas 6806de6fb7 Revert "Merge branch 'luks-decorator'"
This reverts commit 54ce33b472, reversing
changes made to 98d08a81c5.
2015-09-16 14:14:53 +01:00
Teo Mrnjavac a88ceb2140 Fix bug with EditMountPointDialog not having Ok&Cancel buttons. 2015-08-14 18:07:26 +02:00
Teo Mrnjavac 65ffb182c5 Hook up new LUKS functionality from KPMcore.
Add decrypt action to actionCollection and context menu.
Wrap very long lines.
Replace NULL with nullptr, TODO: do this everywhere.
2015-08-14 17:57:27 +02:00
Teo Mrnjavac 6e1ff468d3 Set partition color code on PartWidget, and react to settings change. 2015-07-17 13:37:30 +02:00
Teo Mrnjavac 9d9a2b345a Make sure sectorAlignment is set. 2015-07-15 19:03:39 +02:00
Andrius Štikonas 81004a2445 Format partitionmanager code using KDE style. 2015-07-13 17:17:41 +03:00
Teo Mrnjavac 94bae2494f Fix indentation. 2015-07-13 15:50:45 +02:00
Teo Mrnjavac 23084a258d Specify default filesystem type when creating new partition. 2015-07-13 15:33:45 +02:00
Teo Mrnjavac c0381cd913 Read Shred action from KConfig. 2015-07-10 15:57:02 +02:00
Teo Mrnjavac cf51fa1ad0 Move PartResizerWidget and related to KPMcore. 2015-07-08 18:16:03 +02:00
Andrius Štikonas 618468742c Move FileSystem::defaultFileSystem to GUI. 2015-06-30 22:22:13 +03:00
Andrius Štikonas a58a041e6a Move Capacity::preferredUnit to GUI. 2015-06-14 02:06:18 +01:00
Andrius Štikonas 11b097141a Move createFileSystemColor back to GUI. 2015-06-12 13:11:29 +01:00
Andrius Štikonas b651d8de89 Move kpmcore to another repository (sysadmin/kpmcore) 2015-06-04 01:51:56 +01:00
Andrius Štikonas 9d135978ad Add HiDPI support. 2015-04-09 23:26:52 +03:00
Andrius Štikonas 8e5c1b1ebd Move naturalLessThan function out of util/helpers. 2015-03-28 16:56:39 +00:00
Andrius Štikonas 93f6bcdc83 Generate export header for libkpmgui. 2015-03-28 00:43:38 +00:00
Chris Campbell 0ff2c923c3 Split partitionmanagerprivate into kpmcore and kpmgui.
Please enter the commit message for your changes. Lines starting
2015-03-27 16:28:21 +00:00
Andrius Štikonas bbb2fa3067 Use GPLv3 copyright notices. 2015-02-07 00:32:25 +00:00
Andrius Štikonas 97baf57d67 Fix size constrains of extendable part of sizedialog. 2015-02-05 10:37:50 +00:00
Andrius Štikonas d52ea34cf7 Complete KF5 port:
* Expose backend versions in a similar manner to backend Id.
 * Fix configure dialog signals.
2015-02-05 00:09:39 +00:00
Teo Mrnjavac aa132e1cdb Try to port backend loading away from KAboutData. 2015-02-03 19:53:46 +01:00
Yuri Chornoivan b44042a200 Fix tags 2014-11-30 11:52:13 +02:00
Andrius Štikonas 109d35d9f4 Fix build. 2014-11-19 12:05:22 +00:00
Andrius Štikonas cc8e02cb43 Port away from deprecated KF5 methods. 2014-11-03 19:57:25 +00:00
Aurélien Gâteau b313365276 Remove stray kcolorscheme.h include 2014-08-08 20:28:49 +03:00
Aurélien Gâteau a9cd6ae885 Draw the border around the handles
Otherwise they are difficult to see when the partition takes all the space
2014-08-08 20:28:49 +03:00
Aurélien Gâteau 40f579a811 PartResizerWidget: Render the background using a QLineEdit
This is more readable when style is not Oxygen
2014-08-08 20:28:49 +03:00
Andrius Štikonas debfbade66 Display KDE Frameworks (KXmlGui) version. 2014-05-29 12:52:33 +01:00
Andrius Štikonas f78c34778e Make shredSource radio button work again. 2014-05-29 02:45:36 +01:00
Andrius Štikonas 7fbae9ee29 Port to new Qt5 macro QStringLiteral and use stricter compile flags
Now compile with:
  -DQT_USE_QSTRINGBUILDER
  -DQT_NO_CAST_TO_ASCII
  -DQT_NO_CAST_FROM_ASCII
  -DQT_STRICT_ITERATORS
  -DQT_NO_URL_CAST_FROM_STRING
  -DQT_NO_CAST_FROM_BYTEARRAY
  -DQT_NO_SIGNALS_SLOTS_KEYWORDS
  -DQT_USE_FAST_OPERATOR_PLUS
2014-05-20 22:33:02 +01:00
Andrius Štikonas f3dd3157a6 Initial port to KDE Frameworks 5.
The port is mostly complete:
    * A few unported items are marked with FIXME: port KF5.
    * KCFG configuration for QGroupBox is not working yet.
2014-05-18 21:41:48 +01:00
Andrius Štikonas 5eb2a06da4 Use QLocale().toString instead of KGlobal::locale() 2014-05-18 16:55:29 +01:00
Andrius Štikonas d1ae9dc4a7 Port away from KMenu. 2014-05-17 03:20:43 +01:00
Andrius Štikonas 81ce940171 Port away from KAction. 2014-05-17 03:12:10 +01:00
Andrius Štikonas dcdffadc3e Port away from KDialog. 2014-05-17 03:06:58 +01:00
Andrius Štikonas 066cd120e7 Partially port away from KIcon. 2014-05-17 02:27:42 +01:00
Andrius Štikonas a490106e75 Port away from KTextEdit. 2014-05-17 02:14:18 +01:00
Andrius Štikonas 14e9ecb779 Port away from KLineEdit, KPushButton and KComboBox. 2014-05-14 01:01:34 +01:00
Andrius Štikonas ed431cfcd5 Partially port away from KLocale.
KLocale was replaced with KLocalizedString and QLocale.
Only changes that do not break compilation with KDELibs4 are made.
2014-05-13 23:53:37 +01:00
Andrius Štikonas b2d299e18d Port away from KDebug.
Replace a few more kWarning() that were missed in the last commit.
2014-05-13 23:52:54 +01:00
Andrius Štikonas 2b537490ad Port away from KDebug. 2014-05-13 14:47:35 +01:00
Andrius Štikonas 2b75f43bb0 Support for decrypting LUKS volumes.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1362680
2013-08-09 19:25:48 +00:00
Andrius Štikonas 59e5a656c5 Fix detection of partitions' paths.
Previously, partition number was added to device path.
However, there are devices with more complicated numbering scheme,
e.g. memory cards may have /dev/mmcblk0p1.
It seems that the easiest way to handle this is to use partition
path instead of device path + partition number .
BUG:256964

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1337488
2013-02-05 00:09:43 +00:00
Andrius Štikonas 084c604c3c Make filesystem label length depend on file system.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1330603
2013-01-03 12:43:03 +00:00
Volker Lanz 6ab19a9c49 Remove unused slot for menu-bar-removal warning.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1329474
2012-12-22 12:29:36 +00:00
Volker Lanz 0336c4635d fix wrong/outdated doxygen comment for ctor
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1328194
2012-12-12 00:12:30 +00:00
Andrius Štikonas ebf4c75855 Don't draw resize handles for unresizable partitions.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1328017
2012-12-10 18:38:55 +00:00
Andrius Štikonas 298fcf1772 Set unresizable partitions as read only.
BUG:310632

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1327840
2012-12-09 15:54:22 +00:00
Andrius Štikonas c93da7c1ae Use fileSystem().type() to avoid string comparison.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1325825
2012-11-21 18:38:41 +00:00
Andrius Štikonas 39dc9c5c46 Print more info about LUKS partitions in the infopane.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1325759
2012-11-21 00:54:04 +00:00
Volker Lanz 9b33918f08 Remove wrong todo: The resize dialog does indeed have a
dirty bit.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1324098
2012-11-05 10:19:27 +00:00
Volker Lanz 7ee70cf9bd Don't offer action to hide menu bar, it's a trap.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1324070
2012-11-05 09:25:27 +00:00
Andrius Štikonas 98034975a7 Correctly format byte size units.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1280226
2012-02-15 17:21:40 +00:00
Volker Lanz d80b35382f log backend plugin and version when scanning devices. generally not a bad idea,
but currently required to make sure we run with the correct libparted version
during development.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1274437
2012-01-18 11:17:25 +00:00
Volker Lanz 1002424cf7 another year...
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1274434
2012-01-18 11:03:06 +00:00
Volker Lanz eb8422e1a7 fix weird formatting
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1274433
2012-01-18 11:02:35 +00:00
Volker Lanz 8c25f446c8 naturally sort the list of devices we have no fs-support for
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1236306
2011-06-12 09:33:11 +00:00
Albert Astals Cid c934fa5daa Convert these extracomment to comment
Because:
 * We have a bug in our scripts that makes extracomment not work (will try to fix this asap)
 * Makes sense to be a comment since we want it to be a disambiguation text
 * KUIT markers (e.g. @label) need to be in comment     

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1231324
2011-05-10 22:22:58 +00:00
Volker Lanz 92859b3aa5 use plastique as a fallback style if user is running GTK style so the part
widget display is ok.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1226198
2011-03-27 16:44:29 +00:00
Volker Lanz fd3105a50a Fix double margins and set margins to zero for the panel layouts where it makes
sense. Spotted and original patch provided by Aurélien Gâteau
<agateau@kde.org>. Thanks!

CCMAIL:agateau@kde.org

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1226196
2011-03-27 16:26:45 +00:00
Pino Toscano 9636acce06 fixuifiles
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1196188
2010-11-12 19:04:52 +00:00
Volker Lanz c4d159e6c5 krazy2 fixes
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1160573
2010-08-08 12:36:05 +00:00
Volker Lanz fe6f80379a make sure not to return false when isSectorBase() is called more than once.
make the heuristic to determine if a partition table is sector aligned a little
less dumb.

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1140829
2010-06-21 15:49:53 +00:00
Volker Lanz 84699a502f set all partwidgets to 60px in height
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1140817
2010-06-21 15:23:24 +00:00