~macslow/unity/unity.fix-929425

Viewing all changes in revision 1982.

  • Committer: Tarmac
  • Author(s): Marco Trevisan (Treviño)
  • Date: 2012-02-17 05:38:44 UTC
  • mfrom: (1979.1.4 unity)
  • Revision ID: tarmac-20120217053844-is8rp7meytmscfz2
Fix crash on missing dash WindowButton files

Improved the PanelStyle code to support the Maximize window button and to draw the cairo fallback version.
WindowButtons now uses less code duplication.

Testcase
1) remove your $prefix/share/unity/5/unmaximize_dash* $prefix/share/unity/5/maximize_dash* and so
2) restart unity, but it will always crash.. Fixes: https://bugs.launchpad.net/bugs/921130. Approved by Tim Penhey.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: