annotate src/gtksession.h @ 13373:1ca4a579eb57

[gaim-migrate @ 15746] Parts of sf patch #1438833, from Sadrul Habib Chowdhury "This patch enables removing message-text from a status. Currently when you have some status with a message, and you remove the message from the statusbox-entry, the new status with no message is not used (reported in a number of bugs, like #1431289, #1431801)." committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 02 Mar 2006 04:51:09 +0000
parents fc464a0abccc
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12246
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
1 /**
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
2 * @file gtksession.h X Windows session management API
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
3 * @ingroup gtkui
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
4 *
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
5 * gaim
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
6 *
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
7 * Gaim is the legal property of its developers, whose names are too numerous
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
8 * to list here. Please refer to the COPYRIGHT file distributed with this
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
9 * source distribution.
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
10 *
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
11 * This program is free software; you can redistribute it and/or modify
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
12 * it under the terms of the GNU General Public License as published by
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
13 * the Free Software Foundation; either version 2 of the License, or
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
14 * (at your option) any later version.
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
15 *
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
16 * This program is distributed in the hope that it will be useful,
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
19 * GNU General Public License for more details.
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
20 *
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
21 * You should have received a copy of the GNU General Public License
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
22 * along with this program; if not, write to the Free Software
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
24 */
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
25 #ifndef _GAIM_GTKSESSION_H_
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
26 #define _GAIM_GTKSESSION_H_
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
27
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
28 /**************************************************************************/
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
29 /** @name X Windows session subsystem */
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
30 /**************************************************************************/
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
31 /*@{*/
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
32
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
33 /**
12247
99416d2f609f [gaim-migrate @ 14549]
Mark Doliner <mark@kingant.net>
parents: 12246
diff changeset
34 * Register this instance of Gaim with the user's current session
99416d2f609f [gaim-migrate @ 14549]
Mark Doliner <mark@kingant.net>
parents: 12246
diff changeset
35 * manager.
99416d2f609f [gaim-migrate @ 14549]
Mark Doliner <mark@kingant.net>
parents: 12246
diff changeset
36 *
99416d2f609f [gaim-migrate @ 14549]
Mark Doliner <mark@kingant.net>
parents: 12246
diff changeset
37 * @param argv0 The first argument passed into the program. This
99416d2f609f [gaim-migrate @ 14549]
Mark Doliner <mark@kingant.net>
parents: 12246
diff changeset
38 * will be the name of the executable, e.g. 'gaim'
99416d2f609f [gaim-migrate @ 14549]
Mark Doliner <mark@kingant.net>
parents: 12246
diff changeset
39 * @param previous_id An optional session ID to use. This can be NULL.
99416d2f609f [gaim-migrate @ 14549]
Mark Doliner <mark@kingant.net>
parents: 12246
diff changeset
40 * @param config_dir The path to the configuration directory used by
99416d2f609f [gaim-migrate @ 14549]
Mark Doliner <mark@kingant.net>
parents: 12246
diff changeset
41 * this instance of this program, e.g. '/home/user/.gaim'
12246
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
42 */
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
43 void gaim_gtk_session_init(gchar *argv0, gchar *previous_id, gchar *config_dir);
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
44
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
45 /**
12247
99416d2f609f [gaim-migrate @ 14549]
Mark Doliner <mark@kingant.net>
parents: 12246
diff changeset
46 * Unregister this instance of Gaim with the user's current session
99416d2f609f [gaim-migrate @ 14549]
Mark Doliner <mark@kingant.net>
parents: 12246
diff changeset
47 * manager.
12246
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
48 */
12323
fc464a0abccc [gaim-migrate @ 14627]
Richard Laager <rlaager@wiktel.com>
parents: 12247
diff changeset
49 void gaim_gtk_session_end(void);
12246
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
50
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
51 /*@}*/
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
52
b7a51e68d0b8 [gaim-migrate @ 14548]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
53 #endif /* _GAIM_GTKSESSION_H_ */