mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-14 09:40:20 +00:00
Variable cleanup for gui_*
This commit is contained in:
@@ -95,9 +95,9 @@ joind_ok_cb (GtkWidget *ok, server *serv)
|
||||
chanlist_opengui (serv, TRUE);
|
||||
|
||||
xit:
|
||||
prefs.gui_join_dialog = 0;
|
||||
prefs.hex_gui_join_dialog = 0;
|
||||
if (GTK_TOGGLE_BUTTON (serv->gui->joind_check)->active)
|
||||
prefs.gui_join_dialog = 1;
|
||||
prefs.hex_gui_join_dialog = 1;
|
||||
|
||||
gtk_widget_destroy (serv->gui->joind_win);
|
||||
serv->gui->joind_win = NULL;
|
||||
@@ -214,7 +214,7 @@ joind_show_dialog (server *serv)
|
||||
gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5);
|
||||
|
||||
serv->gui->joind_check = checkbutton1 = gtk_check_button_new_with_mnemonic (_("_Always show this dialog after connecting."));
|
||||
if (prefs.gui_join_dialog)
|
||||
if (prefs.hex_gui_join_dialog)
|
||||
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (checkbutton1), TRUE);
|
||||
gtk_widget_show (checkbutton1);
|
||||
gtk_box_pack_start (GTK_BOX (vbox1), checkbutton1, FALSE, FALSE, 0);
|
||||
@@ -246,7 +246,7 @@ joind_show_dialog (server *serv)
|
||||
void
|
||||
joind_open (server *serv)
|
||||
{
|
||||
if (prefs.gui_join_dialog)
|
||||
if (prefs.hex_gui_join_dialog)
|
||||
joind_show_dialog (serv);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user