diff --git a/ChangeLog b/ChangeLog index e77bce06..f4032cfa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-04-15 Bart Hakvoort + + * src/Win_GParted.cc: hide dialogs after setting new disklabel + 2006-04-15 Bart Hakvoort * src/GParted_Core.cc: creating a new partition on a BSD partitiontable diff --git a/src/Win_GParted.cc b/src/Win_GParted.cc index 063dd4fb..fdc4c769 100644 --- a/src/Win_GParted.cc +++ b/src/Win_GParted.cc @@ -1656,7 +1656,7 @@ void Win_GParted::activate_disklabel() m_dialog .set_secondary_text( String::ucompose( _("This operation will destroy all data on %1!"), devices[ current_device ] .get_path() ) ) ; - m_dialog .add_button( _("Create"), Gtk::RESPONSE_OK ); + m_dialog .add_button( _("Create"), Gtk::RESPONSE_OK ) ; if ( m_dialog .run() == Gtk::RESPONSE_OK && ! gparted_core .Set_Disklabel( devices[ current_device ] .get_path(), dialog .Get_Disklabel() ) ) @@ -1669,6 +1669,9 @@ void Win_GParted::activate_disklabel() true ) ; dialog .run() ; } + + m_dialog .hide() ; + dialog .hide() ; menu_gparted_refresh_devices() ; }