[gparted] Use virtual get_filessytem_string() in remaining operation descriptions (#774818)
- From: Curtis Gedak <gedakc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gparted] Use virtual get_filessytem_string() in remaining operation descriptions (#774818)
- Date: Sat, 14 Jan 2017 15:54:46 +0000 (UTC)
commit 86597b86720879fec7182f0e2eb86279f8c5a157
Author: Mike Fleetwood <mike fleetwood googlemail com>
Date: Thu Dec 15 15:03:18 2016 +0000
Use virtual get_filessytem_string() in remaining operation descriptions (#774818)
Switch the remaining create and delete operation description generation
to use the virtual Partition get_filesystem_string() method.
Bug 774818 - Implement LUKS read-write actions NOT requiring a
passphrase
src/OperationCreate.cc | 2 +-
src/OperationDelete.cc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/OperationCreate.cc b/src/OperationCreate.cc
index a659a5e..49ff1ec 100644
--- a/src/OperationCreate.cc
+++ b/src/OperationCreate.cc
@@ -71,7 +71,7 @@ void OperationCreate::create_description()
description = String::ucompose( _("Create %1 #%2 (%3, %4) on %5"),
description,
partition_new->partition_number,
- Utils::get_filesystem_string( partition_new->filesystem ),
+ partition_new->get_filesystem_string(),
Utils::format_size( partition_new->get_sector_length(),
partition_new->sector_size ),
device.get_path() );
diff --git a/src/OperationDelete.cc b/src/OperationDelete.cc
index 96387c9..b33ed6b 100644
--- a/src/OperationDelete.cc
+++ b/src/OperationDelete.cc
@@ -114,7 +114,7 @@ void OperationDelete::create_description()
/*TO TRANSLATORS: looks like Delete /dev/hda2 (ntfs, 345 MiB) from /dev/hda */
description = String::ucompose( _("Delete %1 (%2, %3) from %4"),
description,
- Utils::get_filesystem_string( partition_original->filesystem ),
+ partition_original->get_filesystem_string(),
Utils::format_size( partition_original->get_sector_length(),
partition_original->sector_size ),
partition_original->device_path );
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]