mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-22 17:22:18 -05:00
Open channel list window on /list
This commit is contained in:
parent
6d3c176ff8
commit
bb5d589c79
@ -179,5 +179,6 @@ typedef enum
|
|||||||
void fe_tray_set_icon (feicon icon);
|
void fe_tray_set_icon (feicon icon);
|
||||||
void fe_tray_set_tooltip (const char *text);
|
void fe_tray_set_tooltip (const char *text);
|
||||||
void fe_tray_set_balloon (const char *title, const char *text);
|
void fe_tray_set_balloon (const char *title, const char *text);
|
||||||
|
void fe_open_chan_list (server *serv, char *filter, int do_refresh);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -2477,7 +2477,7 @@ cmd_lastlog (struct session *sess, char *tbuf, char *word[], char *word_eol[])
|
|||||||
static int
|
static int
|
||||||
cmd_list (struct session *sess, char *tbuf, char *word[], char *word_eol[])
|
cmd_list (struct session *sess, char *tbuf, char *word[], char *word_eol[])
|
||||||
{
|
{
|
||||||
sess->server->p_list_channels (sess->server, word_eol[2], 1);
|
fe_open_chan_list (sess->server, word_eol[2], TRUE);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
@ -1091,3 +1091,9 @@ fe_get_file (const char *title, char *initial,
|
|||||||
/* CANCEL: Call callback once with file=NULL. */
|
/* CANCEL: Call callback once with file=NULL. */
|
||||||
gtkutil_file_req (title, callback, userdata, initial, NULL, flags | FRF_FILTERISINITIAL);
|
gtkutil_file_req (title, callback, userdata, initial, NULL, flags | FRF_FILTERISINITIAL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
fe_open_chan_list (server *serv, char *filter, int do_refresh)
|
||||||
|
{
|
||||||
|
chanlist_opengui (serv, do_refresh);
|
||||||
|
}
|
||||||
|
@ -908,3 +908,8 @@ void fe_tray_set_icon (feicon icon){}
|
|||||||
void fe_tray_set_tooltip (const char *text){}
|
void fe_tray_set_tooltip (const char *text){}
|
||||||
void fe_tray_set_balloon (const char *title, const char *text){}
|
void fe_tray_set_balloon (const char *title, const char *text){}
|
||||||
void fe_userlist_update (session *sess, struct User *user){}
|
void fe_userlist_update (session *sess, struct User *user){}
|
||||||
|
void
|
||||||
|
fe_open_chan_list (server *serv, char *filter, int do_refresh)
|
||||||
|
{
|
||||||
|
serv->p_list_channels (serv, filter, 1);
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user