summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--share/sounds/beep.wav (renamed from win32/copy/share/beep.wav)bin17684 -> 17684 bytes
-rw-r--r--src/common/cfgfiles.c4
-rw-r--r--src/fe-gtk/fe-gtk.c4
-rw-r--r--win32/hexchat.props1
4 files changed, 5 insertions, 4 deletions
diff --git a/win32/copy/share/beep.wav b/share/sounds/beep.wav
index 099370f9..099370f9 100644
--- a/win32/copy/share/beep.wav
+++ b/share/sounds/beep.wav
Binary files differdiff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c
index 712f2bfa..e9486771 100644
--- a/src/common/cfgfiles.c
+++ b/src/common/cfgfiles.c
@@ -844,9 +844,9 @@ load_config (void)
 
 			buf = g_build_filename (get_xdir (), "sounds", "beep.wav", NULL);
 #ifdef WIN32	/* keep this in sync with fe-gtk.c! */
-			beepsrc = g_file_new_for_path (HEXCHATSHAREDIR G_DIR_SEPARATOR_S "share" G_DIR_SEPARATOR_S "beep.wav");
+			beepsrc = g_file_new_for_path (HEXCHATSHAREDIR G_DIR_SEPARATOR_S "share" G_DIR_SEPARATOR_S "sounds" G_DIR_SEPARATOR_S "beep.wav");
 #else
-			beepsrc = g_file_new_for_path (HEXCHATSHAREDIR G_DIR_SEPARATOR_S "hexchat" G_DIR_SEPARATOR_S "beep.wav");
+			beepsrc = g_file_new_for_path (HEXCHATSHAREDIR G_DIR_SEPARATOR_S "sounds" G_DIR_SEPARATOR_S "freedesktop" G_DIR_SEPARATOR_S "stereo" G_DIR_SEPARATOR_S "hexchat_beep.wav");
 #endif
 			beepdest = g_file_new_for_path (buf);
 
diff --git a/src/fe-gtk/fe-gtk.c b/src/fe-gtk/fe-gtk.c
index 30a75478..ec947617 100644
--- a/src/fe-gtk/fe-gtk.c
+++ b/src/fe-gtk/fe-gtk.c
@@ -674,9 +674,9 @@ fe_beep (session *sess)
 	if (!prefs.hex_gui_focus_omitalerts || !fe_gui_info (sess, 0) == 1)
 	{
 #ifdef WIN32	/* keep this in sync with cfgfiles.c! */
-		beepfile = g_build_filename (HEXCHATSHAREDIR, "share", "beep.wav", NULL);
+		beepfile = g_build_filename (HEXCHATSHAREDIR, "share", "sounds", "beep.wav", NULL);
 #else
-		beepfile = g_build_filename (HEXCHATSHAREDIR, "hexchat", "beep.wav", NULL);
+		beepfile = g_build_filename (HEXCHATSHAREDIR, "sounds", "freedesktop", "stereo", "hexchat_beep.wav", NULL);
 #endif
 		sound_play (beepfile, TRUE, TRUE);
 		g_free (beepfile);
diff --git a/win32/hexchat.props b/win32/hexchat.props
index cd8cb6bd..eb121ed5 100644
--- a/win32/hexchat.props
+++ b/win32/hexchat.props
@@ -77,6 +77,7 @@ xcopy /q /s /i "$(DepsRoot)\lib\gtk-2.0\i686-pc-vs10\engines" "$(HexChatRel)\lib
 xcopy /q /s /i etc "$(HexChatRel)\etc"

 xcopy /q /s /i share "$(HexChatRel)\share"

 xcopy /q /s /i "..\..\share\doc\COPYING" "$(HexChatRel)\share\doc\hexchat\"

+xcopy /q /s /i "..\..\share\sounds\beep.wav" "$(HexChatRel)\share\sounds\"

 xcopy /q /s /i "$(DepsRoot)\share\doc" "$(HexChatRel)\share\doc"

 xcopy /q /s /i "$(DepsRoot)\lib\enchant\libenchant_myspell.dll" "$(HexChatRel)\lib\enchant\"

 xcopy /q /s /i "$(HexChatBin)hcchecksum.dll" "$(HexChatRel)\plugins\"