Mercurial > pidgin.yaz
changeset 18396:864c454a5e16
Removing the default theme doesn't make sense for the average user. They
probably can't do it anyway, because of file permissions.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 01 Jul 2007 01:15:09 +0000 |
parents | ed470f35ceab |
children | e122b631a657 |
files | pidgin/gtkprefs.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkprefs.c Sun Jul 01 01:10:21 2007 +0000 +++ b/pidgin/gtkprefs.c Sun Jul 01 01:15:09 2007 +0000 @@ -381,7 +381,8 @@ themename = g_value_get_string(&val); purple_prefs_set_string(PIDGIN_PREFS_ROOT "/smileys/theme", themename); - gtk_widget_set_sensitive(remove_button, strcmp(themename, "none")); + gtk_widget_set_sensitive(remove_button, (strcmp(themename, "none") && + strcmp(themename, _("Default")))); g_value_unset (&val); /* current_smiley_theme is set in callback for the above pref change */