[gparted] Make the Name Partition dialog a bit bigger (#778003)
- From: Mike Fleetwood <mfleetwo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gparted] Make the Name Partition dialog a bit bigger (#778003)
- Date: Tue, 14 Feb 2017 18:59:40 +0000 (UTC)
commit 925e505f77802955f831b8d32b390ad24ee3db07
Author: Refael Sheinker <refaelsh gmail com>
Date: Sat Feb 11 20:55:50 2017 +0000
Make the Name Partition dialog a bit bigger (#778003)
Increase the size of the Name Partition dialog, matching the change made
to the Label File System dialog in the previous commit. The code for
the Name Partition dialog was basically copied from the Label File
System dialog.
Bug 778003 - The "Label File System" dialog is too small
src/Dialog_Partition_Name.cc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/Dialog_Partition_Name.cc b/src/Dialog_Partition_Name.cc
index 37cc274..da2b5cd 100644
--- a/src/Dialog_Partition_Name.cc
+++ b/src/Dialog_Partition_Name.cc
@@ -24,7 +24,7 @@ Dialog_Partition_Name::Dialog_Partition_Name( const Partition & partition, int m
{
this->set_resizable( false );
this->set_has_separator( false );
- this->set_size_request( 300, 80 );
+ this->set_size_request( 400, -1 );
/* TO TRANSLATORS: dialog title, looks like Set partition name on /dev/hda3 */
this->set_title( String::ucompose( _("Set partition name on %1"), partition.get_path() ) );
@@ -51,7 +51,7 @@ Dialog_Partition_Name::Dialog_Partition_Name( const Partition & partition, int m
// certain extended characters this limit will be too generous.
entry->set_max_length( max_length );
- entry->set_width_chars( 20 );
+ entry->set_width_chars( 30 );
entry->set_activates_default( true );
entry->set_text( partition.name );
entry->select_region( 0, entry->get_text_length() );
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]