Commit Graph

26 Commits

Author SHA1 Message Date
Tomeu Vizoso
44cabc891b Remove the hacks for asking the X server for screenshots and use gtk.Widget.get_snapshot() instead. 2008-12-20 16:51:29 +01:00
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)
2008-12-18 19:56:08 +00:00
Tomeu Vizoso
dddcc14ac7 Remove old cruft 2008-12-15 17:48:41 +01:00
Tomeu Vizoso
6dfff85f9f Add view-source-related methods HandleViewSource and GetDocumentPath 2008-11-07 16:23:54 +01:00
Marco Pesenti Gritti
b58182a970 Mark modules as STABLE/UNSTABLE/DEPRECATED. 2008-10-28 14:19:01 +01:00
Guillaume Desmottes
9ab32f3b77 Add a get_shared_activity() method to sugar.activity.activity.Activity . Patch from Andrés Ambrois. #7649 2008-10-22 13:00:15 +01:00
Simon Schampijer
354dec9f0c Use gconf for the profile 2008-10-11 18:28:40 +02:00
Tomeu Vizoso
bcc24a43e7 Move to cjson and drop pyjson and simplejson 2008-10-08 17:30:08 +02:00
Marco Pesenti Gritti
a151135e2e Fix a few pylint warnings. 2008-09-19 00:18:31 +02:00
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).
2008-09-17 14:25:38 -04:00
Marco Pesenti Gritti
3f78abb8c2 Keep compatibility with the private shared_activity 2008-09-08 01:30:20 +02:00
Marco Pesenti Gritti
3d9f3eca67 Disable the few remaining pylint messages 2008-09-07 23:57:27 +02:00
Marco Pesenti Gritti
b307237dbf Make shared_activity public. 2008-09-07 22:07:49 +02:00
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
2008-08-31 14:40:03 +02:00
Eben Eliason
a73cbc351d Merge branch 'master' of git://dev.laptop.org/sugar-toolkit 2008-08-15 05:32:14 -04:00
Marco Pesenti Gritti
204e4f233a Port a few widgets to use new style properties. 2008-08-11 01:10:02 +02:00
Eben Eliason
ac6cea0d44 Widen activity tile entry (#7680) 2008-08-07 22:54:15 -04:00
Marco Pesenti Gritti
0d6b2072c1 Handle multiple Activity per process correctly.
Fix #7754
2008-08-06 23:04:00 +02:00
Simon Schampijer
564e6eb28d Zoom in activity when save error occurs #5136 2008-07-21 19:27:26 +02:00
Simon Schampijer
7fc7b39f14 Shutdown/Rebbot syncs activities data #6014 (marco) 2008-07-21 19:20:22 +02:00
Tomeu Vizoso
7c5fa614a6 #7054 Set activity initiator's colors in the journal entry 2008-07-03 12:30:33 +02:00
Eben Eliason
9dd0c93c69 Color the keep icon (#3939) 2008-06-25 13:40:37 -04:00
Sayamindu Dasgupta
710f30196a Change the GETTEXT_PACKAGE domain to sugar-toolkit 2008-06-23 23:51:58 +05:30
Marco Pesenti Gritti
9de8746df1 Remove a leftover debug print and fix a typo. 2008-06-10 23:45:24 +02:00
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 :)
2008-06-06 19:13:10 +02:00
Marco Pesenti Gritti
72c2a1d770 Use a src directory consistently with base and shell. 2008-04-29 14:58:34 +02:00