~3v1n0/bamf/g-control-center-rematching

Viewing all changes in revision 431.

  • Committer: Marco Trevisan (Treviño)
  • Date: 2012-01-21 00:29:55 UTC
  • Revision ID: mail@3v1n0.net-20120121002955-vqijqnqvdr9to51k
Matcher: add support to Gnome Control Center rematching.

Using an hack similar to the one used in libreoffice to match the
gnome-control-center window changes, here instead we use the
WM_WINDOW_ROLE hint (set in the g-c-c side) to check if the gnome control
center window has changed role (i.e its content type).

Also, fixed an issue that caused BAMF to ignore the desktop files
with an exec string with multiple strings (such as the gnome-control-center
uses). Now we match all these desktop files using a white list.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: