[gnome-disk-utility/new-ui] Show filesystem details in GduFormatDialog
- From: David Zeuthen <davidz src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-disk-utility/new-ui] Show filesystem details in GduFormatDialog
- Date: Mon, 26 Oct 2009 18:36:52 +0000 (UTC)
commit 5cea6bfa0b67fc58c584f0dbdc74656c0ca2d443
Author: David Zeuthen <davidz redhat com>
Date: Mon Oct 26 14:36:00 2009 -0400
Show filesystem details in GduFormatDialog
src/gdu-gtk/gdu-format-dialog.c | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/src/gdu-gtk/gdu-format-dialog.c b/src/gdu-gtk/gdu-format-dialog.c
index 3c31925..f07e3dc 100644
--- a/src/gdu-gtk/gdu-format-dialog.c
+++ b/src/gdu-gtk/gdu-format-dialog.c
@@ -37,6 +37,7 @@ struct GduFormatDialogPrivate
GtkWidget *fs_label_entry;
GtkWidget *fs_type_combo_box;
+ GtkWidget *fs_type_desc_label;
GtkWidget *take_ownership_check_button;
GtkWidget *encrypt_check_button;
@@ -544,6 +545,19 @@ gdu_format_dialog_constructed (GObject *object)
dialog->priv->fs_type_combo_box = combo_box;
row++;
+ if (! (dialog->priv->flags & GDU_FORMAT_DIALOG_FLAGS_SIMPLE)) {
+ label = gtk_label_new (NULL);
+ gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
+ gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
+ gtk_table_attach (GTK_TABLE (table), label, 1, 2, row, row +1,
+ GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 2, 2);
+ dialog->priv->fs_type_desc_label = label;
+ row++;
+ gdu_util_fstype_combo_box_set_desc_label (dialog->priv->fs_type_combo_box,
+ dialog->priv->fs_type_desc_label);
+ }
+
+
/* filesystem label */
label = gtk_label_new (NULL);
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]