[gnome-shell-extensions] native-window-placement: update for gnome-shell API changes
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-extensions] native-window-placement: update for gnome-shell API changes
- Date: Sat, 24 Mar 2012 01:12:38 +0000 (UTC)
commit ed9c17dfdd66c4c55c32524b0201fa820240da8e
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Sat Mar 24 02:06:49 2012 +0100
native-window-placement: update for gnome-shell API changes
St.Widget.get_default_direction() was replaced with
Clutter.get_default_text_direction() as part of the Clutter Apocalypses
extensions/native-window-placement/extension.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/extensions/native-window-placement/extension.js b/extensions/native-window-placement/extension.js
index aa2c021..b4b8137 100644
--- a/extensions/native-window-placement/extension.js
+++ b/extensions/native-window-placement/extension.js
@@ -434,7 +434,7 @@ function enable() {
let settings = new Gio.Settings({ schema: BUTTON_LAYOUT_SCHEMA });
let layout = settings.get_string(BUTTON_LAYOUT_KEY);
- let rtl = St.Widget.get_default_direction() == St.TextDirection.RTL;
+ let rtl = Clutter.get_default_text_direction() == Clutter.TextDirection.RTL;
let split = layout.split(":");
let side;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]