Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fwlive.git;a=commitdiff;h=3bb0df401f7b00e0a1f4e19c4d38a8a8b384b147

commit 3bb0df401f7b00e0a1f4e19c4d38a8a8b384b147
Author: James Buren <[email protected]>
Date:   Sun Feb 17 15:24:11 2013 -0600

strip out all the action delete UI updates for now

diff --git a/src/ui_newt.c b/src/ui_newt.c
index f9828f0..5b3c6f3 100644
--- a/src/ui_newt.c
+++ b/src/ui_newt.c
@@ -1128,18 +1128,6 @@ extern bool ui_window_partition(struct device 
**devices,struct disk **disks)
unsigned char partition = disk_partition_get_count(disk) - 1;

disk_delete_partition(disk);
-
-        if(partition > 0)
-        {
-          if(strcmp(disk_partition_get_purpose(disk,partition),"extended") == 
0)
-            snprintf(text,NEWT_WIDTH+1,"delete extended partition");
-          else
-            snprintf(text,NEWT_WIDTH+1,"delete last partition");
-
-          newtListboxInsertEntry(listbox,text,(void *) key.data,(void *) 
key.data);
-        }
-
-        newtListboxDeleteEntry(listbox,(void *) key.data);
}
}
else if(es.reason == NEWT_EXIT_COMPONENT && es.u.co == next)
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to