Mon, 08 Jun 2009 02:24:49 +0000
Use the JID for adding a chat/buddy because the name is for descriptive
purpose only, and using it will not fill in the Add Chat dialog correctly.
Because the JID is not visible, the user will not know what to actually put
there instead.
| 12246 | 1 | /** |
| 2 | * @file gtksession.h X Windows session management API | |
|
16254
eeb2bba4dc94
Rename the Doxygen group from gtkui to pidgin.
Richard Laager <rlaager@pidgin.im>
parents:
15931
diff
changeset
|
3 | * @ingroup pidgin |
|
20147
66f05a854eee
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents:
19859
diff
changeset
|
4 | */ |
|
66f05a854eee
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents:
19859
diff
changeset
|
5 | |
|
66f05a854eee
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents:
19859
diff
changeset
|
6 | /* pidgin |
| 12246 | 7 | * |
| 15572 | 8 | * Pidgin is the legal property of its developers, whose names are too numerous |
| 12246 | 9 | * to list here. Please refer to the COPYRIGHT file distributed with this |
| 10 | * source distribution. | |
| 11 | * | |
| 12 | * This program is free software; you can redistribute it and/or modify | |
| 13 | * it under the terms of the GNU General Public License as published by | |
| 14 | * the Free Software Foundation; either version 2 of the License, or | |
| 15 | * (at your option) any later version. | |
| 16 | * | |
| 17 | * This program is distributed in the hope that it will be useful, | |
| 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 20 | * GNU General Public License for more details. | |
| 21 | * | |
| 22 | * You should have received a copy of the GNU General Public License | |
| 23 | * along with this program; if not, write to the Free Software | |
|
19859
71d37b57eff2
The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
16254
diff
changeset
|
24 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
| 12246 | 25 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15435
diff
changeset
|
26 | #ifndef _PIDGINSESSION_H_ |
|
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15435
diff
changeset
|
27 | #define _PIDGINSESSION_H_ |
| 12246 | 28 | |
| 29 | /**************************************************************************/ | |
| 30 | /** @name X Windows session subsystem */ | |
| 31 | /**************************************************************************/ | |
| 32 | /*@{*/ | |
| 33 | ||
| 34 | /** | |
| 15572 | 35 | * Register this instance of Pidgin with the user's current session |
|
12247
293f649a1693
[gaim-migrate @ 14549]
Mark Doliner <markdoliner@pidgin.im>
parents:
12246
diff
changeset
|
36 | * manager. |
|
293f649a1693
[gaim-migrate @ 14549]
Mark Doliner <markdoliner@pidgin.im>
parents:
12246
diff
changeset
|
37 | * |
|
293f649a1693
[gaim-migrate @ 14549]
Mark Doliner <markdoliner@pidgin.im>
parents:
12246
diff
changeset
|
38 | * @param argv0 The first argument passed into the program. This |
| 15884 | 39 | * will be the name of the executable, e.g. 'purple' |
|
12247
293f649a1693
[gaim-migrate @ 14549]
Mark Doliner <markdoliner@pidgin.im>
parents:
12246
diff
changeset
|
40 | * @param previous_id An optional session ID to use. This can be NULL. |
|
293f649a1693
[gaim-migrate @ 14549]
Mark Doliner <markdoliner@pidgin.im>
parents:
12246
diff
changeset
|
41 | * @param config_dir The path to the configuration directory used by |
| 15884 | 42 | * this instance of this program, e.g. '/home/user/.purple' |
| 12246 | 43 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15435
diff
changeset
|
44 | void pidgin_session_init(gchar *argv0, gchar *previous_id, gchar *config_dir); |
| 12246 | 45 | |
| 46 | /** | |
| 15572 | 47 | * Unregister this instance of Pidgin with the user's current session |
|
12247
293f649a1693
[gaim-migrate @ 14549]
Mark Doliner <markdoliner@pidgin.im>
parents:
12246
diff
changeset
|
48 | * manager. |
| 12246 | 49 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15435
diff
changeset
|
50 | void pidgin_session_end(void); |
| 12246 | 51 | |
| 52 | /*@}*/ | |
| 53 | ||
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15435
diff
changeset
|
54 | #endif /* _PIDGINSESSION_H_ */ |