From 52525478ab1bc9cd68d4ebe70bbce667aa58314d Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Fri, 13 Jul 2012 16:38:39 +0200 Subject: Config folder and some more HTM rebranding --- src/htm/Main.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/htm') diff --git a/src/htm/Main.cs b/src/htm/Main.cs index 5572ff76..67fcf32f 100644 --- a/src/htm/Main.cs +++ b/src/htm/Main.cs @@ -36,8 +36,8 @@ namespace thememan { public partial class HTM : Form { - public string appdata = (Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\X-Chat 2\\"); - public string home = (Environment.GetFolderPath(Environment.SpecialFolder.Personal) + "/.xchat2/"); + public string appdata = (Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\HexChat\\"); + public string home = (Environment.GetFolderPath(Environment.SpecialFolder.Personal) + "/.config/hexchat/"); public string xchatdir; public string themedir = "themes\\"; @@ -146,7 +146,7 @@ namespace thememan private void applybutton_Click_1(object sender, EventArgs e) { - DialogResult result = MessageBox.Show("XChat must be closed and this will overwrite your current theme!\n\nDo you wish to continue?", "Warning", MessageBoxButtons.OKCancel, MessageBoxIcon.Warning); + DialogResult result = MessageBox.Show("HexChat must be closed and this will overwrite your current theme!\n\nDo you wish to continue?", "Warning", MessageBoxButtons.OKCancel, MessageBoxIcon.Warning); if (result == DialogResult.OK) { File.Copy(xchatdir + themedir + themelist.SelectedItem.ToString() + "\\colors.conf", xchatdir + "colors.conf", true); @@ -170,7 +170,7 @@ namespace thememan private void importbutton_Click_1(object sender, EventArgs e) { importDialog = new OpenFileDialog(); - importDialog.Filter = "XChat Theme Files|*.xct"; + importDialog.Filter = "HexChat Theme Files|*.hct"; importDialog.FilterIndex = 1; importDialog.FileOk += new CancelEventHandler(importdialog_FileOk); importDialog.ShowDialog(); -- cgit 1.4.1