Sayamindu Dasgupta
ef093d395e
Update Makefile.am
2010-01-24 20:29:10 +05:30
Sayamindu Dasgupta
173a402701
Code for language pack support
2010-01-24 20:28:21 +05:30
Sascha Silbe
9c77febcf1
locate rainbow using PATH instead of hardcoding the location ( #1436 )
2010-01-11 17:01:37 +00:00
Sascha Silbe
1d8b1b98cb
don't use rainbow if it has been uninstalled, but the config file remains ( #1317 )
...
Some distros retain config files after removing packages, so /etc/olpc-security
might exist even if rainbow is not installed.
Signed-off-by: Sascha Silbe <sascha@silbe.org>
2010-01-11 16:51:15 +00:00
Daniel Drake
709d44d602
Apply activity font settings earlier ( #1607 )
...
Fixes some minor changes in toolbar appearance that my previous
work unintentionally introduced.
2009-12-24 14:41:52 +00:00
Daniel Drake
634b2fcee0
Apply font configuration from GConf ( #1584 )
...
Sugar font settings are now stored in GConf. This patch applies them
to all users of sugar.style and all standard activities.
2009-12-01 16:51:14 +00:00
Aleksey Lim
8f52b0a8f4
Present windows in non-active process #1423
2009-09-29 18:33:13 +00:00
Tomeu Vizoso
957c0b4c0f
Save activity_id if its not yet in the DS #1276
2009-09-19 19:02:04 +02:00
Aleksey Lim
acdbae5d4c
_Typo Color of sugar.activity.widgets.ActivityButton is owners all time despite of 'icon-color' metadata property #1368
2009-09-18 15:11:24 +00:00
Aleksey Lim
9f981bb5dc
Color of sugar.activity.widgets.ActivityButton is owners all time despite of 'icon-color' metadata property #1368
2009-09-18 15:09:03 +00:00
Tomeu Vizoso
df89c1bf0b
Close tube after the activity window is closed #1296
2009-09-15 17:28:29 +02:00
Tomeu Vizoso
db77ed8ab3
Put back <Ctrl>Z as the Undo accelerator #1287
2009-09-14 18:19:09 +02:00
Aleksey Lim
1b80257149
Fullscreen resizing issues #1263
2009-09-05 16:40:15 +00:00
Tomeu Vizoso
929ce5a3cb
Make activity windows cover the whole screen as soon as they are mapped.
2009-09-01 10:11:59 +02:00
Sascha Silbe
c9e63eb8ea
PEP8 white space and long line fixes
2009-08-25 21:12:40 +02:00
Sascha Silbe
ecdaf6b795
trim EOL (end-of-line) spaces on source files
2009-08-25 19:55:48 +02:00
Aleksey Lim
9a65089978
Fix typos in 0342a24e2d
2009-08-25 17:21:55 +00:00
Aleksey Lim
0342a24e2d
Sugar crashing when saving a journal entry upon closing an activity #1123
2009-08-25 15:40:23 +00:00
Sascha Silbe
0a8b1261eb
don't hardcode Rainbow activity permissions
2009-08-24 20:40:11 +02:00
Sascha Silbe
496090fe62
let the logger do the formatting
2009-08-24 12:54:02 +02:00
Simon Schampijer
2e780d624c
Align widgets to the left
2009-08-17 18:22:36 +02:00
Simon Schampijer
b34f5d7164
Fix typo
2009-08-17 14:47:51 +02:00
Simon Schampijer
296f4e500c
Add ActivityButton for simple activities
...
Contains only a palette showing the title
2009-08-17 14:46:47 +02:00
Simon Schampijer
10b5a30bc9
Make the share button insensitive when max_participants is set to 1
2009-08-12 11:26:26 +02:00
Aleksey Lim
d02ab6bb9a
Set labels for toolbuttons
2009-08-07 08:12:25 +00:00
Aleksey Lim
d0485cb515
Set STATE_INSENSITIVE for toolbarbox pages
2009-08-07 08:12:25 +00:00
Tomeu Vizoso
10e84fe8fa
Remove list of Rainbow exemptions
2009-08-01 19:36:23 +02:00
Tomeu Vizoso
43167172b9
style fixes
2009-08-01 19:24:21 +02:00
Tomeu Vizoso
acdc647f58
Merge branch 'master' of git://dev.laptop.org/users/mstone/sugar-toolkit
2009-08-01 18:34:36 +02:00
Aleksey Lim
f5f8c807d3
Fix pylint/pep8 warnings
2009-08-01 11:27:56 +00:00
Aleksey Lim
6e724c3d8d
Set background color for activity.widgets.TitleEntry
2009-08-01 11:23:20 +00:00
Aleksey Lim
4d6a2cc9bd
Fix review issues
2009-07-31 10:25:01 +00:00
Aleksey Lim
353564f12c
Fix review issues
2009-07-31 03:49:05 +00:00
Aleksey Lim
7bfb7704d7
Fix Makefile.am
2009-07-31 01:55:21 +00:00
Aleksey Lim
61ab4110fa
Rename toolbar.py to toolbarbox.py
2009-07-30 15:25:30 +00:00
Aleksey Lim
b43aa43114
Move activity related widgets to sugar.activity.widgets
2009-07-30 15:08:55 +00:00
Aleksey Lim
5ee1f2a3cb
Do not use jarabe module
2009-07-30 12:20:15 +00:00
Aleksey Lim
a2f20f39ff
Fix review issues
2009-07-30 11:29:52 +00:00
Aleksey Lim
e03fd4ddde
Minor tweaks
2009-07-30 05:43:36 +00:00
Aleksey Lim
2655a8ccad
Suppress sub-palettes in radiopalette
2009-07-29 16:15:38 +00:00
Aleksey Lim
872b18a103
Fix review issues
2009-07-29 15:33:02 +00:00
Aleksey Lim
0cf445eb0f
Remove redundant ctor argument from activity.ActivityToolbar()
2009-07-29 13:02:41 +00:00
Aleksey Lim
ec474da5cc
Replace share combo with new share button
2009-07-29 06:41:23 +00:00
Aleksey Lim
9e9a22b2d5
Use activity icon for activity.toolbar button
2009-07-28 15:02:00 +00:00
Aleksey Lim
2088bd5f2a
Add activity.keep_button
2009-07-28 11:58:31 +00:00
Aleksey Lim
095c732c9a
Add activity.share_button
2009-07-28 11:50:36 +00:00
Aleksey Lim
d4cbd4150e
Support legacy stop button in ActivityToolbar
2009-07-13 18:34:02 +00:00
Aleksey Lim
442034bb8b
Support new toolbars widgets in activity.py
2009-07-13 01:40:23 +00:00
Simon Schampijer
1d15b7f874
Merge branch 'master' of gitorious@git.sugarlabs.org:sugar-toolkit/mainline
2009-03-30 09:51:21 +02:00
Simon Schampijer
a7daf73fae
Bundlebuilder list_files: Better error handling #635
...
Don't fail on trailing slash of the directory name
2009-03-30 09:49:59 +02:00
Tomeu Vizoso
c5e5d3aeb7
Only call read_file once on activity startup #428
2009-03-27 12:32:04 +01:00
Tomeu Vizoso
9ef619a63a
Revert "Listen for map in Window instead of in Canvas (alsroot) #428 "
...
This reverts commit eaf7afcd91
.
2009-03-27 12:32:03 +01:00
Sayamindu Dasgupta
366b07e73a
Use git ls-files instead of git-ls-files, to work with newer Git. d.sl.o #647
2009-03-26 23:45:39 +05:30
Simon Schampijer
720401606d
Bundlebuilder: Don't include whole directory in src tarball
...
regression introduced by #397
2009-03-24 17:11:56 +01:00
Tomeu Vizoso
c4dce659a4
Use Popen.communicate() to avoid hang (Sascha Silbe) #397
2009-03-12 15:43:04 +01:00
Tomeu Vizoso
af4faead14
Catch all exceptions while saving #224
2009-03-03 15:22:54 +01:00
Tomeu Vizoso
eaf7afcd91
Listen for map in Window instead of in Canvas (alsroot) #428
2009-03-03 14:27:01 +01:00
Michael Stone
a65c8d2148
Get activities launching with rainbow-0.8.x.
...
Future extensions:
a) we are now able to reliably detect when an activity's main process has
exited. We should take advantage of this to give better feedback on activity
crashes; e.g. by turning the frame's activity-icon into an error icon and by
inserting the activity's log into the datastore so that it appears in the
Journal.
b) in the future, I'd like rainbow to provide more narrow interfaces for
manipulating jails; e.g. for garbage-collecting them, nuking their contents, or
for reusing them. Please consider this an invitation to show me which interfaces
would work best for Sugar.
P.S. - Thanks to Sascha Silbe for testing and for improvements to this patch.
2009-02-27 16:42:47 -05:00
Simon Schampijer
6f210f0e33
Process .py files in subdirectories './setup genplot' #391 (alsroot)
2009-02-27 12:46:45 +01:00
Tomeu Vizoso
29cc73ae18
Let activities provide their own implementation of get_preview() #152
2009-02-25 16:09:06 +01:00
Tomeu Vizoso
e2696086e6
Switch to existing instance of an activity if it's already running #410
2009-02-24 10:34:22 +01:00
Simon Schampijer
780efa55b0
NamingAlert: Icon dependent on the entry type #353
2009-02-16 16:06:38 +01:00
Tomeu Vizoso
474b2c3476
Set the locale path for sugar-toolkit #55
2009-02-05 18:47:08 +01:00
Tomeu Vizoso
ace5e73d3d
Don't push to the DS a file path pointing to nowhere #258
2009-02-05 12:43:50 +01:00
Simon Schampijer
d0d4f55121
'Resume' activity window when NamingAlert is displayed #293
2009-02-02 17:45:22 +01:00
Simon Schampijer
38f0ac83d2
Naming alert prevents activity close on keep error #224
...
When the Naming alert is shown and a keep error occurs,
the activity can not be closed.
2009-01-28 20:30:19 +01:00
Simon Schampijer
9e3a8ab007
enhancements to the naming alert
...
- focus the title entry
- add accelerator for the 'Keep' button which is enter/return
2009-01-19 16:57:59 +01:00
Simon Schampijer
817a981288
Enhanced the 'Name this entry dialog'
...
- created the canvastextview in sugar/graphics
2009-01-18 16:30:53 +01:00
Tomeu Vizoso
64d24f3ac5
Fix the keep button in the title activity
2009-01-16 14:59:12 +01:00
Tomeu Vizoso
67d1d3bcad
Make the title alert look a bit nicer
2009-01-13 19:54:02 +01:00
Tomeu Vizoso
ada64e85ab
Show an alert on activity close for suggesting the user to set a title
2009-01-13 19:34:26 +01:00
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
Marco Pesenti Gritti
9c74f4eec7
Drop broken release command. A more generic release tools
...
is being developed in sugar-tools now.
2008-10-26 01:15:20 +02: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
Tomeu Vizoso
611bd9ccda
Only absolutize the command when it doesnt contain already a slash
2008-10-21 17:07:03 +02:00
Tomeu Vizoso
0b7def1788
If the binary to launch is inside the bundle dir, use an absolute path.
2008-10-21 16:12:22 +02:00
Tomeu Vizoso
a13ca6d664
#8840 Add missing byte_arrays=True
2008-10-16 20:41:45 +02: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
5c6c7ab1d1
The activity registry is now private to the shell.
...
Changed the activityfactory to take a bundle instead of a bundle_id
so that it doesn't depend on the registry.
2008-10-06 15:54:46 +02:00
Marco Pesenti Gritti
3f08644b32
Remove workaround for old dbus-python.
2008-10-01 00:24:37 +02:00
Tomeu Vizoso
afb63981fa
Set the correct locale path for system activities
2008-09-25 20:19:05 +02:00
Marco Pesenti Gritti
7eafbe9ce9
Failure to close descriptor is actually expected. Don't bloat the logs.
2008-09-19 11:38:23 +02:00
Marco Pesenti Gritti
6a5d0c837b
Another pylint fix.
2008-09-19 00:32:46 +02:00
Marco Pesenti Gritti
a151135e2e
Fix a few pylint warnings.
2008-09-19 00:18:31 +02:00
C. Scott Ananian
28586edb2f
Trac #8532 : remove SIGCHLD handler, which interacts poorly with threads.
...
Threads and signals don't get along too well together. Instead, use
gobject's spawn_async functionality which already has the necessary zombie-
reaping integrated into the gobject event loop.
2008-09-18 11:14:41 -04:00
Erik Garrison
a6ef6742f5
Removed unused TakeScreenshot from the dbus interface provided by
...
activityservice.py as suggested by Marco @ trac #8432 .
2008-09-17 14:48:14 -04: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
Tomeu Vizoso
6c1eed78d8
s/print/logging.debug
2008-09-15 15:45:35 +02:00
Simon Schampijer
1af96495d2
bundlebuilder: remove an existing locale dir before building
2008-09-13 12:02:22 +02:00
Simon Schampijer
199a91ff87
don't build the locale for the pseudo.po
2008-09-12 13:15:49 +02:00
Simon Schampijer
e721f74f63
Ignore pseudo.po for the manifest
2008-09-11 10:49:54 +02:00
Simon Schampijer
1d29440bfd
bundlebuilder: fix the release command
2008-09-09 17:41:42 +02:00
Marco Pesenti Gritti
866f26aced
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar-toolkit
2008-09-08 09:13:33 +02: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