[gnome-tweak-tool] Add extension state enums to gshellwrapper
- From: John Stowers <jstowers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tweak-tool] Add extension state enums to gshellwrapper
- Date: Mon, 20 Jun 2011 09:16:33 +0000 (UTC)
commit ad8a2233a307efa6358f3b948c9adfebe9386d55
Author: John Stowers <john stowers gmail com>
Date: Mon Jun 20 09:23:06 2011 +1200
Add extension state enums to gshellwrapper
gtweak/gshellwrapper.py | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/gtweak/gshellwrapper.py b/gtweak/gshellwrapper.py
index 1b75b60..73d20b0 100644
--- a/gtweak/gshellwrapper.py
+++ b/gtweak/gshellwrapper.py
@@ -39,6 +39,18 @@ class _ShellProxy:
class GnomeShell:
+ EXTENSION_STATE = {
+ 1 : "ENABLED",
+ 2 : "DISABLED",
+ 3 : "ERROR",
+ 4 : "OUT_OF_DATE"
+ }
+
+ EXTENSION_TYPE = {
+ 1 : "SYSTEM",
+ 2 : "PER_USER"
+ }
+
DATA_DIR = os.path.join(GLib.get_user_data_dir(), "gnome-shell")
def __init__(self):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]