fixed issue with libparted detection (#330776) add FIXME

* configure.in: fixed issue with libparted detection (#330776)
* src/GParted_Core.cc: add FIXME
This commit is contained in:
Bart Hakvoort 2006-11-23 19:20:07 +00:00
parent 9189f1f32c
commit a1d21e0f42
3 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2006-11-23 Bart Hakvoort <hakvoort@cvs.gnome.org>
* configure.in: fixed issue with libparted detection (#330776)
* src/GParted_Core.cc: add FIXME
2006-11-08 Matic Zgur <mr.zgur@gmail.com>
* configure.in: Added sl (Slovenian) to ALL_LINGUAS.

View file

@ -36,7 +36,7 @@ dnl libparted
LIBPARTED_VERSION=1.7.1
AC_MSG_CHECKING(for libparted >= $LIBPARTED_VERSION)
LIBS_save="$LIBS"
LIBS="-lparted"
LIBS="-lparted -luuid -ldl"
AC_TRY_RUN(
#include <stdio.h>
#include <parted/parted.h>

View file

@ -306,6 +306,8 @@ bool GParted_Core::apply_operation_to_disk( Operation * operation )
succes = format( operation ->partition_new, operation ->operation_detail ) ;
break ;
case OPERATION_COPY:
//FIXME: in case of a new partition we should make sure the new partition is >= the source partition...
//i think it's best to do this in the dialog_paste
succes = ( operation ->partition_original .type == TYPE_UNALLOCATED ||
calibrate_partition( operation ->partition_new, operation ->operation_detail ) ) &&