[gnome-shell-extensions/extension-live-disable] xrandr-indicator: don't reference a non existing property



commit 871049b9f2523d656c95390e4d0ec37aab828e09
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Mon Aug 22 22:48:30 2011 +0200

    xrandr-indicator: don't reference a non existing property
    
    I was planning to add global.stage_xwindow, back when this was
    written for core. Then this became an extension, but the reference
    staid there.
    We could use clutter_x11_get_stage_window(), if that wasn't marked
    (skip). For now, let's just 0 (it is correct anyway, as we want
    the dialog to be system modal)

 extensions/xrandr-indicator/extension.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/extensions/xrandr-indicator/extension.js b/extensions/xrandr-indicator/extension.js
index d8b2bf8..9e83fad 100644
--- a/extensions/xrandr-indicator/extension.js
+++ b/extensions/xrandr-indicator/extension.js
@@ -102,7 +102,7 @@ Indicator.prototype = {
                     output.set_rotation(bitmask);
                     try {
                         config.save();
-                        this._proxy.ApplyConfigurationRemote(global.stage_xwindow, event.get_time());
+                        this._proxy.ApplyConfigurationRemote(0, event.get_time());
                     } catch (e) {
                         log ('Could not save monitor configuration: ' + e);
                     }



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