gnome-games r8552 - trunk/libgames-support
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r8552 - trunk/libgames-support
- Date: Sat, 10 Jan 2009 15:35:54 +0000 (UTC)
Author: chpe
Date: Sat Jan 10 15:35:54 2009
New Revision: 8552
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8552&view=rev
Log:
Initial focus.
Modified:
trunk/libgames-support/games-scores-dialog.c
Modified: trunk/libgames-support/games-scores-dialog.c
==============================================================================
--- trunk/libgames-support/games-scores-dialog.c (original)
+++ trunk/libgames-support/games-scores-dialog.c Sat Jan 10 15:35:54 2009
@@ -512,6 +512,7 @@
FALSE, FALSE, 0);
self->_priv->combo = gtk_combo_box_new_text ();
+ gtk_combo_box_set_focus_on_click (GTK_COMBO_BOX (self->_priv->combo), FALSE);
gtk_box_pack_start (GTK_BOX (self->_priv->catbar),
self->_priv->combo, TRUE, TRUE, 0);
gtk_label_set_mnemonic_widget (GTK_LABEL (self->_priv->label), self->_priv->combo);
@@ -555,6 +556,8 @@
gtk_window_set_destroy_with_parent (GTK_WINDOW (self), TRUE);
+ gtk_widget_grab_focus (self->_priv->combo);
+
gtk_widget_show_all (vbox);
gtk_widget_hide (self->_priv->hdiv);
gtk_widget_hide (self->_priv->message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]