view src/stock.h @ 4366:7ba9b56a8796

[gaim-migrate @ 4632] Ok, so this is a patch by Nicolas Lichtmaier (niqueco). You've probably noticed that when you try to sign an account on, the UI freezes for a while (esp. on poor connections). This was because gethostbyname() blocks. Nicolas's patch here forks a new process to resolve host names and returns them in a pipe. It makes things smoother and faster. Thanks so much, Nicolas. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Mon, 20 Jan 2003 19:26:56 +0000
parents 5fb47ec9bfe4
children 7521e29658bc
line wrap: on
line source

/**
 * @file stock.h GTK+ Stock resources
 *
 * gaim
 *
 * Copyright (C) 2002-2003, Christian Hammond <chipx86@gnupdate.org>
 * 
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 */
#ifndef _STOCK_H_
#define _STOCK_H_

/**************************************************************************/
/** @name Stock images                                                    */
/**************************************************************************/
/*@{*/
#define GAIM_STOCK_BGCOLOR        "gaim-bgcolor"
#define GAIM_STOCK_BLOCK          "gaim-block"
#define GAIM_STOCK_FGCOLOR        "gaim-fgcolor"
#define GAIM_STOCK_IGNORE         "gaim-ignore"
#define GAIM_STOCK_IMAGE          "gaim-image"
#define GAIM_STOCK_INFO           "gaim-info"
#define GAIM_STOCK_INVITE         "gaim-invite"
#define GAIM_STOCK_LINK           "gaim-link"
#define GAIM_STOCK_SEND           "gaim-send"
#define GAIM_STOCK_SMILEY         "gaim-smiley"
#define GAIM_STOCK_TEXT_BIGGER    "gaim-text-bigger"
#define GAIM_STOCK_TEXT_NORMAL    "gaim-text-normal"
#define GAIM_STOCK_TEXT_SMALLER   "gaim-text-smaller"
#define GAIM_STOCK_WARN           "gaim-warn"
/*@}*/

/**
 * Sets up the gaim stock repository.
 */
void setup_stock(void);

#endif /* _STOCK_H_ */