use VERSION instead of hardcoded numbers

This commit is contained in:
Bart Hakvoort 2004-09-25 22:24:24 +00:00
parent c5491cdd8f
commit c5f807a878
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
* src/Win_GParted.h, * src/Win_GParted.h,
src/Win_GParted.cc: removed expander. The diskinfo is now always visible. src/Win_GParted.cc: removed expander. The diskinfo is now always visible.
* src/Dialog_Partition_Info.cc: fixed small bug with overlapping text. * src/Dialog_Partition_Info.cc: fixed small bug with overlapping text.
* src/Dialog_About.cc: use VERSION instead of hardcoded numbers
2004-09-25 Bart Hakvoort <gparted@users.sf.net> 2004-09-25 Bart Hakvoort <gparted@users.sf.net>
* Dialog_About.cc: made "Translated by" tab a bit more sensible, also added an translator-credits string. * Dialog_About.cc: made "Translated by" tab a bit more sensible, also added an translator-credits string.

View File

@ -30,7 +30,7 @@ Dialog_About::Dialog_About()
this ->get_vbox()->pack_start( *label_temp ,Gtk::PACK_SHRINK ); this ->get_vbox()->pack_start( *label_temp ,Gtk::PACK_SHRINK );
label_temp = manage( new Gtk::Label() ) ; label_temp = manage( new Gtk::Label() ) ;
label_temp -> set_markup( "<span size='xx-large'><b>" + (Glib::ustring) _( "GParted" ) + " 0.0.4</b></span>" ) ; label_temp -> set_markup( "<span size='xx-large'><b>" + (Glib::ustring) _( "GParted" ) + " " + VERSION + "</b></span>" ) ;
this ->get_vbox()->pack_start( *label_temp ,Gtk::PACK_SHRINK ); this ->get_vbox()->pack_start( *label_temp ,Gtk::PACK_SHRINK );
label_temp = manage( new Gtk::Label() ) ; label_temp = manage( new Gtk::Label() ) ;