[gnome-disk-utility/udisks2-port] Show write cache switch when needed
- From: David Zeuthen <davidz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-disk-utility/udisks2-port] Show write cache switch when needed
- Date: Wed, 30 Mar 2011 15:58:41 +0000 (UTC)
commit fd84ccee118f30adfbce5f6abbe4615a5f7e2f9a
Author: David Zeuthen <davidz redhat com>
Date: Wed Mar 30 11:57:49 2011 -0400
Show write cache switch when needed
This bug crept in with the last commit.
Signed-off-by: David Zeuthen <davidz redhat com>
src/palimpsest/gduwindow.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/palimpsest/gduwindow.c b/src/palimpsest/gduwindow.c
index 88b8821..2821762 100644
--- a/src/palimpsest/gduwindow.c
+++ b/src/palimpsest/gduwindow.c
@@ -1072,6 +1072,7 @@ update_device_page_for_lun (GduWindow *window,
/* TODO: get this from udisks */
gtk_switch_set_active (GTK_SWITCH (window->write_cache_switch), TRUE);
gtk_widget_show (gdu_window_get_widget (window, "devtab-write-cache-label"));
+ gtk_widget_set_no_show_all (gdu_window_get_widget (window, "devtab-write-cache-hbox"), FALSE);
gtk_widget_show_all (gdu_window_get_widget (window, "devtab-write-cache-hbox"));
size = udisks_lun_get_size (lun);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]