Uploaded, thanks!

** Changed in: nautilus (Ubuntu)
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/1302077

Title:
  Hardcoded css style checks on GTK Theme instead of XGD_CURRENT_DESKTOP

Status in “nautilus” package in Ubuntu:
  Fix Committed

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1302077/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to