mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-22 01:02:20 -05:00
Remove r from mode buttons
No network can agree on what mode r actually means so we can't have nice things. Closes #1287
This commit is contained in:
parent
78e51a4f3f
commit
7363bc03f2
@ -666,7 +666,6 @@ process_numeric (session * sess, int n,
|
|||||||
EMIT_SIGNAL_TIMESTAMP (XP_TE_CHANMODES, sess, word[4], word_eol[5],
|
EMIT_SIGNAL_TIMESTAMP (XP_TE_CHANMODES, sess, word[4], word_eol[5],
|
||||||
NULL, NULL, 0, tags_data->timestamp);
|
NULL, NULL, 0, tags_data->timestamp);
|
||||||
fe_update_mode_buttons (sess, 'c', '-');
|
fe_update_mode_buttons (sess, 'c', '-');
|
||||||
fe_update_mode_buttons (sess, 'r', '-');
|
|
||||||
fe_update_mode_buttons (sess, 't', '-');
|
fe_update_mode_buttons (sess, 't', '-');
|
||||||
fe_update_mode_buttons (sess, 'n', '-');
|
fe_update_mode_buttons (sess, 'n', '-');
|
||||||
fe_update_mode_buttons (sess, 'i', '-');
|
fe_update_mode_buttons (sess, 'i', '-');
|
||||||
|
@ -39,14 +39,13 @@
|
|||||||
|
|
||||||
#define flag_c flag_wid[0]
|
#define flag_c flag_wid[0]
|
||||||
#define flag_n flag_wid[1]
|
#define flag_n flag_wid[1]
|
||||||
#define flag_r flag_wid[2]
|
#define flag_t flag_wid[2]
|
||||||
#define flag_t flag_wid[3]
|
#define flag_i flag_wid[3]
|
||||||
#define flag_i flag_wid[4]
|
#define flag_m flag_wid[4]
|
||||||
#define flag_m flag_wid[5]
|
#define flag_l flag_wid[5]
|
||||||
#define flag_l flag_wid[6]
|
#define flag_k flag_wid[6]
|
||||||
#define flag_k flag_wid[7]
|
#define flag_b flag_wid[7]
|
||||||
#define flag_b flag_wid[8]
|
#define NUM_FLAG_WIDS 8
|
||||||
#define NUM_FLAG_WIDS 9
|
|
||||||
|
|
||||||
#ifdef HAVE_GTK_MAC
|
#ifdef HAVE_GTK_MAC
|
||||||
extern GtkosxApplication *osx_app;
|
extern GtkosxApplication *osx_app;
|
||||||
|
@ -78,7 +78,7 @@ static void mg_link_irctab (session *sess, int focus);
|
|||||||
static session_gui static_mg_gui;
|
static session_gui static_mg_gui;
|
||||||
static session_gui *mg_gui = NULL; /* the shared irc tab */
|
static session_gui *mg_gui = NULL; /* the shared irc tab */
|
||||||
static int ignore_chanmode = FALSE;
|
static int ignore_chanmode = FALSE;
|
||||||
static const char chan_flags[] = { 'c', 'n', 'r', 't', 'i', 'm', 'l', 'k' };
|
static const char chan_flags[] = { 'c', 'n', 't', 'i', 'm', 'l', 'k' };
|
||||||
|
|
||||||
static chan *active_tab = NULL; /* active tab */
|
static chan *active_tab = NULL; /* active tab */
|
||||||
GtkWidget *parent_window = NULL; /* the master window */
|
GtkWidget *parent_window = NULL; /* the master window */
|
||||||
@ -2075,7 +2075,6 @@ mg_create_chanmodebuttons (session_gui *gui, GtkWidget *box)
|
|||||||
{
|
{
|
||||||
gui->flag_c = mg_create_flagbutton (_("Filter Colors"), box, "c");
|
gui->flag_c = mg_create_flagbutton (_("Filter Colors"), box, "c");
|
||||||
gui->flag_n = mg_create_flagbutton (_("No outside messages"), box, "n");
|
gui->flag_n = mg_create_flagbutton (_("No outside messages"), box, "n");
|
||||||
gui->flag_r = mg_create_flagbutton (_("Registered Only"), box, "r");
|
|
||||||
gui->flag_t = mg_create_flagbutton (_("Topic Protection"), box, "t");
|
gui->flag_t = mg_create_flagbutton (_("Topic Protection"), box, "t");
|
||||||
gui->flag_i = mg_create_flagbutton (_("Invite Only"), box, "i");
|
gui->flag_i = mg_create_flagbutton (_("Invite Only"), box, "i");
|
||||||
gui->flag_m = mg_create_flagbutton (_("Moderated"), box, "m");
|
gui->flag_m = mg_create_flagbutton (_("Moderated"), box, "m");
|
||||||
|
Loading…
Reference in New Issue
Block a user