src/gtkft.h

Wed, 16 Nov 2005 18:17:01 +0000

author
Casey Harkins <charkins@pidgin.im>
date
Wed, 16 Nov 2005 18:17:01 +0000
changeset 12116
17bf39d2678f
parent 11010
26c5efa84ca5
child 12323
f52908fb23b0
permissions
-rw-r--r--

[gaim-migrate @ 14416]
" This patch implements a replacement for the queuing
system from 1.x. It also obsoletes a previous patch
[#1338873] I submitted to prioritize the unseen states
in gtk conversations.

The attached envelope.png is ripped from the
msgunread.png already included in gaim. It should be
dropped in the pixmaps directory (Makefile.am is
updated accordingly in this patch).

The two separate queuing preferences from 1.x, queuing
messages while away and queuing all new messages (from
docklet), are replaced with a single 3-way preference
for conversations. The new preference is "Hide new IM
conversations". This preference can be set to never,
away and always.

When a gtk conversation is created, it may be placed in
a hidden conversation window instead of being placed
normally. This decision is based upon the preference
and possibly the away state of the account the
conversation is being created for. This *will* effect
conversations the user explicitly requests to be
created, so in these cases the caller must be sure to
present the conversation to the user, using
gaim_gtkconv_present_conversation(). This is done
already in gtkdialogs.c which handles creating
conversations requested by the user from gaim proper
(menus, double-clicking on budy in blist, etc.).

The main advantage to not queuing messages is that the
conversations exist, the message is written to the
conversation (and logged if appropriate) and the unseen
state is set on the conversation. This means no
additional features are needed to track whether there
are queued messages or not, just use the unseen state
on conversations.

Since conversations may not be visible (messages
"queued"), gaim proper needs some notification that
there are messages waiting. I opted for a menutray icon
that shows up when an im conversation has an unseen
message. Clicking this icon will focus (and show if
hidden) the first conversation with an unseen message.
This is essentially the same behavior of the docklet in
cvs right now, except that the icon is only visible
when there is a conversation with an unread message.

The api that is added is flexible enough to allow
either the docklet or the new blist menutray icon to be
visible for conversations of any/all types and for
unseen messages >= any state. Currently they are set to
only IM conversations and only unseen states >= TEXT
(system messages and no log messages will not trigger
blinking the docklet or showing the blist tray icon),
but these could be made preferences relatively easily
in the future. Other plugins could probably benefit as
well: gaim_gtk_conversations_get_first_unseen().

There is probably some limit to comment size, so I'll
stop rambling now. If anyone has more
questions/comments, catch me in #gaim, here or on
gaim-devel."

committer: Luke Schierer <lschiere@pidgin.im>

4514
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
1 /**
7820
06fc9f66d2cb [gaim-migrate @ 8472]
Mark Doliner <markdoliner@pidgin.im>
parents: 7035
diff changeset
2 * @file gtkft.h GTK+ File Transfer UI
5034
077678f7b048 [gaim-migrate @ 5377]
Christian Hammond <chipx86@chipx86.com>
parents: 4698
diff changeset
3 * @ingroup gtkui
4514
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
4 *
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
5 * gaim
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
6 *
8046
c581b20a47d6 [gaim-migrate @ 8730]
Sean Egan <seanegan@pidgin.im>
parents: 7820
diff changeset
7 * Gaim is the legal property of its developers, whose names are too numerous
c581b20a47d6 [gaim-migrate @ 8730]
Sean Egan <seanegan@pidgin.im>
parents: 7820
diff changeset
8 * to list here. Please refer to the COPYRIGHT file distributed with this
c581b20a47d6 [gaim-migrate @ 8730]
Sean Egan <seanegan@pidgin.im>
parents: 7820
diff changeset
9 * source distribution.
7035
76bca80cd91d [gaim-migrate @ 7598]
Christian Hammond <chipx86@chipx86.com>
parents: 6267
diff changeset
10 *
4514
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
11 * This program is free software; you can redistribute it and/or modify
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
12 * it under the terms of the GNU General Public License as published by
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
13 * the Free Software Foundation; either version 2 of the License, or
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
14 * (at your option) any later version.
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
15 *
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
16 * This program is distributed in the hope that it will be useful,
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
19 * GNU General Public License for more details.
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
20 *
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
21 * You should have received a copy of the GNU General Public License
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
22 * along with this program; if not, write to the Free Software
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
24 */
9713
bb37562302a1 [gaim-migrate @ 10574]
Mark Doliner <markdoliner@pidgin.im>
parents: 8046
diff changeset
25 #ifndef _GAIM_GTKFT_H_
bb37562302a1 [gaim-migrate @ 10574]
Mark Doliner <markdoliner@pidgin.im>
parents: 8046
diff changeset
26 #define _GAIM_GTKFT_H_
4514
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
27
4553
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
28 #include "ft.h"
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
29
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
30 /**
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
31 * A file transfer dialog.
7035
76bca80cd91d [gaim-migrate @ 7598]
Christian Hammond <chipx86@chipx86.com>
parents: 6267
diff changeset
32 *
4553
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
33 * The structure is opaque, as nobody should be touching anything inside of
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
34 * it.
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
35 */
6240
0390b27fe09d [gaim-migrate @ 6734]
Christian Hammond <chipx86@chipx86.com>
parents: 5974
diff changeset
36 typedef struct _GaimGtkXferDialog GaimGtkXferDialog;
4553
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
37
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
38 /**************************************************************************/
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
39 /** @name GTK+ File Transfer Dialog API */
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
40 /**************************************************************************/
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
41 /*@{*/
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
42
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
43 /**
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
44 * Creates a new file transfer dialog.
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
45 *
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
46 * @return The new dialog.
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
47 */
6240
0390b27fe09d [gaim-migrate @ 6734]
Christian Hammond <chipx86@chipx86.com>
parents: 5974
diff changeset
48 GaimGtkXferDialog *gaim_gtkxfer_dialog_new(void);
4553
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
49
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
50 /**
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
51 * Destroys a file transfer dialog.
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
52 *
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
53 * @param dialog The file transfer dialog.
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
54 */
6240
0390b27fe09d [gaim-migrate @ 6734]
Christian Hammond <chipx86@chipx86.com>
parents: 5974
diff changeset
55 void gaim_gtkxfer_dialog_destroy(GaimGtkXferDialog *dialog);
4553
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
56
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
57 /**
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
58 * Displays the file transfer dialog.
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
59 *
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
60 * @param dialog The file transfer dialog to show.
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
61 */
6240
0390b27fe09d [gaim-migrate @ 6734]
Christian Hammond <chipx86@chipx86.com>
parents: 5974
diff changeset
62 void gaim_gtkxfer_dialog_show(GaimGtkXferDialog *dialog);
4553
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
63
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
64 /**
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
65 * Hides the file transfer dialog.
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
66 *
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
67 * @param dialog The file transfer dialog to hide.
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
68 */
6240
0390b27fe09d [gaim-migrate @ 6734]
Christian Hammond <chipx86@chipx86.com>
parents: 5974
diff changeset
69 void gaim_gtkxfer_dialog_hide(GaimGtkXferDialog *dialog);
4553
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
70
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
71 /**
4698
da492b4191c1 [gaim-migrate @ 5009]
Sean Egan <seanegan@pidgin.im>
parents: 4553
diff changeset
72 * Shows the file transfer dialog, creating a new one if necessary
da492b4191c1 [gaim-migrate @ 5009]
Sean Egan <seanegan@pidgin.im>
parents: 4553
diff changeset
73 */
da492b4191c1 [gaim-migrate @ 5009]
Sean Egan <seanegan@pidgin.im>
parents: 4553
diff changeset
74 void gaim_show_xfer_dialog();
da492b4191c1 [gaim-migrate @ 5009]
Sean Egan <seanegan@pidgin.im>
parents: 4553
diff changeset
75
da492b4191c1 [gaim-migrate @ 5009]
Sean Egan <seanegan@pidgin.im>
parents: 4553
diff changeset
76 /**
4553
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
77 * Adds a file transfer to the dialog.
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
78 *
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
79 * @param dialog The file transfer dialog.
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
80 * @param xfer The file transfer.
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
81 */
6240
0390b27fe09d [gaim-migrate @ 6734]
Christian Hammond <chipx86@chipx86.com>
parents: 5974
diff changeset
82 void gaim_gtkxfer_dialog_add_xfer(GaimGtkXferDialog *dialog, GaimXfer *xfer);
4553
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
83
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
84 /**
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
85 * Removes a file transfer from the dialog.
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
86 *
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
87 * @param dialog The file transfer dialog.
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
88 * @param xfer The file transfer.
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
89 */
6240
0390b27fe09d [gaim-migrate @ 6734]
Christian Hammond <chipx86@chipx86.com>
parents: 5974
diff changeset
90 void gaim_gtkxfer_dialog_remove_xfer(GaimGtkXferDialog *dialog,
0390b27fe09d [gaim-migrate @ 6734]
Christian Hammond <chipx86@chipx86.com>
parents: 5974
diff changeset
91 GaimXfer *xfer);
4553
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
92
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
93 /**
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
94 * Indicate in a file transfer dialog that a transfer was canceled.
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
95 *
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
96 * @param dialog The file transfer dialog.
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
97 * @param xfer The file transfer that was canceled.
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
98 */
6240
0390b27fe09d [gaim-migrate @ 6734]
Christian Hammond <chipx86@chipx86.com>
parents: 5974
diff changeset
99 void gaim_gtkxfer_dialog_cancel_xfer(GaimGtkXferDialog *dialog,
0390b27fe09d [gaim-migrate @ 6734]
Christian Hammond <chipx86@chipx86.com>
parents: 5974
diff changeset
100 GaimXfer *xfer);
4553
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
101
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
102 /**
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
103 * Updates the information for a transfer in the dialog.
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
104 *
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
105 * @param dialog The file transfer dialog.
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
106 * @param xfer The file transfer.
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
107 */
6240
0390b27fe09d [gaim-migrate @ 6734]
Christian Hammond <chipx86@chipx86.com>
parents: 5974
diff changeset
108 void gaim_gtkxfer_dialog_update_xfer(GaimGtkXferDialog *dialog,
0390b27fe09d [gaim-migrate @ 6734]
Christian Hammond <chipx86@chipx86.com>
parents: 5974
diff changeset
109 GaimXfer *xfer);
4553
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
110
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
111 /*@}*/
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
112
4514
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
113 /**************************************************************************/
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
114 /** @name GTK+ File Transfer API */
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
115 /**************************************************************************/
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
116 /*@{*/
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
117
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
118 /**
5974
00c68435d9f3 [gaim-migrate @ 6421]
Mark Doliner <markdoliner@pidgin.im>
parents: 5872
diff changeset
119 * Initializes the GTK+ file transfer system.
00c68435d9f3 [gaim-migrate @ 6421]
Mark Doliner <markdoliner@pidgin.im>
parents: 5872
diff changeset
120 */
6267
661f20cb749e [gaim-migrate @ 6764]
Christian Hammond <chipx86@chipx86.com>
parents: 6240
diff changeset
121 void gaim_gtk_xfers_init(void);
5974
00c68435d9f3 [gaim-migrate @ 6421]
Mark Doliner <markdoliner@pidgin.im>
parents: 5872
diff changeset
122
00c68435d9f3 [gaim-migrate @ 6421]
Mark Doliner <markdoliner@pidgin.im>
parents: 5872
diff changeset
123 /**
11010
26c5efa84ca5 [gaim-migrate @ 12871]
Dave Ahlswede
parents: 9713
diff changeset
124 * Uninitializes the GTK+ file transfer system.
26c5efa84ca5 [gaim-migrate @ 12871]
Dave Ahlswede
parents: 9713
diff changeset
125 */
26c5efa84ca5 [gaim-migrate @ 12871]
Dave Ahlswede
parents: 9713
diff changeset
126 void gaim_gtk_xfers_uninit(void);
26c5efa84ca5 [gaim-migrate @ 12871]
Dave Ahlswede
parents: 9713
diff changeset
127
26c5efa84ca5 [gaim-migrate @ 12871]
Dave Ahlswede
parents: 9713
diff changeset
128 /**
4553
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
129 * Sets gaim's main file transfer dialog.
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
130 *
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
131 * @param dialog The main dialog.
4514
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
132 */
6240
0390b27fe09d [gaim-migrate @ 6734]
Christian Hammond <chipx86@chipx86.com>
parents: 5974
diff changeset
133 void gaim_set_gtkxfer_dialog(GaimGtkXferDialog *dialog);
4514
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
134
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
135 /**
4553
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
136 * Returns gaim's main file transfer dialog.
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
137 *
3c1735b36327 [gaim-migrate @ 4833]
Christian Hammond <chipx86@chipx86.com>
parents: 4514
diff changeset
138 * @return The main dialog.
4514
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
139 */
6240
0390b27fe09d [gaim-migrate @ 6734]
Christian Hammond <chipx86@chipx86.com>
parents: 5974
diff changeset
140 GaimGtkXferDialog *gaim_get_gtkxfer_dialog(void);
4514
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
141
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
142 /**
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
143 * Returns the UI operations structure for the GTK+ file transfer UI.
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
144 *
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
145 * @return The GTK+ file transfer UI operations structure.
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
146 */
7035
76bca80cd91d [gaim-migrate @ 7598]
Christian Hammond <chipx86@chipx86.com>
parents: 6267
diff changeset
147 GaimXferUiOps *gaim_gtk_xfers_get_ui_ops(void);
4514
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
148
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
149 /*@}*/
40e3588a280f [gaim-migrate @ 4792]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
150
9713
bb37562302a1 [gaim-migrate @ 10574]
Mark Doliner <markdoliner@pidgin.im>
parents: 8046
diff changeset
151 #endif /* _GAIM_GTKFT_H_ */

mercurial