diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-10-22 14:50:36 +0200 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-10-22 14:50:36 +0200 |
commit | 545b7dc6ffc0aff9f2ca2cb4ba10b69e25134a03 (patch) | |
tree | cfb96af58bab32dca37205add2a5be36dd2c23f2 /src/fe-gtk/servlistgui.c | |
parent | 5c49b45a6deb80d604fd6114bb110358b6ee0687 (diff) |
Variable cleanup for irc_*
Diffstat (limited to 'src/fe-gtk/servlistgui.c')
-rw-r--r-- | src/fe-gtk/servlistgui.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/fe-gtk/servlistgui.c b/src/fe-gtk/servlistgui.c index 95c15785..c0c504f6 100644 --- a/src/fe-gtk/servlistgui.c +++ b/src/fe-gtk/servlistgui.c @@ -654,14 +654,14 @@ servlist_savegui (void) /* if (GTK_ENTRY (entry_greal)->text[0] == 0) return 1; */ - strcpy (prefs.nick1, GTK_ENTRY (entry_nick1)->text); - strcpy (prefs.nick2, GTK_ENTRY (entry_nick2)->text); - strcpy (prefs.nick3, GTK_ENTRY (entry_nick3)->text); - strcpy (prefs.username, GTK_ENTRY (entry_guser)->text); - sp = strchr (prefs.username, ' '); + strcpy (prefs.hex_irc_nick1, GTK_ENTRY (entry_nick1)->text); + strcpy (prefs.hex_irc_nick2, GTK_ENTRY (entry_nick2)->text); + strcpy (prefs.hex_irc_nick3, GTK_ENTRY (entry_nick3)->text); + strcpy (prefs.hex_irc_user_name, GTK_ENTRY (entry_guser)->text); + sp = strchr (prefs.hex_irc_user_name, ' '); if (sp) sp[0] = 0; /* spaces will break the login */ - /* strcpy (prefs.realname, GTK_ENTRY (entry_greal)->text); */ + /* strcpy (prefs.hex_irc_real_name, GTK_ENTRY (entry_greal)->text); */ servlist_save (); return 0; @@ -1713,35 +1713,35 @@ servlist_open_networks (void) gtk_misc_set_alignment (GTK_MISC (label7), 0, 0.5);*/ entry_nick1 = entry1 = gtk_entry_new (); - gtk_entry_set_text (GTK_ENTRY (entry1), prefs.nick1); + gtk_entry_set_text (GTK_ENTRY (entry1), prefs.hex_irc_nick1); gtk_widget_show (entry1); gtk_table_attach (GTK_TABLE (table1), entry1, 1, 2, 0, 1, (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), (GtkAttachOptions) (0), 0, 0); entry_nick2 = entry2 = gtk_entry_new (); - gtk_entry_set_text (GTK_ENTRY (entry2), prefs.nick2); + gtk_entry_set_text (GTK_ENTRY (entry2), prefs.hex_irc_nick2); gtk_widget_show (entry2); gtk_table_attach (GTK_TABLE (table1), entry2, 1, 2, 1, 2, (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), (GtkAttachOptions) (0), 0, 0); entry_nick3 = entry3 = gtk_entry_new (); - gtk_entry_set_text (GTK_ENTRY (entry3), prefs.nick3); + gtk_entry_set_text (GTK_ENTRY (entry3), prefs.hex_irc_nick3); gtk_widget_show (entry3); gtk_table_attach (GTK_TABLE (table1), entry3, 1, 2, 2, 3, (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), (GtkAttachOptions) (0), 0, 0); entry_guser = entry4 = gtk_entry_new (); - gtk_entry_set_text (GTK_ENTRY (entry4), prefs.username); + gtk_entry_set_text (GTK_ENTRY (entry4), prefs.hex_irc_user_name); gtk_widget_show (entry4); gtk_table_attach (GTK_TABLE (table1), entry4, 1, 2, 3, 4, (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), (GtkAttachOptions) (0), 0, 0); /* entry_greal = entry5 = gtk_entry_new (); - gtk_entry_set_text (GTK_ENTRY (entry5), prefs.realname); + gtk_entry_set_text (GTK_ENTRY (entry5), prefs.hex_irc_real_name); gtk_widget_show (entry5); gtk_table_attach (GTK_TABLE (table1), entry5, 1, 2, 4, 5, (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), |