summaryrefslogtreecommitdiff
path: root/src/actionGroups/windowListGroup.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-09-22 19:16:47 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-09-22 19:16:47 +0200
commit45a3d7f0e2783d9898f017772583d31c1c9e0f03 (patch)
treea0b24517d375d6572741975f9ee787cb1596574b /src/actionGroups/windowListGroup.vala
parent4b19e75939c5b7122d1429f6f258d4b83cd90dde (diff)
New upstream version 0.7.0upstream/0.7.0
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) + "...";