Activity log for bug #1302077

Date Who What changed Old value New value Message
2014-04-03 17:20:39 Leo Iannacone bug added bug
2014-04-03 17:21:02 Leo Iannacone bug added subscriber Tim
2014-04-03 17:22:34 Leo Iannacone description Hi all! In nuautilus : debian/patches/ubuntu_titlebar_css.patch you have defined some style override in order to fit (if I understood correctly) nautilus in Unity window decoration. But, instead to check if it's Unity the current window manager, you do this: + settings = gtk_settings_get_default(); + g_object_get(settings, "gtk-theme-name", &theme_name, NULL); + + if (g_strcmp0(theme_name, "Ambiance") == 0 || g_strcmp0(theme_name, "Radiance") == 0) Which means: if you change theme in a Unity session, Nautilus will not override style. And also: if you use those themes in any window manager, nautilus makes the override. You should check instead XDS_CURRENT_DESKTOP == 'Unity'. Or is there some better way to know which WindowManager is running ? Hi all! In nautilus : debian/patches/ubuntu_titlebar_css.patch you have defined some style override in order to fit (if I understood correctly) nautilus in Unity window decoration. But, instead to check if it's Unity the current window manager, you do this: + settings = gtk_settings_get_default(); + g_object_get(settings, "gtk-theme-name", &theme_name, NULL); + + if (g_strcmp0(theme_name, "Ambiance") == 0 || g_strcmp0(theme_name, "Radiance") == 0) Which means: if you change theme in a Unity session, Nautilus will not override style. And also: if you use those themes in any window manager, nautilus makes the override. You should check XDS_CURRENT_DESKTOP == 'Unity' instead to look for which Theme is in use.
2014-04-04 16:01:07 Leo Iannacone branch linked lp:~l3on/ubuntu/trusty/nautilus/fix-1302077
2014-04-09 06:47:34 Launchpad Janitor branch linked lp:~ubuntu-desktop/nautilus/ubuntu
2014-04-09 06:48:34 Martin Pitt nautilus (Ubuntu): status New Fix Committed
2014-04-09 07:09:14 Martin Pitt nautilus (Ubuntu): status Fix Committed Confirmed