[gparted/44-title-not-set-in-resize-move-dialog-for-extended-partitions] Set title of Resize/Move dialog for an extended partition (#44)
- From: Mike Fleetwood <mfleetwo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gparted/44-title-not-set-in-resize-move-dialog-for-extended-partitions] Set title of Resize/Move dialog for an extended partition (#44)
- Date: Thu, 14 Mar 2019 10:42:56 +0000 (UTC)
commit a1650b1c8c7efbafdaa8be987fd91edd41889a88
Author: Mike Fleetwood <mike fleetwood googlemail com>
Date: Thu Mar 14 10:09:44 2019 +0000
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]