diff --git a/gnome/ChangeLog b/gnome/ChangeLog index 976e487ec..3d4f8d8b5 100644 --- a/gnome/ChangeLog +++ b/gnome/ChangeLog @@ -1,8 +1,15 @@ -Tue Mar 10 00:10:32 1998 Miguel de Icaza +Tue Mar 10 14:01:47 1998 Miguel de Icaza - * gscreen.c (panel_drop_data_available): Now drop support uses the - new coords.x and coords.y fields from the DropDataAvailableEvent - to find out which directory receives the drop. + * gscreen.c + + * gscreen.c (x_adjust_top_file): We no longer adjust the top + displayed filename. + + (panel_build_selected_file_list): Fix for the transfered data. + + (panel_drop_data_available): Now drop support uses the new + coords.x and coords.y fields from the DropDataAvailableEvent to + find out which directory receives the drop. * gwidget.c (x_radio_focus_item): Add support for focusing radio buttons. diff --git a/gnome/gmain.c b/gnome/gmain.c index 8b6359c10..1838aadfd 100644 --- a/gnome/gmain.c +++ b/gnome/gmain.c @@ -31,8 +31,8 @@ char *default_edition_colors = "normal=black:" "directory=blue:" "marked=white,seagreen:" -"execute=green:" -"link=yellow:" +"execute=slateblue:" +"link=green:" "device=magenta:" "core=red:" "special=black"; diff --git a/gnome/gscreen.c b/gnome/gscreen.c index e56ba4052..6a3ccdfb1 100644 --- a/gnome/gscreen.c +++ b/gnome/gscreen.c @@ -179,8 +179,10 @@ x_select_item (WPanel *panel) gtk_clist_select_row (clist, panel->selected, 0); - if (!gtk_clist_row_is_visible (clist, panel->selected)) + if (!gtk_clist_row_is_visible (clist, panel->selected)){ + printf ("No fue visible %d\n", panel->selected); gtk_clist_moveto (clist, panel->selected, 0, 0.5, 0.0); + } } void @@ -199,7 +201,7 @@ x_filter_changed (WPanel *panel) void x_adjust_top_file (WPanel *panel) { - gtk_clist_moveto (GTK_CLIST (panel->list), panel->top_file, 0, 0.0, 0.0); +/* gtk_clist_moveto (GTK_CLIST (panel->list), panel->top_file, 0, 0.0, 0.0); */ } #define COLUMN_INSET 3 @@ -447,7 +449,9 @@ internal_select_item (GtkWidget *file_list, WPanel *panel, int row) unselect_item (panel); panel->selected = row; gtk_signal_handler_block_by_data (GTK_OBJECT (file_list), panel); + printf ("Selecttionando\n"); select_item (panel); + printf ("Post-selección\n"); gtk_signal_handler_unblock_by_data (GTK_OBJECT (file_list), panel); } @@ -611,13 +615,14 @@ panel_build_selected_file_list (WPanel *panel, int *file_list_len) for (i = 0; i < panel->count; i++) if (panel->dir.list [i].f.marked) total_len += (cwdlen + panel->dir.list [i].fnamelen + 1); - + + printf ("Total lenght: %d\n", total_len); data = copy = xmalloc (total_len, "build_selected_file_list"); for (i = 0; i < panel->count; i++) if (panel->dir.list [i].f.marked){ strcpy (copy, panel->cwd); - copy [cwdlen] = '/'; - strcpy (© [cwdlen+1], panel->dir.list [i].fname); + copy [cwdlen-1] = '/'; + strcpy (© [cwdlen], panel->dir.list [i].fname); copy += panel->dir.list [i].fnamelen + 1 + cwdlen; } *file_list_len = total_len;