[gnome-shell] a11y: Using the proper label_actor for date menu on top panel



commit 5436634829e997f8e6c2e3967241e587f1ce10ef
Author: Alejandro PiÃeiro <apinheiro igalia com>
Date:   Thu May 3 20:10:14 2012 +0200

    a11y: Using the proper label_actor for date menu on top panel
    
    On the code two labels are created. One is used on the date menu
    itself, and the other for the menu icon at the top panel. The wrong
    label was used as the label_actor for the top panel menu icon.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=675307

 js/ui/dateMenu.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js
index 47231fa..616e45a 100644
--- a/js/ui/dateMenu.js
+++ b/js/ui/dateMenu.js
@@ -75,7 +75,7 @@ const DateMenuButton = new Lang.Class({
 
         // Date
         this._date = new St.Label();
-        this.actor.label_actor = this._date;
+        this.actor.label_actor = this._clock;
         this._date.style_class = 'datemenu-date-label';
         vbox.add(this._date);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]