Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRubén Rodríguez <ruben@trisquel.info>2013-10-02 06:20:19 (GMT)
committer Rubén Rodríguez <ruben@trisquel.info>2013-10-02 06:20:19 (GMT)
commita766027877f92a2fef2cec417b8c0f320b2710a2 (patch)
treefbc8a1397b4e2b0bc537a8d613a720e5beadb6c1
parentc88573fe4771906bb8df961594b480bd86a9fec3 (diff)
Prevent activities from changing the resizable value of the main window, refs #4486devel
-rw-r--r--src/sugar/graphics/window.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sugar/graphics/window.py b/src/sugar/graphics/window.py
index 4fa546f..95a7463 100644
--- a/src/sugar/graphics/window.py
+++ b/src/sugar/graphics/window.py
@@ -283,6 +283,10 @@ class Window(gtk.Window):
enable_fullscreen_mode = gobject.property(type=object,
setter=set_enable_fullscreen_mode, getter=get_enable_fullscreen_mode)
+ # Activities should never set this to false
+ def set_resizable(ignore=None, this=None):
+ return
+
# DEPRECATED
def set_toolbox(self, toolbar_box):