hide dialogs after setting new disklabel
* src/Win_GParted.cc: hide dialogs after setting new disklabel
This commit is contained in:
parent
2c3ce61275
commit
9756799d47
|
@ -1,3 +1,7 @@
|
|||
2006-04-15 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||
|
||||
* src/Win_GParted.cc: hide dialogs after setting new disklabel
|
||||
|
||||
2006-04-15 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||
|
||||
* src/GParted_Core.cc: creating a new partition on a BSD partitiontable
|
||||
|
|
|
@ -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() ;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue