From bf27d4305288872507e1c6283df91783785c1b1e Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Mon, 22 Oct 2012 13:49:28 +0200 Subject: Variable cleanup for gui_* --- src/fe-gtk/joind.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/fe-gtk/joind.c') diff --git a/src/fe-gtk/joind.c b/src/fe-gtk/joind.c index dea9ce11..5c591070 100644 --- a/src/fe-gtk/joind.c +++ b/src/fe-gtk/joind.c @@ -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); } -- cgit 1.4.1