Fix slightly messed up comment in Win_GParted::on_show() (#771816)
Bug 771816 - GParted never exits if the main window is closed before the initial device load completes
This commit is contained in:
parent
0fcf46da93
commit
6bacd6ae4d
|
@ -1393,10 +1393,10 @@ void Win_GParted::on_show()
|
|||
close_operationslist() ;
|
||||
|
||||
// Register callback for as soon as the main window has been shown to perform the
|
||||
// first load of the disk device details. Do it this way because the Gtk::main
|
||||
// first load of the disk device details. Do it this way because the Gtk main
|
||||
// loop doesn't seem to enable quit handling until on_show(), this function, has
|
||||
// drawn the main window for the first time and returned, and we want Close Window [Alt-quit to work
|
||||
// during the initial load of the disk device details.
|
||||
// drawn the main window for the first time and returned, and we want Close Window
|
||||
// [Alt-F4] to work during the initial load of the disk device details.
|
||||
g_idle_add( initial_device_refresh, this );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue