mirror of https://github.com/MidnightCommander/mc
1998-11-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gwidget.c (x_update_input): Use gtk_editable_changed on the entry. (x_create_listbox): Fix more CList api change. * gscreen.c (CLIST_FROM_SW): Adapt to new GtkScrolledWindow inheritance.
This commit is contained in:
parent
9522710547
commit
428265fbc5
|
@ -1,3 +1,10 @@
|
|||
1998-11-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* gwidget.c (x_update_input): Use gtk_editable_changed on the entry.
|
||||
(x_create_listbox): Fix more CList api change.
|
||||
* gscreen.c (CLIST_FROM_SW): Adapt to new GtkScrolledWindow
|
||||
inheritance.
|
||||
|
||||
1998-11-27 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* Makefile.in (OOBJS): Add filegui.o back until the GTK-specific
|
||||
|
|
|
@ -97,7 +97,7 @@ typedef void (*context_menu_callback)(GtkWidget *, void *);
|
|||
|
||||
static void panel_file_list_configure_contents (GtkWidget *sw, WPanel *panel, int main_width, int height);
|
||||
|
||||
#define CLIST_FROM_SW(panel_list) GTK_CLIST (GTK_SCROLLED_WINDOW (panel_list)->child)
|
||||
#define CLIST_FROM_SW(panel_list) GTK_CLIST (GTK_BIN (panel_list)->child)
|
||||
|
||||
|
||||
void
|
||||
|
|
|
@ -342,9 +342,7 @@ x_update_input (WInput *in)
|
|||
#else
|
||||
gtk_widget_draw (GTK_WIDGET (entry), NULL);
|
||||
#endif
|
||||
/* This is a private member, hopefully the widget
|
||||
properly updates itself */
|
||||
gtk_entry_adjust_scroll (GTK_ENTRY (entry));
|
||||
gtk_editable_changed (GTK_EDITABLE (entry));
|
||||
gtk_widget_queue_draw (GTK_WIDGET (entry));
|
||||
}
|
||||
}
|
||||
|
@ -353,7 +351,7 @@ x_update_input (WInput *in)
|
|||
static GtkWidget *
|
||||
listbox_pull (widget_data data)
|
||||
{
|
||||
return GTK_SCROLLED_WINDOW (data)->child;
|
||||
return GTK_BIN (data)->child;
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -449,7 +447,7 @@ x_create_listbox (Dlg_head *h, widget_data parent, WListbox *l)
|
|||
gtk_widget_show (listbox);
|
||||
|
||||
for (p = l->list, i = 0; i < l->count; i++, p = p->next){
|
||||
const char *text [1];
|
||||
char *text [1];
|
||||
|
||||
text [0] = p->text;
|
||||
gtk_clist_append (GTK_CLIST (listbox), text);
|
||||
|
|
Loading…
Reference in New Issue