diff --git a/ChangeLog b/ChangeLog index 340baabf..39be2f71 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2005-11-25 Bart Hakvoort + * include/.cvsignore, + src/.cvsignore: added *.swp + * Makefile.am, + include/Dialog_Filesystems.h: some modifications to pass 'make + distcheck' + * src/GParted_Core.cc: minor cleanups + 2005-11-24 Bart Hakvoort * include/FileSystem.h: cleanups * include/GParted_Core.h, diff --git a/Makefile.am b/Makefile.am index b46a7a15..bccb4346 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,7 +8,15 @@ DESKTOP_FILES =$(DESKTOP_IN_FILES:.desktop.in=.desktop) desktopdir = $(datadir)/applications desktop_DATA = $(DESKTOP_FILES) -EXTRA_DIST = \ +EXTRA_DIST = \ $(DESKTOP_IN_FILES) \ - $(DESKTOP_FILES) \ - intltool-extract.in intltool-merge.in intltool-update.in + $(DESKTOP_FILES) \ + intltool-extract.in \ + intltool-merge.in \ + intltool-update.in + +DISTCLEANFILES = \ + intltool-extract \ + intltool-merge \ + intltool-update \ + $(desktop_DATA) diff --git a/include/.cvsignore b/include/.cvsignore index 282522db..4d0e4a91 100644 --- a/include/.cvsignore +++ b/include/.cvsignore @@ -1,2 +1,3 @@ +*.swp Makefile Makefile.in diff --git a/include/Dialog_Filesystems.h b/include/Dialog_Filesystems.h index e2d89b8f..a9f96d6e 100644 --- a/include/Dialog_Filesystems.h +++ b/include/Dialog_Filesystems.h @@ -18,7 +18,7 @@ #ifndef DIALOG_FILESYSTEMS #define DIALOG_FILESYSTEMS -#include "include/Utils.h" +#include "../include/Utils.h" #include "../include/i18n.h" #include diff --git a/src/.cvsignore b/src/.cvsignore index 84e36b8c..0b3f46ce 100644 --- a/src/.cvsignore +++ b/src/.cvsignore @@ -4,3 +4,4 @@ Makefile.in .libs gparted *.o +*.swp diff --git a/src/GParted_Core.cc b/src/GParted_Core.cc index 358151a3..0c7d409d 100644 --- a/src/GParted_Core.cc +++ b/src/GParted_Core.cc @@ -606,7 +606,7 @@ int GParted_Core::Create_Empty_Partition( const Glib::ustring & device_path, Par default : type = PED_PARTITION_FREESPACE; break ; //will never happen ;) } - c_part = ped_partition_new ( disk, type, NULL, new_partition .sector_start, new_partition .sector_end ) ; + c_part = ped_partition_new( disk, type, NULL, new_partition .sector_start, new_partition .sector_end ) ; if ( c_part ) { constraint = ped_constraint_any( device ); @@ -616,7 +616,7 @@ int GParted_Core::Create_Empty_Partition( const Glib::ustring & device_path, Par if ( copy ) constraint ->min_size = new_partition .sector_end - new_partition .sector_start ; - if ( ped_disk_add_partition ( disk, c_part, constraint ) && Commit( disk ) ) + if ( ped_disk_add_partition( disk, c_part, constraint ) && Commit( disk ) ) { //remove all filesystem signatures... ped_file_system_clobber ( & c_part ->geom ) ; @@ -627,7 +627,7 @@ int GParted_Core::Create_Empty_Partition( const Glib::ustring & device_path, Par new_partition .partition_number = c_part ->num ; } - ped_constraint_destroy ( constraint ); + ped_constraint_destroy( constraint ); } } @@ -796,7 +796,7 @@ void GParted_Core::set_partition_type( const Glib::ustring & device_path, const c_partition = ped_disk_get_partition_by_sector( disk, (partition .sector_end + partition .sector_start) / 2 ) ; if ( c_partition && ped_partition_set_system( c_partition, fs_type ) && Commit( disk ) ) - sleep( 1 ) ; //paranoia: give the OS some time to update nodes in /dev + sleep( 1 ) ; //the OS needs some time to update nodes in /dev } close_device_and_disk( device, disk ) ;