Sat, 21 Aug 2004 15:05:45 +0000
[gaim-migrate @ 10669]
On Fri, 2004-08-20 at 23:57, Tim Ringenbach wrote:
> > relative buddy icon paths instead of absolute ones from nosnilmot. this
> > should save some headaches migrating a ~/.gaim around
> I think you broke something here. On start up I notice all buddy icons
> are fetched again, and they only show up in my buddy list, never my
> conversation window.
I did break something. I think the logic of "if the old file doesn't
exist, then delete the new one instead" when removing old icons isn't
exactly what I meant to do.
You were also correct to point out that prpls might use them directly -
oscar does.
Patch attached to fix both cases.
Regards,
Stu.
committer: Luke Schierer <lschiere@pidgin.im>
| 5684 | 1 | /** |
| 2 | * @file gtksound.h GTK+ Sound API | |
| 3 | * | |
| 4 | * gaim | |
| 5 | * | |
| 8046 | 6 | * Gaim is the legal property of its developers, whose names are too numerous |
| 7 | * to list here. Please refer to the COPYRIGHT file distributed with this | |
| 8 | * source distribution. | |
| 5684 | 9 | * |
| 10 | * This program is free software; you can redistribute it and/or modify | |
| 11 | * it under the terms of the GNU General Public License as published by | |
| 12 | * the Free Software Foundation; either version 2 of the License, or | |
| 13 | * (at your option) any later version. | |
| 14 | * | |
| 15 | * This program is distributed in the hope that it will be useful, | |
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 18 | * GNU General Public License for more details. | |
| 19 | * | |
| 20 | * You should have received a copy of the GNU General Public License | |
| 21 | * along with this program; if not, write to the Free Software | |
| 22 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 23 | */ | |
| 24 | #ifndef _GAIM_GTKSOUND_H_ | |
| 25 | #define _GAIM_GTKSOUND_H_ | |
| 26 | ||
| 27 | /**************************************************************************/ | |
| 28 | /** @name GTK+ Sound API */ | |
| 29 | /**************************************************************************/ | |
| 30 | /*@{*/ | |
| 31 | ||
| 32 | /** | |
| 33 | * Gets GTK Sound UI opsA | |
| 34 | * | |
| 35 | * @return UI operations struct | |
| 36 | */ | |
|
7035
76bca80cd91d
[gaim-migrate @ 7598]
Christian Hammond <chipx86@chipx86.com>
parents:
5684
diff
changeset
|
37 | GaimSoundUiOps *gaim_gtk_sound_get_ui_ops(void); |
|
76bca80cd91d
[gaim-migrate @ 7598]
Christian Hammond <chipx86@chipx86.com>
parents:
5684
diff
changeset
|
38 | |
| 5684 | 39 | /** |
| 40 | * Mutes or un-mutes sounds. | |
| 41 | * | |
| 42 | * @param mute The mute state. | |
| 43 | */ | |
| 44 | void gaim_gtk_sound_set_mute(gboolean mute); | |
| 45 | ||
| 46 | /** | |
| 47 | * Gets mute state for sounds. | |
| 48 | * | |
| 49 | * @return The mute state. | |
| 50 | */ | |
| 51 | gboolean gaim_gtk_sound_get_mute(); | |
| 52 | ||
| 53 | /** | |
| 54 | * Mutes or un-mutes login sounds. | |
| 55 | * | |
| 56 | * @param mute The mute state. | |
| 57 | */ | |
| 58 | void gaim_gtk_sound_set_login_mute(gboolean mute); | |
| 59 | ||
| 60 | /** | |
| 61 | * Get the prefs option for an event. | |
| 62 | * | |
| 63 | * @param event The event. | |
| 64 | * @return The option. | |
| 65 | */ | |
| 66 | const char *gaim_gtk_sound_get_event_option(GaimSoundEventID event); | |
| 67 | ||
| 68 | /** | |
| 69 | * Get the label for an event. | |
| 70 | * | |
| 71 | * @param event The event. | |
| 72 | * @return The label. | |
| 73 | */ | |
| 74 | char *gaim_gtk_sound_get_event_label(GaimSoundEventID event); | |
| 75 | ||
| 76 | /*@}*/ | |
| 77 | ||
| 78 | #endif /* _GAIM_GTKSOUND_H_ */ |