Add this function, to make mnemonic_activate work for combo boxes.

Thu Feb  5 23:48:19 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcombobox.c (gtk_combo_box_mnemonic_activate): Add this
	function, to make mnemonic_activate work for combo boxes.
	(#133443, Paolo Borelli)
This commit is contained in:
Matthias Clasen 2004-02-05 22:46:22 +00:00 committed by Matthias Clasen
parent f8ea97dfa6
commit ee6d7bb5a4
6 changed files with 35 additions and 6 deletions

View File

@ -1,3 +1,9 @@
Thu Feb 5 23:48:19 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c (gtk_combo_box_mnemonic_activate): Add this
function, to make mnemonic_activate work for combo boxes.
(#133443, Paolo Borelli)
Thu Feb 5 22:05:52 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfilesystemunix.c (bookmark_list_read): Initialize result

View File

@ -1,3 +1,9 @@
Thu Feb 5 23:48:19 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c (gtk_combo_box_mnemonic_activate): Add this
function, to make mnemonic_activate work for combo boxes.
(#133443, Paolo Borelli)
Thu Feb 5 22:05:52 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfilesystemunix.c (bookmark_list_read): Initialize result

View File

@ -1,3 +1,9 @@
Thu Feb 5 23:48:19 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c (gtk_combo_box_mnemonic_activate): Add this
function, to make mnemonic_activate work for combo boxes.
(#133443, Paolo Borelli)
Thu Feb 5 22:05:52 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfilesystemunix.c (bookmark_list_read): Initialize result

View File

@ -1,3 +1,9 @@
Thu Feb 5 23:48:19 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c (gtk_combo_box_mnemonic_activate): Add this
function, to make mnemonic_activate work for combo boxes.
(#133443, Paolo Borelli)
Thu Feb 5 22:05:52 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfilesystemunix.c (bookmark_list_read): Initialize result

View File

@ -1,3 +1,9 @@
Thu Feb 5 23:48:19 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c (gtk_combo_box_mnemonic_activate): Add this
function, to make mnemonic_activate work for combo boxes.
(#133443, Paolo Borelli)
Thu Feb 5 22:05:52 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfilesystemunix.c (bookmark_list_read): Initialize result

View File

@ -255,10 +255,8 @@ static void gtk_combo_box_cell_layout_clear_attributes (GtkCellLayout
static void gtk_combo_box_cell_layout_reorder (GtkCellLayout *layout,
GtkCellRenderer *cell,
gint position);
#if 1
static gboolean gtk_combo_box_mnemonic_activate (GtkWidget *widget,
gboolean group_cycling);
#endif
GType
@ -2830,13 +2828,14 @@ gtk_combo_box_remove_text (GtkComboBox *combo_box,
}
#if 1
static gboolean
gtk_combo_box_mnemonic_activate (GtkWidget *widget,
gboolean group_cycling)
{
g_print ("I'm here!\n");
gtk_widget_grab_focus (GTK_COMBO_BOX (widget)->priv->tree_view);
GtkComboBox *combo_box = GTK_COMBO_BOX (widget);
gtk_widget_grab_focus (combo_box->priv->tree_view);
return TRUE;
}
#endif