Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-07-19 11:38:24 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-07-19 11:38:24 (GMT)
commitae00121fbffdb3434d79716a112bd5956b9e5e67 (patch)
treeba65fb39de00da7ae25c2f0e56a45877b9f371fe /sugar
parent08a52809a6ae3c712d67a9b50f10821ab5225e48 (diff)
Use matchbox to activate home and people page
Diffstat (limited to 'sugar')
-rw-r--r--sugar/__uninstalled__.py1
-rw-r--r--sugar/env.py3
-rw-r--r--sugar/keybindings.py4
3 files changed, 0 insertions, 8 deletions
diff --git a/sugar/__uninstalled__.py b/sugar/__uninstalled__.py
index be5abb4..6b2e1dd 100644
--- a/sugar/__uninstalled__.py
+++ b/sugar/__uninstalled__.py
@@ -1,5 +1,4 @@
import os
sugar_data_dir = os.path.dirname(os.path.dirname(__file__))
-sugar_activity_runner = os.path.join(sugar_data_dir, 'shell/sugar-activity')
sugar_activities_dir = os.path.join(sugar_data_dir, 'activities')
diff --git a/sugar/env.py b/sugar/env.py
index 0d2c249..df1fb30 100644
--- a/sugar/env.py
+++ b/sugar/env.py
@@ -36,6 +36,3 @@ def get_data_dir():
def get_activities_dir():
return sugar_activities_dir
-
-def get_activity_runner():
- return sugar_activity_runner
diff --git a/sugar/keybindings.py b/sugar/keybindings.py
index fbc215d..f6b0feb 100644
--- a/sugar/keybindings.py
+++ b/sugar/keybindings.py
@@ -13,9 +13,5 @@ def setup_global_keys(window, shell = None):
window.connect("key-press-event", __key_press_event_cb, shell)
def __key_press_event_cb(window, event, shell):
- if event.keyval == gtk.keysyms.F1:
- shell.toggle_home()
- if event.keyval == gtk.keysyms.F2:
- shell.toggle_people()
if event.keyval == gtk.keysyms.F3:
shell.toggle_console()