[gnome-shell] searchDisplay: Label search result actors for accessibility
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] searchDisplay: Label search result actors for accessibility
- Date: Mon, 18 Mar 2013 16:13:47 +0000 (UTC)
commit 41cf447c459dfbc2b6e002b4f40b457d91fc8f8d
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Sun Mar 17 15:33:02 2013 -0400
searchDisplay: Label search result actors for accessibility
https://bugzilla.gnome.org/show_bug.cgi?id=696007
js/ui/searchDisplay.js | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/searchDisplay.js b/js/ui/searchDisplay.js
index ce99f0f..d93a0b7 100644
--- a/js/ui/searchDisplay.js
+++ b/js/ui/searchDisplay.js
@@ -104,6 +104,7 @@ const ListSearchResult = new Lang.Class({
y_fill: false,
x_align: St.Align.START,
y_align: St.Align.START });
+ this.actor.label_actor = title;
if (this.metaInfo['description']) {
let description = new St.Label({ style_class: 'list-search-result-description' });
@@ -141,6 +142,7 @@ const GridSearchResult = new Lang.Class({
}
this.actor.set_child(content);
+ this.actor.label_actor = content.label_actor;
let draggable = DND.makeDraggable(this.actor);
draggable.connect('drag-begin',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]