Commit 545a1c73 authored by Alberts Muktupāvels's avatar Alberts Muktupāvels

prefs: don't reload theme if not needed

When using Metacity theme we don't need to realod it when
gtk-theme-name changes. It is needed only with GTK+ theme.
parent 92b94c70
......@@ -870,7 +870,8 @@ gtk_theme_name_changed (GtkSettings *settings,
GParamSpec *pspec,
gpointer user_data)
queue_changed (META_PREF_THEME_NAME);
if (current_theme_type == META_THEME_TYPE_GTK)
queue_changed (META_PREF_THEME_NAME);
static void
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment