From cca8bb415dde3acabf2f8510dca042690c9ac3f3 Mon Sep 17 00:00:00 2001 From: Bart Hakvoort Date: Mon, 6 Mar 2006 11:56:59 +0000 Subject: [PATCH] made message about max. primary partitions a bit more informative. * src/Win_GParted.cc: made message about max. primary partitions a bit more informative. --- ChangeLog | 5 +++++ src/Win_GParted.cc | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 72a73bf4..ab89029f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-03-06 Bart Hakvoort + + * src/Win_GParted.cc: made message about max. primary partitions a bit + more informative. + 2006-03-05 Bart Hakvoort * include/GParted_Core.h, diff --git a/src/Win_GParted.cc b/src/Win_GParted.cc index ffb461aa..5a23fbbb 100644 --- a/src/Win_GParted.cc +++ b/src/Win_GParted.cc @@ -1069,8 +1069,7 @@ bool Win_GParted::max_amount_prim_reached() { //Display error if user tries to create more primary partitions than the partition table can hold. if ( ! selected_partition .inside_extended && primary_count >= devices[ current_device ] .max_prims ) - {//FIXME..maybe we should mention the fact the user needs to remove an primary before - //he can add an extended.. + { Gtk::MessageDialog dialog( *this, String::ucompose( _("It is not possible to create more than %1 primary partitions"), @@ -1081,7 +1080,7 @@ bool Win_GParted::max_amount_prim_reached() true ) ; dialog .set_secondary_text( - _( "If you want more partitions you should first create an extended partition. Such a partition can contain other partitions.") ) ; + _( "If you want more partitions you should first create an extended partition. Such a partition can contain other partitions. Because an extended partition is also a primary partition it might be necessary to remove a primary partition first.") ) ; dialog .run() ;