[gnome-bluetooth] When on the passkey page, hide everything but the cancel button
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-bluetooth] When on the passkey page, hide everything but the cancel button
- Date: Tue, 16 Jun 2009 09:44:26 -0400 (EDT)
commit 8fbb4b9bf1bc9f0f3ce7478125a37b1226e2e70a
Author: Bastien Nocera <hadess hadess net>
Date: Tue Jun 16 14:03:33 2009 +0100
When on the passkey page, hide everything but the cancel button
wizard/main.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/wizard/main.c b/wizard/main.c
index 694f12e..bb1395c 100644
--- a/wizard/main.c
+++ b/wizard/main.c
@@ -405,6 +405,15 @@ prepare_idle_cb (gpointer data)
gtk_widget_show (assistant->close);
gtk_widget_set_sensitive (assistant->close, TRUE);
}
+ if (page == PAGE_SETUP) {
+ gtk_widget_hide (assistant->forward);
+ gtk_widget_hide (assistant->back);
+ gtk_widget_hide (assistant->apply);
+ gtk_widget_hide (assistant->last);
+ gtk_widget_hide (assistant->close);
+ gtk_widget_show (assistant->cancel);
+ gtk_widget_set_sensitive (assistant->cancel, TRUE);
+ }
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]