5e80f3bc03
A collection of patches submitted to the (dead?) upstream, this ebuild can be removed once the packages are merged upstream (if ever) * fix-notify-osd.diff Source: Debian Package Needed to work with Notify OSD correctly. * no_text_in_messages.diff Source: Thev00d00 - Version of patch found on SF, Adds an option to not show the message content in the notification to improve privacy if needed, fixed to work with 0.14 * notify_file_transfers.diff Source: Sourceforge patches page Enables file transfer notifications * pidgin-libnotify_best_name.diff Source: Thev00d00, A version of the same patch on SF to use what libpurple thinks is the most appropriate name rather than its own logic, fixed to work with 0.14
23 lines
673 B
Diff
23 lines
673 B
Diff
diff -ur pidgin-libnotify-0.14.orig/src/pidgin-libnotify.c pidgin-libnotify-0.14.mine/src/pidgin-libnotify.c
|
|
--- pidgin-libnotify-0.14.orig/src/pidgin-libnotify.c 2008-12-14 17:45:51.000000000 +0000
|
|
+++ pidgin-libnotify-0.14.mine/src/pidgin-libnotify.c 2010-12-29 21:19:33.495080501 +0000
|
|
@@ -131,16 +131,10 @@
|
|
}
|
|
|
|
/* do NOT g_free() the string returned by this function */
|
|
-static gchar *
|
|
+const static gchar *
|
|
best_name (PurpleBuddy *buddy)
|
|
{
|
|
- if (buddy->alias) {
|
|
- return buddy->alias;
|
|
- } else if (buddy->server_alias) {
|
|
- return buddy->server_alias;
|
|
- } else {
|
|
- return buddy->name;
|
|
- }
|
|
+ return purple_buddy_get_contact_alias(buddy);
|
|
}
|
|
|
|
static GdkPixbuf *
|