mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-09 23:40:18 +00:00
Cleaned up unneeded inline comments in swtype by removing index/reserved annotations that didn’t add value, while keeping the data unchanged.
Removed a stale commented-out ST_HEADER line from tabs_settings so the settings table only contains active entries. Removed a dead commented-out call from setup_apply_trans to reduce noise in the function body. Removed redundant trailing declaration comments from proxy_user and proxy_pass since the types are already explicit.
This commit is contained in:
@@ -314,15 +314,14 @@ static const char *const noticeposmenu[] =
|
||||
|
||||
static const char *const swtype[] =
|
||||
{
|
||||
N_("Tabs"), /* 0 tabs */
|
||||
"", /* 1 reserved */
|
||||
N_("Tree"), /* 2 tree */
|
||||
N_("Tabs"),
|
||||
"",
|
||||
N_("Tree"),
|
||||
NULL
|
||||
};
|
||||
|
||||
static const setting tabs_settings[] =
|
||||
{
|
||||
/*{ST_HEADER, N_("Channel Switcher"),0,0,0},*/
|
||||
{ST_RADIO, N_("Switcher type:"),P_OFFINTNL(hex_gui_tab_layout), 0, swtype, 0},
|
||||
{ST_TOGGLE, N_("Open an extra tab for server messages"), P_OFFINTNL(hex_gui_tab_server), 0, 0, 0},
|
||||
{ST_TOGGLE, N_("Open a new tab when you receive a private message"), P_OFFINTNL(hex_gui_autoopen_dialog), 0, 0, 0},
|
||||
@@ -954,7 +953,6 @@ setup_apply_trans (int *tag)
|
||||
gtk_window_set_opacity (GTK_WINDOW (current_sess->gui->window),
|
||||
(prefs.hex_gui_transparency / 255.));
|
||||
|
||||
/* mg_update_xtext (current_sess->gui->xtext); */
|
||||
*tag = 0;
|
||||
return 0;
|
||||
}
|
||||
@@ -1000,8 +998,8 @@ setup_create_hscale (GtkWidget *table, int row, const setting *set)
|
||||
}
|
||||
|
||||
|
||||
static GtkWidget *proxy_user; /* username GtkEntry */
|
||||
static GtkWidget *proxy_pass; /* password GtkEntry */
|
||||
static GtkWidget *proxy_user;
|
||||
static GtkWidget *proxy_pass;
|
||||
|
||||
static void
|
||||
setup_menu_cb (GtkWidget *cbox, const setting *set)
|
||||
|
||||
Reference in New Issue
Block a user