pidgin/gtkconvwin.h

branch
soc.2013.gobjectification
changeset 34973
389cabbfe56a
parent 34659
4fc616843cb2
child 35047
cf8ca70094ff
child 36829
ed2518145911
equal deleted inserted replaced
34972:5778e65626ca 34973:389cabbfe56a
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA 24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
25 */ 25 */
26 #ifndef _PIDGIN_CONVERSATION_WINDOW_H_ 26 #ifndef _PIDGIN_CONVERSATION_WINDOW_H_
27 #define _PIDGIN_CONVERSATION_WINDOW_H_ 27 #define _PIDGIN_CONVERSATION_WINDOW_H_
28 28
29 typedef struct _PidginWindowMenu PidginWindowMenu;
29 typedef struct _PidginWindow PidginWindow; 30 typedef struct _PidginWindow PidginWindow;
30 31
31 32
32 /************************************************************************** 33 /**************************************************************************
33 * @name Structures 34 * @name Structures
34 **************************************************************************/ 35 **************************************************************************/
35 /*@{*/ 36 /*@{*/
37
38 struct _PidginWindowMenu
39 {
40 GtkUIManager *ui;
41 GtkWidget *menubar;
42
43 GtkAction *view_log;
44
45 GtkAction *audio_call;
46 GtkAction *video_call;
47 GtkAction *audio_video_call;
48
49 GtkAction *send_file;
50 GtkAction *get_attention;
51 GtkAction *add_pounce;
52 GtkAction *get_info;
53 GtkAction *invite;
54
55 GtkAction *alias;
56 GtkAction *block;
57 GtkAction *unblock;
58 GtkAction *add;
59 GtkAction *remove;
60
61 GtkAction *insert_link;
62 GtkAction *insert_image;
63
64 GtkAction *logging;
65 GtkAction *sounds;
66 GtkAction *show_formatting_toolbar;
67
68 GtkWidget *send_to;
69
70 GtkWidget *tray;
71
72 GtkWidget *typing_icon;
73 };
36 74
37 /** 75 /**
38 * A GTK+ representation of a graphical window containing one or more 76 * A GTK+ representation of a graphical window containing one or more
39 * conversations. 77 * conversations.
40 */ 78 */
44 GtkWidget *notebook; /**< The notebook of conversations. */ 82 GtkWidget *notebook; /**< The notebook of conversations. */
45 GtkWidget *notebook_menu; /**< The menu on the notebook. */ 83 GtkWidget *notebook_menu; /**< The menu on the notebook. */
46 PidginConversation *clicked_tab; /**< The menu currently clicked. */ 84 PidginConversation *clicked_tab; /**< The menu currently clicked. */
47 GList *gtkconvs; 85 GList *gtkconvs;
48 86
49 struct 87 PidginWindowMenu *menu;
50 {
51 GtkUIManager *ui;
52 GtkWidget *menubar;
53
54 GtkAction *view_log;
55
56 GtkAction *audio_call;
57 GtkAction *video_call;
58 GtkAction *audio_video_call;
59
60 GtkAction *send_file;
61 GtkAction *get_attention;
62 GtkAction *add_pounce;
63 GtkAction *get_info;
64 GtkAction *invite;
65
66 GtkAction *alias;
67 GtkAction *block;
68 GtkAction *unblock;
69 GtkAction *add;
70 GtkAction *remove;
71
72 GtkAction *insert_link;
73 GtkAction *insert_image;
74
75 GtkAction *logging;
76 GtkAction *sounds;
77 GtkAction *show_formatting_toolbar;
78
79 GtkWidget *send_to;
80
81 GtkWidget *tray;
82
83 GtkWidget *typing_icon;
84
85 } menu;
86 88
87 /* Tab dragging stuff. */ 89 /* Tab dragging stuff. */
88 gboolean in_drag; 90 gboolean in_drag;
89 gboolean in_predrag; 91 gboolean in_predrag;
90 92

mercurial