Add last activity keybinding from fedora

This commit is contained in:
TingPing
2012-12-25 00:33:57 -05:00
parent 76680ae41b
commit b37fe23b99
7 changed files with 194 additions and 1 deletions

View File

@@ -348,6 +348,15 @@ struct hexchatprefs
#define SET_ON 1
#define SET_DEFAULT 2 /* use global setting */
/* Priorities in the "interesting sessions" priority queue
* (see xchat.c:sess_list_by_lastact) */
#define LACT_NONE -1 /* no queues */
#define LACT_QUERY_HI 0 /* query with hilight */
#define LACT_QUERY 1 /* query with messages */
#define LACT_CHAN_HI 2 /* channel with hilight */
#define LACT_CHAN 3 /* channel with messages */
#define LACT_CHAN_DATA 4 /* channel with other data */
/* Moved from fe-gtk for use in outbound.c as well -- */
typedef enum gtk_xtext_search_flags_e {
case_match = 1,
@@ -406,6 +415,10 @@ typedef struct session
int type; /* SESS_* */
GList *lastact_elem; /* our GList element in sess_list_by_lastact */
int lastact_idx; /* the sess_list_by_lastact[] index of the list we're in.
* For valid values, see defines of LACT_*. */
int new_data:1; /* new data avail? (purple tab) */
int nick_said:1; /* your nick mentioned? (blue tab) */
int msg_said:1; /* new msg available? (red tab) */