Added thread status message update to pulsebar.

svn path=/trunk/; revision=944
This commit is contained in:
Curtis Gedak 2008-10-30 18:51:14 +00:00
parent 2331bd0763
commit f543db1541
2 changed files with 6 additions and 0 deletions

View File

@ -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()

View File

@ -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() ;