[gnome-disk-utility] When restoring a disk image onto a bigger target, use info, not warning
- From: David Zeuthen <davidz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-disk-utility] When restoring a disk image onto a bigger target, use info, not warning
- Date: Thu, 3 May 2012 16:04:55 +0000 (UTC)
commit 2ced8920117c0d89de7d0a6737ac546e75a70301
Author: David Zeuthen <davidz redhat com>
Date: Thu May 3 12:02:03 2012 -0400
When restoring a disk image onto a bigger target, use info, not warning
... in the cluebar when communicating this to the user. The reason for
this is that it's pretty common to use this feature to put a live-cd
onto a USB stick - see
https://plus.google.com/u/0/110773474140772402317/posts/WEBSpELokqf
for some discussion
Signed-off-by: David Zeuthen <davidz redhat com>
src/disks/gdurestorediskimagedialog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/disks/gdurestorediskimagedialog.c b/src/disks/gdurestorediskimagedialog.c
index 041c9f1..d28f64c 100644
--- a/src/disks/gdurestorediskimagedialog.c
+++ b/src/disks/gdurestorediskimagedialog.c
@@ -463,7 +463,7 @@ gdu_restore_disk_image_dialog_show2 (RestoreDiskImageData *data)
g_signal_connect (data->source_file_fcbutton, "file-set",
G_CALLBACK (on_file_set), data);
data->infobar_vbox = GTK_WIDGET (gtk_builder_get_object (data->builder, "infobar-vbox"));
- data->warning_infobar = gdu_utils_create_info_bar (GTK_MESSAGE_WARNING, "", &data->warning_label);
+ data->warning_infobar = gdu_utils_create_info_bar (GTK_MESSAGE_INFO, "", &data->warning_label);
gtk_box_pack_start (GTK_BOX (data->infobar_vbox), data->warning_infobar, TRUE, TRUE, 0);
gtk_widget_set_no_show_all (data->warning_infobar, TRUE);
data->error_infobar = gdu_utils_create_info_bar (GTK_MESSAGE_ERROR, "", &data->error_label);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]