26 Commits (44cabc891b9311fa7a20ac229ee9c04090caba2d)

Author SHA1 Message Date
Tomeu Vizoso 44cabc891b Remove the hacks for asking the X server for screenshots and use gtk.Widget.get_snapshot() instead. 16 years ago
Daniel Drake 2937a09ead Use g_timeout_add_seconds() for power efficiency
This attempts to align second-granularity wakeups across the system,
reducing CPU wakeups a little.

I considered all timeouts of duration 1 second or greater, and moved
the non-timing-critical ones to g_timeout_add_seconds(). (Actually,
I didn't find any that I felt were timing-critical)
16 years ago
Tomeu Vizoso dddcc14ac7 Remove old cruft 16 years ago
Tomeu Vizoso 6dfff85f9f Add view-source-related methods HandleViewSource and GetDocumentPath 16 years ago
Marco Pesenti Gritti b58182a970 Mark modules as STABLE/UNSTABLE/DEPRECATED. 16 years ago
Guillaume Desmottes 9ab32f3b77 Add a get_shared_activity() method to sugar.activity.activity.Activity . Patch from Andrés Ambrois. #7649 16 years ago
Simon Schampijer 354dec9f0c Use gconf for the profile 16 years ago
Tomeu Vizoso bcc24a43e7 Move to cjson and drop pyjson and simplejson 16 years ago
Marco Pesenti Gritti a151135e2e Fix a few pylint warnings. 16 years ago
Erik Garrison c1f6d9843d Cleanup screenshot acquisition behavior in activity.py, so that we acquire
screenshots on user-initiated activity save and close.  Check before saving
that the window is not fully obscured, as it might be if the user initiates the
close from the frame--- this would produce incorrect screenshots.  The check
for visibility is done by attaching a handler to the Activity class which
handles visibility-notify-events from X.  In the sugar repository equivalent
changes remove automated screenshot acquisition from window manager navigation
events (e.g. tabbing).
16 years ago
Marco Pesenti Gritti 3f78abb8c2 Keep compatibility with the private shared_activity 16 years ago
Marco Pesenti Gritti 3d9f3eca67 Disable the few remaining pylint messages 16 years ago
Marco Pesenti Gritti b307237dbf Make shared_activity public. 16 years ago
Marco Pesenti Gritti 6e503b0a24 Ensure that the widget is fully onscreen before taking a screenshot.
Otherwise X emits a BadMatch and gtk kills the process (!).
Fix #8220
16 years ago
Eben Eliason a73cbc351d Merge branch 'master' of git://dev.laptop.org/sugar-toolkit 16 years ago
Marco Pesenti Gritti 204e4f233a Port a few widgets to use new style properties. 16 years ago
Eben Eliason ac6cea0d44 Widen activity tile entry (#7680) 16 years ago
Marco Pesenti Gritti 0d6b2072c1 Handle multiple Activity per process correctly.
Fix #7754
16 years ago
Simon Schampijer 564e6eb28d Zoom in activity when save error occurs #5136 16 years ago
Simon Schampijer 7fc7b39f14 Shutdown/Rebbot syncs activities data #6014 (marco) 16 years ago
Tomeu Vizoso 7c5fa614a6 #7054 Set activity initiator's colors in the journal entry 16 years ago
Eben Eliason 9dd0c93c69 Color the keep icon (#3939) 16 years ago
Sayamindu Dasgupta 710f30196a Change the GETTEXT_PACKAGE domain to sugar-toolkit 16 years ago
Marco Pesenti Gritti 9de8746df1 Remove a leftover debug print and fix a typo. 16 years ago
Marco Pesenti Gritti 50f79e6323 First go at session management. Not asking review since
it's a bunch of ugly C code imported from gnome-session.
Will clean it up a bit but I don't plan to make it too shiny :)
16 years ago
Marco Pesenti Gritti 72c2a1d770 Use a src directory consistently with base and shell. 16 years ago