reviewed by: John Sullivan <sullivan@eazel.com>

Fixed bug 7328 (info pages no longer work):

	* components/help/converters/gnome-info2html2/main.c: (main):
	Fixed broken logic for handling both bzip and gzip.

	Fixed case when you change "View As" before the view change is
	complete.

	* src/nautilus-window-manage-views.c:
	(nautilus_window_set_content_view): Stop the view change if you
	make a change with the "View As" menu.
This commit is contained in:
Darin Adler 2001-03-06 20:57:00 +00:00
parent d0ad9778eb
commit 81ba095eb5
3 changed files with 67 additions and 40 deletions

View file

@ -1,3 +1,19 @@
2001-03-06 Darin Adler <darin@eazel.com>
reviewed by: John Sullivan <sullivan@eazel.com>
Fixed bug 7328 (info pages no longer work):
* components/help/converters/gnome-info2html2/main.c: (main):
Fixed broken logic for handling both bzip and gzip.
Fixed case when you change "View As" before the view change is
complete.
* src/nautilus-window-manage-views.c:
(nautilus_window_set_content_view): Stop the view change if you
make a change with the "View As" menu.
Tue Mar 06 12:24:24 2001 George Lebl <jirka@5z.com>
Darin <darin@eazel.com> said that while this patch causes fungal

View file

@ -44,9 +44,9 @@ int
main(int argc, char **argv)
{
gzFile f = NULL;
int bz = 0;
#ifdef HAVE_LIBBZ2
BZFILE *bf=NULL;
int bz = 0;
#endif
char line[250];
poptContext ctx;
@ -168,8 +168,11 @@ main(int argc, char **argv)
/* No need to store all nodes, etc since we let web server */
/* handle resolving tags! */
for (;1 || !foundit || !requested_nodename;) {
if(bz)
{
#ifdef HAVE_LIBBZ2
if(bz && !bf) {
if(!bf)
{
if(args && args[curarg])
{
bf = bzopen(args[curarg++], "r");
@ -189,8 +192,14 @@ main(int argc, char **argv)
bf = NULL;
continue;
}
#else
g_assert_not_reached();
#endif
if(!f) {
}
else
{
if(!f)
{
if(args && args[curarg])
{
f = gzopen(args[curarg++], "r");
@ -210,6 +219,7 @@ main(int argc, char **argv)
f = NULL;
continue;
}
}
work_line_number++;

View file

@ -1454,9 +1454,10 @@ nautilus_window_set_content_view (NautilusWindow *window,
g_return_if_fail (NAUTILUS_IS_WINDOW (window));
g_return_if_fail (window->details->location != NULL);
g_return_if_fail (window->new_content_view == NULL);
g_return_if_fail (id != NULL);
end_location_change (window);
if (nautilus_window_content_view_matches_iid (window, id->iid)) {
return;
}