empathy r2003 - trunk/libempathy-gtk
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r2003 - trunk/libempathy-gtk
- Date: Tue, 16 Dec 2008 09:32:07 +0000 (UTC)
Author: xclaesse
Date: Tue Dec 16 09:32:07 2008
New Revision: 2003
URL: http://svn.gnome.org/viewvc/empathy?rev=2003&view=rev
Log:
Fallback to use "classic" theme if the gconf key is invalid
Modified:
trunk/libempathy-gtk/empathy-theme-manager.c
Modified: trunk/libempathy-gtk/empathy-theme-manager.c
==============================================================================
--- trunk/libempathy-gtk/empathy-theme-manager.c (original)
+++ trunk/libempathy-gtk/empathy-theme-manager.c Tue Dec 16 09:32:07 2008
@@ -380,6 +380,10 @@
if (!empathy_conf_get_string (conf, key, &name) ||
!theme_manager_ensure_theme_exists (name) ||
!tp_strdiff (priv->name, name)) {
+ if (!priv->name) {
+ priv->name = g_strdup ("classic");
+ }
+
g_free (name);
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]