Added thread status message update to pulsebar.
svn path=/trunk/; revision=944
This commit is contained in:
parent
2331bd0763
commit
f543db1541
|
@ -1,5 +1,7 @@
|
|||
2008-10-30 Curtis Gedak <gedakc@gmail.com>
|
||||
|
||||
* src/Win_GParted.cc: Added thread status message update to pulsebar
|
||||
|
||||
* include/GParted_Core.h,
|
||||
src/GParted_Core.cc: Added set and get thread status message methods
|
||||
- Added thread status message updates in set_devices()
|
||||
|
|
|
@ -574,6 +574,10 @@ void Win_GParted::show_pulsebar( const Glib::ustring & status_message )
|
|||
Gtk::Main::iteration();
|
||||
|
||||
usleep( 10000 );
|
||||
|
||||
Glib::ustring tmp_msg = gparted_core .get_thread_status_message() ;
|
||||
if ( tmp_msg != "" )
|
||||
statusbar .push( tmp_msg ) ;
|
||||
}
|
||||
|
||||
thread ->join() ;
|
||||
|
|
Loading…
Reference in New Issue