]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/gtk+/gtk+-2.6.4-1.osso7/gtkcomboboxentry.c.diff
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / gtk+ / gtk+-2.6.4-1.osso7 / gtkcomboboxentry.c.diff
1 --- gtk+-2.6.4/gtk/gtkcomboboxentry.c   2004-11-20 01:18:37.000000000 +0200
2 +++ gtk+-2.6.4/gtk/gtkcomboboxentry.c   2005-04-06 16:19:36.407003656 +0300
3 @@ -55,6 +55,8 @@
4                                                    gpointer               user_data);
5  static gboolean gtk_combo_box_entry_mnemonic_activate (GtkWidget        *entry,
6                                                        gboolean          group_cycling);
7 +/*static void gtk_grab_combo_box_entry_focus       (GtkComboBoxEntry *entry_box);*/
8 +
9  static void has_frame_changed                    (GtkComboBoxEntry      *entry_box,
10                                                   GParamSpec            *pspec,
11                                                   gpointer               data);
12 @@ -382,3 +384,12 @@
13  
14    return entry_box;
15  }
16 +
17 +/* Hildon: this is added because we need to grab focus from caption control
18 + * to ComboBox entry.
19 + */
20 +void
21 +gtk_grab_combo_box_entry_focus (GtkComboBoxEntry *entry_box)
22 +{
23 +  gtk_widget_grab_focus (entry_box->priv->entry);
24 +}