src/gtkrequest.h

Mon, 26 Jul 2004 06:09:11 +0000

author
Tim Ringenbach <marv@pidgin.im>
date
Mon, 26 Jul 2004 06:09:11 +0000
changeset 9599
1089c73e0586
parent 8046
c581b20a47d6
child 9713
bb37562302a1
permissions
-rw-r--r--

[gaim-migrate @ 10442]
Simguy writes:
This makes the insert link behavior a little better:

1) If there is a selection in the IMHTML to which you
are inserting a link, prefill the Description field in
the dialog.
2) Delete the selected text and replace it with
whatever the description field contains when inserting
the link (this is why we do #1)

The former behavior was to prepend the description
entered to the selection and link the whole block,
which seemed illogical to me.

/**
 * @file gtkrequest.h GTK+ Request API
 * @ingroup gtkui
 *
 * gaim
 *
 * Gaim is the legal property of its developers, whose names are too numerous
 * to list here.  Please refer to the COPYRIGHT file distributed with this
 * source distribution.
 *
 * 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 _GAIM_GTK_REQUEST_H_
#define _GAIM_GTK_REQUEST_H_

#include "request.h"

/**
 * Returns the UI operations structure for GTK+ request functions.
 *
 * @return The GTK+ UI request operations structure.
 */
GaimRequestUiOps *gaim_gtk_request_get_ui_ops(void);

#endif /* _GAIM_GTK_REQUEST_H_ */

mercurial