1999-06-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
* complete.c (complete_engine): Put an #ifndef HAVE_GNOME around the completion/query engine. Make the Gnome version just beep instead. We do not have the completion/query engine for Gtk. 1999-06-11 Federico Mena Quintero <federico@nuclecu.unam.mx> * gwidget.c (x_update_input): Unblock the changed signal *after* we call gtk_editable_changed().
Этот коммит содержится в:
родитель
3ed2dc2a8d
Коммит
85b9ee430a
@ -1,3 +1,8 @@
|
|||||||
|
1999-06-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||||
|
|
||||||
|
* gwidget.c (x_update_input): Unblock the changed signal *after*
|
||||||
|
we call gtk_editable_changed().
|
||||||
|
|
||||||
1999-06-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
1999-06-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||||
|
|
||||||
* gdesktop-icon.[ch]: Removed the background hack for desktop
|
* gdesktop-icon.[ch]: Removed the background hack for desktop
|
||||||
|
@ -367,12 +367,6 @@ x_update_input (WInput *in)
|
|||||||
draw = 1;
|
draw = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Unblock the signal handler */
|
|
||||||
gtk_signal_handler_unblock_by_func (
|
|
||||||
GTK_OBJECT (entry),
|
|
||||||
GTK_SIGNAL_FUNC(wentry_changed), in);
|
|
||||||
|
|
||||||
|
|
||||||
if (draw){
|
if (draw){
|
||||||
#ifdef USE_GNOME_ENTRY
|
#ifdef USE_GNOME_ENTRY
|
||||||
gtk_widget_draw (GTK_WIDGET (gnome_entry), NULL);
|
gtk_widget_draw (GTK_WIDGET (gnome_entry), NULL);
|
||||||
@ -382,6 +376,11 @@ x_update_input (WInput *in)
|
|||||||
gtk_editable_changed (GTK_EDITABLE (entry));
|
gtk_editable_changed (GTK_EDITABLE (entry));
|
||||||
gtk_widget_queue_draw (GTK_WIDGET (entry));
|
gtk_widget_queue_draw (GTK_WIDGET (entry));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Unblock the signal handler */
|
||||||
|
gtk_signal_handler_unblock_by_func (
|
||||||
|
GTK_OBJECT (entry),
|
||||||
|
GTK_SIGNAL_FUNC(wentry_changed), in);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Listboxes */
|
/* Listboxes */
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
1999-06-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||||
|
|
||||||
|
* complete.c (complete_engine): Put an #ifndef HAVE_GNOME around
|
||||||
|
the completion/query engine. Make the Gnome version just beep
|
||||||
|
instead. We do not have the completion/query engine for Gtk.
|
||||||
|
|
||||||
1999-06-09 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
|
1999-06-09 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
|
||||||
|
|
||||||
* cmd.c (configure_panel_listing): no more code duplication
|
* cmd.c (configure_panel_listing): no more code duplication
|
||||||
|
@ -994,6 +994,11 @@ complete_engine (WInput *in, int what_to_do)
|
|||||||
} else
|
} else
|
||||||
beep ();
|
beep ();
|
||||||
}
|
}
|
||||||
|
/* FIXME: evil evil evil. We do not go into the query completion engine
|
||||||
|
* because we do not have a Gtk dialog for it. Gtk-ted does not like
|
||||||
|
* this; if we enable this code, it will crash.
|
||||||
|
*/
|
||||||
|
#ifndef HAVE_GNOME
|
||||||
if ((what_to_do & DO_QUERY) && in->completions [1]) {
|
if ((what_to_do & DO_QUERY) && in->completions [1]) {
|
||||||
int maxlen = 0, i, count = 0;
|
int maxlen = 0, i, count = 0;
|
||||||
int x, y, w, h;
|
int x, y, w, h;
|
||||||
@ -1052,6 +1057,10 @@ complete_engine (WInput *in, int what_to_do)
|
|||||||
if (i == B_USER)
|
if (i == B_USER)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
if (what_to_do & DO_QUERY)
|
||||||
|
beep ();
|
||||||
|
#endif
|
||||||
} else
|
} else
|
||||||
beep ();
|
beep ();
|
||||||
return 0;
|
return 0;
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user