view src/protocols/zephyr/ZSetFD.c @ 12905:ee0c8c446eef

[gaim-migrate @ 15258] SF Patch #1406437 from Sadrul "Create the imhtml as non-editable, to make sure the toolbar doesn't appear, then make it editable. The problem with this is that for non-editable imhtml-s, the scrollbar-policy is _ALWAYS for vertical-scrollbar. The version-1 of the patches turns it into _AUTOMATIC. This removes the always-present vertical-scrollbar from the conversation or info-imhtmls as well. I doubt this breaks anything." I'm curious why we were ever forcing vertical scrollbars on non-editable imhtmls. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 17 Jan 2006 03:02:36 +0000
parents 64895571248f
children
line wrap: on
line source

/* This file is part of the Project Athena Zephyr Notification System.
 * It contains source for the ZSetFD function.
 *
 *	Created by:	Robert French
 *
 *	Copyright (c) 1987 by the Massachusetts Institute of Technology.
 *	For copying and distribution information, see the file
 *	"mit-copyright.h". 
 */

#include "internal.h"

Code_t ZSetFD(fd)
	int	fd;
{
	(void) ZClosePort();

	__Zephyr_fd = fd;
	__Zephyr_open = 0;
	
	return (ZERR_NONE);
}