Hardcoded css style checks on GTK Theme instead of XGD_CURRENT_DESKTOP
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nautilus (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hi all!
In nautilus : debian/
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_
+ g_object_
+
+ if (g_strcmp0(
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.
Related branches
- Martin Pitt: Needs Fixing
-
Diff: 69 lines (+13/-6)3 files modifieddebian/changelog (+7/-0)
debian/patches/ubuntu_titlebar_css.patch (+5/-5)
src/nautilus-toolbar.c (+1/-1)
An this should be moved into themes:
+ css_string = "GtkButton# toolbar- button {padding: 9px;}"; override_ css (button, "toolbar-button", css_string);
+ toolbar_
+