1
1

Mon Aug 31 10:46:32 1998 Owen Taylor <otaylor@redhat.com>

* gscreen.c (display_mini_info): Removed calls to
	gtk_clip_label_set() hack, since its cut-n-paste code didn't work
	with new GTK's. If excessive resizes are a problem, they can be
	solved by adding an adjustment around the label, and calling
	gtk_container_set_resize_mode().
Этот коммит содержится в:
Owen Taylor 1998-08-31 14:40:49 +00:00
родитель a36671fbb5
Коммит 86d9078964
2 изменённых файлов: 14 добавлений и 6 удалений

Просмотреть файл

@ -1,3 +1,11 @@
Mon Aug 31 10:46:32 1998 Owen Taylor <otaylor@redhat.com>
* gscreen.c (display_mini_info): Removed calls to
gtk_clip_label_set() hack, since its cut-n-paste code didn't work
with new GTK's. If excessive resizes are a problem, they can be
solved by adding an adjustment around the label, and calling
gtk_container_set_resize_mode().
1998-08-20 Raja R Harinath <harinath@cs.umn.edu>
* gdesktop.c: Include "mad.h", for xmalloc.

Просмотреть файл

@ -1608,7 +1608,7 @@ display_mini_info (WPanel *panel)
if (panel->searching){
char *str = copy_strings (N_("Search: "), panel->search_buffer, NULL);
gtk_clip_label_set (label, str);
gtk_label_set (label, str);
free (str);
return;
}
@ -1620,7 +1620,7 @@ display_mini_info (WPanel *panel)
size_trunc_sep (panel->total), panel->marked,
panel->marked == 1 ? "" : "s");
gtk_clip_label_set (label, buffer);
gtk_label_set (label, buffer);
return;
}
@ -1637,10 +1637,10 @@ display_mini_info (WPanel *panel)
link_target [len] = 0;
str = copy_strings ("-> ", link_target, NULL);
gtk_clip_label_set (label, str);
gtk_label_set (label, str);
free (str);
} else
gtk_clip_label_set (label, N_("<readlink failed>"));
gtk_label_set (label, N_("<readlink failed>"));
return;
}
@ -1651,12 +1651,12 @@ display_mini_info (WPanel *panel)
buffer = xmalloc (len + 2, "display_mini_info");
format_file (buffer, panel, panel->selected, panel->estimated_total-2, 0, 1);
buffer [len] = 0;
gtk_clip_label_set (label, buffer);
gtk_label_set (label, buffer);
free (buffer);
}
if (panel->list_type == list_icons){
if (panel->marked == 0){
gtk_clip_label_set (label, "");
gtk_label_set (label, "");
}
}
}