enabled set_do_overwrite_confirmation() for the detailsfile. raised gtkmm

* src/Dialog_Progress.cc: enabled set_do_overwrite_confirmation() for
  the detailsfile.
* configure.in: raised gtkmm dependency from 2.6 to 2.8
This commit is contained in:
Bart Hakvoort 2006-08-20 18:13:40 +00:00
parent ab8e1b586d
commit faddc9d1fc
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2006-08-20 Bart Hakvoort <hakvoort@cvs.gnome.org>
* src/Dialog_Progress.cc: enabled set_do_overwrite_confirmation() for
the detailsfile.
* configure.in: raised gtkmm dependency from 2.6 to 2.8
2006-08-20 Bart Hakvoort <hakvoort@cvs.gnome.org>
* include/Win_GParted.h,

View File

@ -35,7 +35,7 @@ AC_CHECK_LIB(dl, dlopen, [], AC_MSG_ERROR([*** dl library (libdl) not f
AC_CHECK_LIB(parted, ped_get_version, [], AC_MSG_ERROR([*** parted library (libparted) not found]))
AC_CHECK_DECL(PED_DEVICE_UBD, [], AC_MSG_ERROR([*** Requires libparted >= 1.6.25]), [#include <parted/parted.h>])
PKG_CHECK_MODULES(GTKMM, gtkmm-2.4 > 2.6 )
PKG_CHECK_MODULES(GTKMM, gtkmm-2.4 > 2.8 )
AC_SUBST(GTKMM_LIBS)
AC_SUBST(GTKMM_CFLAGS)

View File

@ -328,7 +328,7 @@ void Dialog_Progress::on_save()
dialog .set_transient_for( *this ) ;
dialog .set_current_folder( Glib::get_home_dir() ) ;
dialog .set_current_name( "gparted_details.htm" ) ;
// dialog .set_do_overwrite_confirmation( true ) ; FIXME: since gtkmm-2.8..
dialog .set_do_overwrite_confirmation( true ) ;
dialog .add_button( Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL ) ;
dialog .add_button( Gtk::Stock::SAVE, Gtk::RESPONSE_OK ) ; //there's no enum for SAVE