pidgin/pidginactiongroup.h

Tue, 31 Mar 2020 01:49:27 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Tue, 31 Mar 2020 01:49:27 -0500
changeset 40371
0773c993abd8
parent 40368
cb9a81e8845a
child 40373
5d2a493339f2
permissions
-rw-r--r--

Migrate add-chat and add-buddy to the new menu

40363
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
1 /*
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
2 * pidgin
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
3 *
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
4 * Pidgin is the legal property of its developers, whose names are too numerous
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
5 * to list here. Please refer to the COPYRIGHT file distributed with this
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
6 * source distribution.
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
7 *
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
8 * This program is free software; you can redistribute it and/or modify
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
9 * it under the terms of the GNU General Public License as published by
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
10 * the Free Software Foundation; either version 2 of the License, or
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
11 * (at your option) any later version.
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
12 *
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
13 * This program is distributed in the hope that it will be useful,
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
16 * GNU General Public License for more details.
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
17 *
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
18 * You should have received a copy of the GNU General Public License
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
19 * along with this program; if not, write to the Free Software
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
21 */
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
22 #ifndef PIDGIN_ACTION_GROUP_H
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
23 #define PIDGIN_ACTION_GROUP_H
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
24
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
25 #include <glib.h>
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
26
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
27 #include <gio/gio.h>
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
28
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
29 /**
40364
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
30 * PIDGIN_ACTION_ADD_ABOUT:
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
31 *
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
32 * A constant that represents the about action that shows the about window.
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
33 */
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
34 #define PIDGIN_ACTION_ABOUT ("about")
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
35
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
36 /**
40371
0773c993abd8 Migrate add-chat and add-buddy to the new menu
Gary Kramlich <grim@reaperworld.com>
parents: 40368
diff changeset
37 * PIDGIN_ACTION_ADD_BUDDY:
0773c993abd8 Migrate add-chat and add-buddy to the new menu
Gary Kramlich <grim@reaperworld.com>
parents: 40368
diff changeset
38 *
0773c993abd8 Migrate add-chat and add-buddy to the new menu
Gary Kramlich <grim@reaperworld.com>
parents: 40368
diff changeset
39 * A constant that represents the add-buddy action to add a buddy to the
0773c993abd8 Migrate add-chat and add-buddy to the new menu
Gary Kramlich <grim@reaperworld.com>
parents: 40368
diff changeset
40 * contact list.
0773c993abd8 Migrate add-chat and add-buddy to the new menu
Gary Kramlich <grim@reaperworld.com>
parents: 40368
diff changeset
41 */
0773c993abd8 Migrate add-chat and add-buddy to the new menu
Gary Kramlich <grim@reaperworld.com>
parents: 40368
diff changeset
42 #define PIDGIN_ACTION_ADD_BUDDY ("add-buddy")
0773c993abd8 Migrate add-chat and add-buddy to the new menu
Gary Kramlich <grim@reaperworld.com>
parents: 40368
diff changeset
43
0773c993abd8 Migrate add-chat and add-buddy to the new menu
Gary Kramlich <grim@reaperworld.com>
parents: 40368
diff changeset
44 /**
0773c993abd8 Migrate add-chat and add-buddy to the new menu
Gary Kramlich <grim@reaperworld.com>
parents: 40368
diff changeset
45 * PIDGIN_ACTION_ADD_CHAT:
0773c993abd8 Migrate add-chat and add-buddy to the new menu
Gary Kramlich <grim@reaperworld.com>
parents: 40368
diff changeset
46 *
0773c993abd8 Migrate add-chat and add-buddy to the new menu
Gary Kramlich <grim@reaperworld.com>
parents: 40368
diff changeset
47 * A constant that represents the add-chat action to add a chat to the
0773c993abd8 Migrate add-chat and add-buddy to the new menu
Gary Kramlich <grim@reaperworld.com>
parents: 40368
diff changeset
48 * contact list.
0773c993abd8 Migrate add-chat and add-buddy to the new menu
Gary Kramlich <grim@reaperworld.com>
parents: 40368
diff changeset
49 */
0773c993abd8 Migrate add-chat and add-buddy to the new menu
Gary Kramlich <grim@reaperworld.com>
parents: 40368
diff changeset
50 #define PIDGIN_ACTION_ADD_CHAT ("add-chat")
0773c993abd8 Migrate add-chat and add-buddy to the new menu
Gary Kramlich <grim@reaperworld.com>
parents: 40368
diff changeset
51
0773c993abd8 Migrate add-chat and add-buddy to the new menu
Gary Kramlich <grim@reaperworld.com>
parents: 40368
diff changeset
52 /**
40364
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
53 * PIDGIN_ACTION_ADD_GROUP:
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
54 *
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
55 * A constant that represents the add-group action to add a group to the
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
56 * contact list.
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
57 */
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
58 #define PIDGIN_ACTION_ADD_GROUP ("add-group")
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
59
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
60 /**
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
61 * PIDGIN_ACTION_BUDDY_POUNCES:
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
62 *
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
63 * A constant that represents the pounces action.
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
64 */
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
65 #define PIDGIN_ACTION_BUDDY_POUNCES ("buddy-pounces")
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
66
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
67 /**
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
68 * PIDGIN_ACTION_CUSTOM_SMILEY:
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
69 *
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
70 * A constant that represents the smiley-action action to toggle the visibility
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
71 * of the smiley manager.
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
72 */
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
73 #define PIDGIN_ACTION_CUSTOM_SMILEY ("custom-smiley")
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
74
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
75 /**
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
76 * PIDGIN_ACTION_DEBUG:
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
77 *
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
78 * A constant that represents the debug action to toggle the visibility of the
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
79 * debug window.
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
80 */
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
81 #define PIDGIN_ACTION_DEBUG ("debug")
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
82
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
83 /**
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
84 * PIDGIN_ACTION_FILE_TRANSFERS:
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
85 *
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
86 * A constant that represents the file-transfers action to toggle the
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
87 * visibility of the file transfers window.
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
88 */
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
89 #define PIDGIN_ACTION_FILE_TRANSFERS ("file-transfers")
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
90
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
91 /**
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
92 * PIDGIN_ACTION_GET_USER_INFO:
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
93 *
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
94 * A constant that represents the get-user info action.
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
95 */
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
96 #define PIDGIN_ACTION_GET_USER_INFO ("get-user-info")
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
97
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
98 /**
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
99 * PIDGIN_ACTION_MANAGE_ACCOUNTS:
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
100 *
40366
5c78f6c9a36b Implement mute sounds to prove out the action state code
Gary Kramlich <grim@reaperworld.com>
parents: 40364
diff changeset
101 * A constatnt that represents the manage-accounts action to displays the
40364
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
102 * manage accounts window.
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
103 */
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
104 #define PIDGIN_ACTION_MANAGE_ACCOUNTS ("manage-accounts")
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
105
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
106 /**
40366
5c78f6c9a36b Implement mute sounds to prove out the action state code
Gary Kramlich <grim@reaperworld.com>
parents: 40364
diff changeset
107 * PIDGIN_ACTION_MUTE_SOUNDS:
5c78f6c9a36b Implement mute sounds to prove out the action state code
Gary Kramlich <grim@reaperworld.com>
parents: 40364
diff changeset
108 *
5c78f6c9a36b Implement mute sounds to prove out the action state code
Gary Kramlich <grim@reaperworld.com>
parents: 40364
diff changeset
109 * A constatnt that represents the mute-sounds action.
5c78f6c9a36b Implement mute sounds to prove out the action state code
Gary Kramlich <grim@reaperworld.com>
parents: 40364
diff changeset
110 */
5c78f6c9a36b Implement mute sounds to prove out the action state code
Gary Kramlich <grim@reaperworld.com>
parents: 40364
diff changeset
111 #define PIDGIN_ACTION_MUTE_SOUNDS ("mute-sounds")
5c78f6c9a36b Implement mute sounds to prove out the action state code
Gary Kramlich <grim@reaperworld.com>
parents: 40364
diff changeset
112
5c78f6c9a36b Implement mute sounds to prove out the action state code
Gary Kramlich <grim@reaperworld.com>
parents: 40364
diff changeset
113 /**
40363
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
114 * PIDGIN_ACTION_NEW_MESSAGE:
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
115 *
40364
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
116 * A constant that represents the new-message action.
40363
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
117 */
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
118 #define PIDGIN_ACTION_NEW_MESSAGE ("new-message")
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
119
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
120 /**
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
121 * PIDGIN_ACTION_ONLINE_HELP:
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
122 *
40364
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
123 * A constant that represents the online-help action.
40363
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
124 */
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
125 #define PIDGIN_ACTION_ONLINE_HELP ("online-help")
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
126
40364
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
127 /**
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
128 * PIDGIN_ACTION_PLUGINS:
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
129 *
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
130 * A constant that represents the plugins action.
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
131 */
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
132 #define PIDGIN_ACTION_PLUGINS ("plugins")
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
133
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
134 /**
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
135 * PIDGIN_ACTION_PREFERENCES:
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
136 *
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
137 * A constant that represents the preferences action.
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
138 */
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
139 #define PIDGIN_ACTION_PREFERENCES ("preferences")
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
140
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
141 /**
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
142 * PIDGIN_ACTION_PRIVACY:
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
143 *
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
144 * A constant that represents the privacy action.
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
145 */
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
146 #define PIDGIN_ACTION_PRIVACY ("privacy")
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
147
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
148 /**
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
149 * PIDGIN_ACTION_QUIT:
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
150 *
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
151 * A constant that represents the quit action.
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
152 */
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
153 #define PIDGIN_ACTION_QUIT ("quit")
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
154
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
155 /**
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
156 * PIDGIN_ACTION_ROOM_LIST:
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
157 *
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
158 * A constant that represents the room-list action.
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
159 */
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
160 #define PIDGIN_ACTION_ROOM_LIST ("room-list")
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
161
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
162 /**
40367
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
163 * PIDGIN_ACTION_SHOW_BUDDY_ICONS:
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
164 *
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
165 * A constant that represents the show-buddy-icons action.
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
166 */
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
167 #define PIDGIN_ACTION_SHOW_BUDDY_ICONS ("show-buddy-icons")
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
168
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
169 /**
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
170 * PIDGIN_ACTION_SHOW_EMPTY_GROUPS:
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
171 *
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
172 * A constant that represents the show-empty-groups action.
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
173 */
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
174 #define PIDGIN_ACTION_SHOW_EMPTY_GROUPS ("show-empty-groups")
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
175
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
176 /**
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
177 * PIDGIN_ACTION_SHOW_IDLE_TIMES:
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
178 *
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
179 * A constant that represents the show-idle-times action.
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
180 */
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
181 #define PIDGIN_ACTION_SHOW_IDLE_TIMES ("show-idle-times")
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
182
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
183 /**
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
184 * PIDGIN_ACTION_SHOW_OFFLINE_BUDDIES:
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
185 *
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
186 * A constant that represents the show-offline-buddies action.
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
187 */
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
188 #define PIDGIN_ACTION_SHOW_OFFLINE_BUDDIES ("show-offline-buddies")
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
189
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
190 /**
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
191 * PIDGIN_ACTION_SHOW_PROTOCOL_ICONS:
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
192 *
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
193 * A constant that represents the show-protocol-icons action.
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
194 */
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
195 #define PIDGIN_ACTION_SHOW_PROTOCOL_ICONS ("show-protocol-icons")
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
196
3bd059ab9eb4 Finish porting the rest of the toggle actions to the new menubar widget
Gary Kramlich <grim@reaperworld.com>
parents: 40366
diff changeset
197 /**
40368
cb9a81e8845a Port the sort-method items to GMenu and GAction and display in the new menubar
Gary Kramlich <grim@reaperworld.com>
parents: 40367
diff changeset
198 * PIDGIN_ACTION_SORT_METHOD:
cb9a81e8845a Port the sort-method items to GMenu and GAction and display in the new menubar
Gary Kramlich <grim@reaperworld.com>
parents: 40367
diff changeset
199 *
cb9a81e8845a Port the sort-method items to GMenu and GAction and display in the new menubar
Gary Kramlich <grim@reaperworld.com>
parents: 40367
diff changeset
200 * A constant that represents the sort-method action to change the sorting
cb9a81e8845a Port the sort-method items to GMenu and GAction and display in the new menubar
Gary Kramlich <grim@reaperworld.com>
parents: 40367
diff changeset
201 * method of the buddy list.
cb9a81e8845a Port the sort-method items to GMenu and GAction and display in the new menubar
Gary Kramlich <grim@reaperworld.com>
parents: 40367
diff changeset
202 */
cb9a81e8845a Port the sort-method items to GMenu and GAction and display in the new menubar
Gary Kramlich <grim@reaperworld.com>
parents: 40367
diff changeset
203 #define PIDGIN_ACTION_SORT_METHOD ("sort-method")
cb9a81e8845a Port the sort-method items to GMenu and GAction and display in the new menubar
Gary Kramlich <grim@reaperworld.com>
parents: 40367
diff changeset
204
cb9a81e8845a Port the sort-method items to GMenu and GAction and display in the new menubar
Gary Kramlich <grim@reaperworld.com>
parents: 40367
diff changeset
205 /**
40364
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
206 * PIDGIN_ACTION_SYSTEM_LOG:
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
207 *
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
208 * A constant that represents the system-log action.
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
209 */
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
210 #define PIDGIN_ACTION_SYSTEM_LOG ("system-log")
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
211
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
212 /**
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
213 * PIDGIN_ACTION_VIEW_USER_LOG:
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
214 *
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
215 * A constant that represents the view-user-log action.
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
216 */
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
217 #define PIDGIN_ACTION_VIEW_USER_LOG ("view-user-log")
55483ee6710f Migrate the rest of the static menu items to the new PidginActionGroup
Gary Kramlich <grim@reaperworld.com>
parents: 40363
diff changeset
218
40363
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
219 G_BEGIN_DECLS
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
220
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
221 #define PIDGIN_TYPE_ACTION_GROUP (pidgin_action_group_get_type())
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
222 G_DECLARE_FINAL_TYPE(PidginActionGroup, pidgin_action_group, PIDGIN,
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
223 ACTION_GROUP, GSimpleActionGroup)
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
224
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
225 /**
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
226 * pidgin_action_group_new:
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
227 *
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
228 * Creates a new #PidginActionGroup instance that contains all of the
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
229 * #GAction's in Pidgin.
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
230 *
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
231 * Returns: (transfer full): The new #PidginActionGroup instance.
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
232 */
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
233 GSimpleActionGroup *pidgin_action_group_new(void);
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
234
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
235 G_END_DECLS
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
236
c8b010d1d430 Start to migrate the buddy list from GtkActionEntry and UiManager to GActionEntry and a custom widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
237 #endif /* PIDGIN_ACTION_GROUP_H */

mercurial