grim/guifications1

This should fix the Mdk 9.1 RPM building bug reported on the forums a while ago
/*
Guifications - The notification plugin to end all notification plugins!
Copyright (C) 2003 Gary Kramlich
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.
*/
#include "prefs.h"
#include "debug.h"
#include "gf_types.h"
#include "gf_prefs.h"
/**********************************************************************/
void
gf_add_prefs() {
/* add roots */
gaim_prefs_add_none(GF_PREF_ROOT);
gaim_prefs_add_none(GF_PREF_PLUGIN_ROOT);
/* add behavior tree */
gaim_prefs_add_none(GF_PREF_BEHAVIOR_ROOT);
gaim_prefs_add_bool(GF_PREF_BEHAVIOR_SHOW_SIGN_ON, TRUE);
gaim_prefs_add_bool(GF_PREF_BEHAVIOR_SHOW_SIGN_OFF, TRUE);
gaim_prefs_add_bool(GF_PREF_BEHAVIOR_SHOW_AWAY, TRUE);
gaim_prefs_add_bool(GF_PREF_BEHAVIOR_SHOW_BACK, TRUE);
gaim_prefs_add_bool(GF_PREF_BEHAVIOR_SHOW_IDLE, TRUE);
gaim_prefs_add_bool(GF_PREF_BEHAVIOR_SHOW_UNIDLE, TRUE);
gaim_prefs_add_bool(GF_PREF_BEHAVIOR_SHOW_RECEIVE_MESSAGES, TRUE);
gaim_prefs_add_int(GF_PREF_BEHAVIOR_WINDOW_POS, window_position_se);
gaim_prefs_add_int(GF_PREF_BEHAVIOR_X, 0);
gaim_prefs_add_int(GF_PREF_BEHAVIOR_Y, 0);
gaim_prefs_add_bool(GF_PREF_BEHAVIOR_WINDOW_VERTICAL, TRUE);
gaim_prefs_add_int(GF_PREF_BEHAVIOR_TIMEOUT, 6);
gaim_prefs_add_int(GF_PREF_BEHAVIOR_ZOOM, window_zoom_100);
gaim_prefs_add_bool(GF_PREF_BEHAVIOR_ALIAS, TRUE);
gaim_prefs_add_bool(GF_PREF_BEHAVIOR_SHOWAWAY, TRUE); /* snakez */
gaim_prefs_add_int(GF_PREF_BEHAVIOR_MOUSE1, window_mouse_conversation);
gaim_prefs_add_int(GF_PREF_BEHAVIOR_MOUSE2, window_mouse_destroy);
gaim_prefs_add_int(GF_PREF_BEHAVIOR_MOUSE3, window_mouse_context);
/* add appearance tree */
gaim_prefs_add_none(GF_PREF_APPEARANCE_ROOT);
gaim_prefs_add_bool(GF_PREF_APPEARANCE_IMAGE, FALSE);
gaim_prefs_add_string(GF_PREF_APPEARANCE_IMAGE_FILE, "");
gaim_prefs_add_bool(GF_PREF_APPEARANCE_FONT, FALSE);
gaim_prefs_add_string(GF_PREF_APPEARANCE_FONT_FACE, "");
gaim_prefs_add_bool(GF_PREF_APPEARANCE_COLOR, FALSE);
gaim_prefs_add_int(GF_PREF_APPEARANCE_TEXT_POS, item_position_c);
gaim_prefs_add_int(GF_PREF_APPEARANCE_TEXT_CLIPPING, text_clipping_ellipsis_middle);
gaim_prefs_add_int(GF_PREF_APPEARANCE_TEXT_X, 0);
gaim_prefs_add_int(GF_PREF_APPEARANCE_TEXT_Y, 0);
gaim_prefs_add_int(GF_PREF_APPEARANCE_PROT_POS, item_position_sw);
gaim_prefs_add_int(GF_PREF_APPEARANCE_PROT_SIZE, icon_size_small);
gaim_prefs_add_int(GF_PREF_APPEARANCE_PROT_X, 5);
gaim_prefs_add_int(GF_PREF_APPEARANCE_PROT_Y, 5);
/* add colors tree */
gaim_prefs_add_none(GF_PREF_COLORS_ROOT);
gaim_prefs_add_string(GF_PREF_COLORS_FOREGROUND, "#000000000000");
/* add messages tree */
gaim_prefs_add_none(GF_PREF_MESSAGES_ROOT);
gaim_prefs_add_string(GF_PREF_MESSAGES_SIGN_ON, "has signed on");
gaim_prefs_add_string(GF_PREF_MESSAGES_SIGN_OFF, "has signed off");
gaim_prefs_add_string(GF_PREF_MESSAGES_AWAY, "is now away");
gaim_prefs_add_string(GF_PREF_MESSAGES_BACK, "is now back");
gaim_prefs_add_string(GF_PREF_MESSAGES_IDLE, "is now idle");
gaim_prefs_add_string(GF_PREF_MESSAGES_UNIDLE, "is no longer idle");
gaim_prefs_add_string(GF_PREF_MESSAGES_RECEIVE, "messaged you");
/* add advanced tree */
gaim_prefs_add_none(GF_PREF_ADVANCED_ROOT);
gaim_prefs_add_int(GF_PREF_ADVANCED_DELAY, 7000);
gaim_prefs_add_bool(GF_PREF_ADVANCED_RELEASE, TRUE);
gaim_prefs_add_int(GF_PREF_ADVANCED_RELEASE_CHECK, 0);
}
/**********************************************************************/