[gparted] Update AUTHORS file and minor variable rename



commit 813010b148e40f3b2e313bb079ffc960e0d2ce2c
Author: Curtis Gedak <gedakc gmail com>
Date:   Thu Jul 14 10:38:59 2011 -0600

    Update AUTHORS file and minor variable rename
    
    Add recognition for the work done by Markus Elfring.
    Also minor variable rename and added comment for patch to bug #634090.

 AUTHORS                      |    5 +++++
 src/Dialog_Base_Partition.cc |    8 ++++----
 src/Dialog_Partition_New.cc  |    3 ++-
 3 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/AUTHORS b/AUTHORS
index 2d96a10..f3d406b 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -36,6 +36,11 @@ Luca Bruno			<lucab debian org>
 	* Created btrfs.h, btrfs.c to support btrfs file system.
 	* Wrote patch for initial btrfs support.
 
+Markus Elfring		<elfring users sourceforge net>
+	* Wrote patch to change some local Dialog attributes to variables
+	* Wrote small patch to delete unnecessary null pointer checks
+	* Wrote small patch to add complete quoting for macro parameters
+
 Michael Monreal		<michael monreal gmx net>
 	* Wrote small patch to implement themed app icon in hicolor
 
diff --git a/src/Dialog_Base_Partition.cc b/src/Dialog_Base_Partition.cc
index ae76d3b..0fcd3b0 100644
--- a/src/Dialog_Base_Partition.cc
+++ b/src/Dialog_Base_Partition.cc
@@ -214,12 +214,12 @@ void Dialog_Base_Partition::Set_Confirm_Button( CONFIRMBUTTON button_type )
 		case RESIZE_MOVE:
 			{
 				Gtk::Image* image_temp(manage(new Gtk::Image(Gtk::Stock::GOTO_LAST, Gtk::ICON_SIZE_BUTTON)));
-				Gtk::HBox* box_resize_move(manage(new Gtk::HBox()));
+				Gtk::HBox* hbox_resize_move(manage(new Gtk::HBox()));
 
-				box_resize_move->pack_start(*image_temp, Gtk::PACK_EXPAND_PADDING);
-				box_resize_move->pack_start(*Utils::mk_label(fixed_start ? _("Resize") : _("Resize/Move")),
+				hbox_resize_move->pack_start(*image_temp, Gtk::PACK_EXPAND_PADDING);
+				hbox_resize_move->pack_start(*Utils::mk_label(fixed_start ? _("Resize") : _("Resize/Move")),
 							Gtk::PACK_EXPAND_PADDING);
-				button_resize_move.add(*box_resize_move);
+				button_resize_move.add(*hbox_resize_move);
 			}
 
 			this ->add_action_widget ( button_resize_move, Gtk::RESPONSE_OK ) ;
diff --git a/src/Dialog_Partition_New.cc b/src/Dialog_Partition_New.cc
index ad39988..75e6deb 100644
--- a/src/Dialog_Partition_New.cc
+++ b/src/Dialog_Partition_New.cc
@@ -308,10 +308,11 @@ void Dialog_Partition_New::optionmenu_changed( bool type )
 	//set fitting resizer colors
 	{
 		Gdk::Color color_temp;
-
+		//Background color
 		color_temp.set((optionmenu_type.get_history() == 2) ? "darkgrey" : "white");
 		frame_resizer_base->override_default_rgb_unused_color(color_temp);
 
+		//Partition color
 		color_temp.set(Utils::get_color(fs.filesystem));
 		frame_resizer_base->set_rgb_partition_color(color_temp);
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]