| 173 |
173 |
| 174 if (temp_mute) purple_prefs_set_bool(PIDGIN_PREFS_ROOT "/sound/mute", FALSE); |
174 if (temp_mute) purple_prefs_set_bool(PIDGIN_PREFS_ROOT "/sound/mute", FALSE); |
| 175 |
175 |
| 176 filename = gtk_entry_get_text(GTK_ENTRY(entry)); |
176 filename = gtk_entry_get_text(GTK_ENTRY(entry)); |
| 177 |
177 |
| 178 if (filename != NULL && *filename != '\0' && strcmp(filename, _("(default)"))) |
178 if (filename != NULL && *filename != '\0' && !purple_strequal(filename, _("(default)"))) |
| 179 purple_sound_play_file(filename, NULL); |
179 purple_sound_play_file(filename, NULL); |
| 180 else |
180 else |
| 181 purple_sound_play_event(PURPLE_SOUND_POUNCE_DEFAULT, NULL); |
181 purple_sound_play_event(PURPLE_SOUND_POUNCE_DEFAULT, NULL); |
| 182 |
182 |
| 183 if (temp_mute) purple_prefs_set_bool(PIDGIN_PREFS_ROOT "/sound/mute", TRUE); |
183 if (temp_mute) purple_prefs_set_bool(PIDGIN_PREFS_ROOT "/sound/mute", TRUE); |