[gnome-control-center] shell: CcNotebook can focus indeed



commit b82141038e3a55d01cda805badd562130a9bd887
Author: Bastien Nocera <hadess hadess net>
Date:   Tue May 22 17:48:11 2012 +0100

    shell: CcNotebook can focus indeed

 shell/cc-notebook.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/shell/cc-notebook.c b/shell/cc-notebook.c
index 8dd3400..84dd833 100644
--- a/shell/cc-notebook.c
+++ b/shell/cc-notebook.c
@@ -315,6 +315,8 @@ cc_notebook_init (CcNotebook *self)
 {
         self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self, CC_TYPE_NOTEBOOK, CcNotebookPrivate);
 
+        gtk_widget_set_can_focus (GTK_WIDGET (self), TRUE);
+
         self->priv->embed = gtk_clutter_embed_new ();
         gtk_widget_push_composite_child ();
         gtk_container_add (GTK_CONTAINER (self), self->priv->embed);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]