summaryrefslogtreecommitdiff
path: root/src/actionGroups/windowListGroup.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/actionGroups/windowListGroup.vala')
-rw-r--r--src/actionGroups/windowListGroup.vala9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/actionGroups/windowListGroup.vala b/src/actionGroups/windowListGroup.vala
index 363b8b8..c3560af 100644
--- a/src/actionGroups/windowListGroup.vala
+++ b/src/actionGroups/windowListGroup.vala
@@ -111,14 +111,7 @@ public class WindowListGroup : ActionGroup {
var application = window.get_application();
var icon = application.get_icon_name().down();
-
- #if HAVE_BAMF
- var matcher = Bamf.Matcher.get_default();
- var bamf_app = matcher.get_application_for_xid((uint32)window.get_xid());
- icon = bamf_app.get_icon();
- #endif
-
- string name = window.get_name();
+ var name = window.get_name();
if (name.length > 30) {
name = name.substring(0, 30) + "...";