From 6a6d6de83170d74be8dfbf673aa9b964e78cef2d Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Thu, 5 Feb 2009 15:41:47 +0100 Subject: Make partition type change work again really stupid little mistake :-( --- src/nautilus-gdu-window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nautilus-gdu-window.c b/src/nautilus-gdu-window.c index 0b7d664..f43da9c 100644 --- a/src/nautilus-gdu-window.c +++ b/src/nautilus-gdu-window.c @@ -822,7 +822,7 @@ format_action_completed (GduDevice *device, scheme = gdu_device_partition_get_scheme (device); // g_print ("format_action_completed: scheme = %s\n", scheme); /* TODO: extend to other partition types once this feature is working in DK */ - if (data->priv->job_cancelled && strcmp (scheme, "mbr") == 0) { + if (! data->priv->job_cancelled && strcmp (scheme, "mbr") == 0) { part_type = gdu_device_partition_get_type (device); data->recommended_part_type = get_part_type_for_fs (data->fstype); g_print ("format_action_completed: part_type = %s, recommended_part_type = %s\n", part_type, data->recommended_part_type); -- cgit