| 313 if (*message == '\0') { |
313 if (*message == '\0') { |
| 314 g_free(message); |
314 g_free(message); |
| 315 message = NULL; |
315 message = NULL; |
| 316 } |
316 } |
| 317 if (*command == '\0') command = NULL; |
317 if (*command == '\0') command = NULL; |
| 318 if (*sound == '\0' || !strcmp(sound, _("(default)"))) sound = NULL; |
318 if (*sound == '\0' || purple_strequal(sound, _("(default)"))) sound = NULL; |
| 319 |
319 |
| 320 /* If the pounce has already been triggered, let's pretend it is a new one */ |
320 /* If the pounce has already been triggered, let's pretend it is a new one */ |
| 321 if (dialog->pounce != NULL |
321 if (dialog->pounce != NULL |
| 322 && g_list_find(purple_pounces_get_all(), dialog->pounce) == NULL) { |
322 && g_list_find(purple_pounces_get_all(), dialog->pounce) == NULL) { |
| 323 purple_debug_info("gtkpounce", "Saving pounce that no longer exists; creating new pounce.\n"); |
323 purple_debug_info("gtkpounce", "Saving pounce that no longer exists; creating new pounce.\n"); |