GNOME Bugzilla – Bug 731809
Running builds with --enable-unity under gnome-shell looks ugly
Last modified: 2014-11-14 21:57:41 UTC
The build option --enable-unity was added and enabled by default in debian/rules (and hence the daily builds in the PPA) to fix Bug 727624. The effect of this flag is to not call set_titlebar() on the GtkHeaderBar and not display the Close button. However, when running these builds under gnome-shell, since this is a compile time option, Geary is gains a WM titlebar and is missing the Close button, in comparison to other GNOME apps, which is ugly. When --enable-unity is enabled, a runtime check should be used to determine if Geary is actually running under Unity, and if so only then avoid setting the titlebar and hiding the Close button.
I agree, that would help. The real solution is for Ubuntu to fix their theming (or whatever) so we don't need this flag in the first place. There's some talk about doing that for 14.10; we'll see.
Bug #737258 should take care of this problem. *** This bug has been marked as a duplicate of bug 737258 ***