forked from AuroraMiddleware/gtk
Wed, 14 Oct 1998 10:17:13 +0200 Paolo Molaro <lupus@debian.org>
* gtk/gtkcombo.c: try completion on MOD1-TAB. Handle case when the combo->list is empty.
This commit is contained in:
parent
b6b7941b0d
commit
0849664209
@ -1,3 +1,8 @@
|
||||
Wed, 14 Oct 1998 10:17:13 +0200 Paolo Molaro <lupus@debian.org>
|
||||
|
||||
* gtk/gtkcombo.c: try completion on MOD1-TAB.
|
||||
Handle case when the combo->list is empty.
|
||||
|
||||
Mon Oct 12 07:51:34 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.c (gtk_signal_handlers_destroy): only unref those
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed, 14 Oct 1998 10:17:13 +0200 Paolo Molaro <lupus@debian.org>
|
||||
|
||||
* gtk/gtkcombo.c: try completion on MOD1-TAB.
|
||||
Handle case when the combo->list is empty.
|
||||
|
||||
Mon Oct 12 07:51:34 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.c (gtk_signal_handlers_destroy): only unref those
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed, 14 Oct 1998 10:17:13 +0200 Paolo Molaro <lupus@debian.org>
|
||||
|
||||
* gtk/gtkcombo.c: try completion on MOD1-TAB.
|
||||
Handle case when the combo->list is empty.
|
||||
|
||||
Mon Oct 12 07:51:34 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.c (gtk_signal_handlers_destroy): only unref those
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed, 14 Oct 1998 10:17:13 +0200 Paolo Molaro <lupus@debian.org>
|
||||
|
||||
* gtk/gtkcombo.c: try completion on MOD1-TAB.
|
||||
Handle case when the combo->list is empty.
|
||||
|
||||
Mon Oct 12 07:51:34 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.c (gtk_signal_handlers_destroy): only unref those
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed, 14 Oct 1998 10:17:13 +0200 Paolo Molaro <lupus@debian.org>
|
||||
|
||||
* gtk/gtkcombo.c: try completion on MOD1-TAB.
|
||||
Handle case when the combo->list is empty.
|
||||
|
||||
Mon Oct 12 07:51:34 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.c (gtk_signal_handlers_destroy): only unref those
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed, 14 Oct 1998 10:17:13 +0200 Paolo Molaro <lupus@debian.org>
|
||||
|
||||
* gtk/gtkcombo.c: try completion on MOD1-TAB.
|
||||
Handle case when the combo->list is empty.
|
||||
|
||||
Mon Oct 12 07:51:34 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.c (gtk_signal_handlers_destroy): only unref those
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed, 14 Oct 1998 10:17:13 +0200 Paolo Molaro <lupus@debian.org>
|
||||
|
||||
* gtk/gtkcombo.c: try completion on MOD1-TAB.
|
||||
Handle case when the combo->list is empty.
|
||||
|
||||
Mon Oct 12 07:51:34 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtksignal.c (gtk_signal_handlers_destroy): only unref those
|
||||
|
@ -118,12 +118,15 @@ gtk_combo_entry_key_press (GtkEntry * entry, GdkEventKey * event, GtkCombo * com
|
||||
GList *li;
|
||||
|
||||
/* completion */
|
||||
if (event->keyval == GDK_Tab)
|
||||
if ((event->keyval == GDK_Tab) && (event->state & GDK_MOD1_MASK))
|
||||
{
|
||||
GCompletion * cmpl;
|
||||
gchar* prefix;
|
||||
gchar* nprefix = NULL;
|
||||
gint pos;
|
||||
|
||||
if ( !GTK_LIST(combo->list)->children )
|
||||
return FALSE;
|
||||
|
||||
gtk_signal_emit_stop_by_name (GTK_OBJECT (entry), "key_press_event");
|
||||
cmpl = g_completion_new((GCompletionFunc)gtk_combo_func);
|
||||
|
Loading…
Reference in New Issue
Block a user