From 2aae7b0688af9121c92cc8ead59a55364282692a Mon Sep 17 00:00:00 2001 From: Mike Fleetwood <mike.fleetwood@googlemail.com> Date: Thu, 14 Mar 2019 10:09:44 +0000 Subject: [PATCH] Set title of Resize/Move dialog for an extended partition (#44) The title has never been set in this case, and defaulted to the name of the executable 'gpartedbin'. Fix this. Closes #44 - Title not set in Resize/Move dialog for extended partitions --- src/Dialog_Partition_Resize_Move.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Dialog_Partition_Resize_Move.cc b/src/Dialog_Partition_Resize_Move.cc index b8666f4c..15a3875b 100644 --- a/src/Dialog_Partition_Resize_Move.cc +++ b/src/Dialog_Partition_Resize_Move.cc @@ -232,6 +232,8 @@ void Dialog_Partition_Resize_Move::Resize_Move_Extended( const PartitionVector & { g_assert( new_partition != NULL ); // Bug: Not initialised by constructor calling set_data() + set_title(String::ucompose(_("Resize/Move %1"), new_partition->get_path())); + //calculate total size in MiB's of previous, current and next partition //first find index of partition unsigned int t = 0; -- 2.21.0