forked from AuroraMiddleware/gtk
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:
parent
f8ea97dfa6
commit
ee6d7bb5a4
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user