From 518d54667e1934f0e339e3368d77cfc953a34314 Mon Sep 17 00:00:00 2001 From: Danielle Madeley Date: Fri, 29 Jun 2012 14:12:14 +1000 Subject: theme-manager: make it possible to look up theme by name --- libempathy-gtk/empathy-theme-adium.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libempathy-gtk/empathy-theme-adium.c') diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c index 485d361f6..f1aad6eac 100644 --- a/libempathy-gtk/empathy-theme-adium.c +++ b/libempathy-gtk/empathy-theme-adium.c @@ -1710,6 +1710,9 @@ empathy_adium_path_is_valid (const gchar *path) gboolean ret; gchar *file; + if (path[0] != '/') + return FALSE; + /* The theme is not valid if there is no Info.plist */ file = g_build_filename (path, "Contents", "Info.plist", NULL); -- cgit v1.2.3