added *.swp some modifications to pass 'make distcheck' minor cleanups

* include/.cvsignore,
  src/.cvsignore: added *.swp
* Makefile.am,
  include/Dialog_Filesystems.h: some modifications to pass 'make
  distcheck'
* src/GParted_Core.cc: minor cleanups
This commit is contained in:
Bart Hakvoort 2005-11-25 12:59:47 +00:00
parent 1382c7bc17
commit e59276389e
6 changed files with 26 additions and 8 deletions

View File

@ -1,3 +1,11 @@
2005-11-25 Bart Hakvoort <hakvoort@cvs.gnome.org>
* 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 <hakvoort@cvs.gnome.org>
* include/FileSystem.h: cleanups
* include/GParted_Core.h,

View File

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

View File

@ -1,2 +1,3 @@
*.swp
Makefile
Makefile.in

View File

@ -18,7 +18,7 @@
#ifndef DIALOG_FILESYSTEMS
#define DIALOG_FILESYSTEMS
#include "include/Utils.h"
#include "../include/Utils.h"
#include "../include/i18n.h"
#include <gtkmm/dialog.h>

View File

@ -4,3 +4,4 @@ Makefile.in
.libs
gparted
*.o
*.swp

View File

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