Tomeu Vizoso
cc8ecd81e7
Add src/sugar/presence/util.py
14 years ago
Tomeu Vizoso
bd3a4ca747
Take into account the "private" property when updating the scope toolbutton
14 years ago
Tomeu Vizoso
ce87bb3ff6
Only add ourselves to a channel if we are in local_pending
14 years ago
Tomeu Vizoso
fbee730549
Implement inviting buddies to a private activity
14 years ago
Tomeu Vizoso
37d7fc1075
Add src/sugar/util.py to the Makefile
14 years ago
Tomeu Vizoso
6f6b86d1e2
Implement Buddy.object_path()
14 years ago
Tomeu Vizoso
9c1275e4c8
Implement Activity.get_channels()
14 years ago
Tomeu Vizoso
043d3b0ee7
Emit the buddy-left signal
14 years ago
Tomeu Vizoso
12cd353620
Implement leaving an activity
14 years ago
Tomeu Vizoso
2db82c1722
Emit the buddy-joined signal
14 years ago
Tomeu Vizoso
f9b0d68a48
Refactor the logic for sharing into _ShareCommand and implement
...
joining a shared instance with _JoinCommand.
14 years ago
Tomeu Vizoso
a0b9394846
Replace enough of the old PS so we can share an activity instance publically
...
on the network.
14 years ago
Tomeu Vizoso
98cc77f1fb
Replace enough of the old PS so we can join an activity instance on the network.
...
* src/sugar/activity/activity.py: Get the shared activity wrapper from
sugar.presence.
* src/sugar/activity/activityfactory.py: Disable checking in the PS for
activity_id duplicates.
* src/sugar/presence/activity.py: Remove the PS dependency and query Telepathy
directly. Implemented enough to join an activity.
* src/sugar/presence/buddy.py: Remove the PS dependency and query Telepathy
directly. Implemented enough to join an activity. Added an Owner subclass of
Buddy()
* src/sugar/presence/presenceservice.py: Remove the PS dependency and query Telepathy
directly. Implemented enough to join an activity.
* src/sugar/presence/util.py: Add ConnectionManager for discovering and tracking
connections.
14 years ago
Simon Schampijer
981707c112
Print warnings about the deprecated activity.info fields
14 years ago
Simon Schampijer
acd8095a29
Revert "Support dropped for activity.info fields 'service_name' and 'class'"
...
This reverts commit e11b7d3196
.
14 years ago
Simon Schampijer
e11b7d3196
Support dropped for activity.info fields 'service_name' and 'class'
...
You have to use 'bundle_id' and 'exec' instead now.
14 years ago
anishmangal2002
3f68813dd6
Add ErrorAlert inherited from Alert
...
Adds the ErrorAlert class which is an alert inherited from
the base Alert class. This is very similar to the
ConfirmationAlert class with the difference being that it
only displays an 'Ok' button in the Alert popup.
Signed-off-by: anishmangal2002 <anishmangal2002@gmail.com>
14 years ago
Simon Schampijer
f82c2bad4d
Not able to access files on external device from within an activity on new system d.l.o #10218
...
The error we were seeing was that the '(env.get_profile_path(),
'data'))' does not exist yet at system start. Symlinks are created
there when accessing data on an external device. The directory
gets created when an activity like Browse or Terminal has been
run for the first time or you start Read for the first time by
resuming the file on the external device.
http://dev.laptop.org/ticket/10218
14 years ago
Simon Schampijer
abda2edc04
Remove unneeded debug logs #1861
14 years ago
Bernie Innocenti
e90fccfd37
Use set_toolbar_box() in example code.
...
The set_toolbox() method is obsolete, so let's not advertise it.
Signed-off-by: Bernie Innocenti <bernie@codewiz.org>
14 years ago
Bernie Innocenti
e2ab351b36
Set default accelerators for Copy and Paste buttons
14 years ago
Simon Schampijer
3aa0995096
Bundelbuilder should not use localized activity name #1968 (Walter Bender)
...
The localized activity name is only used for
user-facing strings. The .xo and .tar files are
left in the original name.
14 years ago
Aleksey Lim
883fefe782
Cannot delete stalled download from journal #1987
14 years ago
Aleksey Lim
845d2534e6
Reset timeout delay on every TitleEntry change #1948
14 years ago
Simon Schampijer
e497eb15ba
Fix keep functionality in activities
...
Introduced by #1765
14 years ago
Aleksey Lim
161aec771e
Display a message when an activity fails to start (based on wadeb patches) #1447
15 years ago
Simon Schampijer
2a52c9493b
A little bit of pylint cleanup
15 years ago
Sascha Silbe
bb323a4efa
check syntax of private key ( #1568 )
...
Check that header and footer of the private key are present in order to detect
corrupted key files.
Signed-off-by: Sascha Silbe <sascha-pgp@silbe.org>
15 years ago
Sascha Silbe
d38d865c7c
Revert "Merge commit 'refs/top-bases/t/bug-1568' into t/bug-1568"
...
This reverts commit 12016d5408
, reversing
changes made to d006092d37
.
15 years ago
Sascha Silbe
12016d5408
Merge commit 'refs/top-bases/t/bug-1568' into t/bug-1568
15 years ago
Tomeu Vizoso
d006092d37
Log saving errors in activities #1703
15 years ago
Wade Brainerd
63a5dcef05
Deprecate host_version #1509
15 years ago
James Cameron
f8ef93bd21
Removes the use of O_SYNC on logs #1656
...
With O_SYNC on open of log files, on systems with slow filesystem random
write performance, there is random activity startup time.
15 years ago
Aleksey Lim
6921bcd67d
Do not fail while closing object less activities #1714
15 years ago
Sascha Silbe
b64930b2eb
check private key syntax
15 years ago
Aleksey Lim
3bf70d642c
Override canvas property in Activity class #1795
15 years ago
Simon Schampijer
7978c55fdf
Create the DSObject update listener as well for existing entries
15 years ago
Sayamindu Dasgupta
e6aa91ba3f
Merge branch 'master' of git://git.sugarlabs.org/sugar-toolkit/gettext-enhancements
15 years ago
Sayamindu Dasgupta
d00d9b6431
More cleanups for i18n.py
15 years ago
Sayamindu Dasgupta
1b600b147d
Make the dictionary sorting a bit more sensible
15 years ago
Sayamindu Dasgupta
4552050136
Clean up docstring
15 years ago
Sayamindu Dasgupta
1817caf30f
Consistent variable names
15 years ago
Sayamindu Dasgupta
ffe3504e0a
Should be and, and not or
15 years ago
Sayamindu Dasgupta
85840b269f
Style and PEP8 fixes
15 years ago
Simon Schampijer
394870f4ad
Synchronize changes made to a Journal entry #1358
15 years ago
Tomeu Vizoso
b5bcbe2ed4
Remove file that was there by mistake
15 years ago
Sayamindu Dasgupta
415f3a3066
Describe the args of the i18n methods
15 years ago
Sayamindu Dasgupta
259fca2caa
Import in two lines instead of one
15 years ago
Aleksey Lim
9f9adda1ab
Merge branch 'master' of git.sugarlabs.org:sugar-toolkit/mainline
15 years ago
Aleksey Lim
4a4ea538ca
Supplement #1687 by docstring
15 years ago
Simon Schampijer
a3c68d5109
removed leftover
15 years ago
Aleksey Lim
6f3ecbdb1f
New color to highlight items while hovering over #1693
15 years ago
Aleksey Lim
fea8acec84
Get pure icon surface w/o creating any widgets #1687
15 years ago
Simon Schampijer
e1d4afe13e
Add signal listener functionality to the DS #1197 (silbe)
15 years ago
Sayamindu Dasgupta
ef093d395e
Update Makefile.am
15 years ago
Sayamindu Dasgupta
173a402701
Code for language pack support
15 years ago
Simon Schampijer
aacb5592e5
Cleaned up the datastore API
...
- killed the dbus_helpers, moved that to the datastore.py
- added documentation
- pep8 and pylint clean
15 years ago
Sascha Silbe
9c77febcf1
locate rainbow using PATH instead of hardcoding the location ( #1436 )
15 years ago
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>
15 years ago
Daniel Drake
709d44d602
Apply activity font settings earlier ( #1607 )
...
Fixes some minor changes in toolbar appearance that my previous
work unintentionally introduced.
15 years ago
Daniel Drake
618df4e177
Fix bold font style
...
Small error in my last commit.
15 years ago
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.
15 years ago
Aleksey Lim
8c2fe54ea7
Do not stop processing motion-notify-event #1507
15 years ago
Aleksey Lim
a4a2b33dac
Do no use random color if metadata color is not valid #1435
15 years ago
Aleksey Lim
3d46fd8c99
Shutdown/Reboot fails when multiple users are logged in #246
15 years ago
Aleksey Lim
8f52b0a8f4
Present windows in non-active process #1423
15 years ago
Aleksey Lim
823188957c
Treat broken symlinks corretcly #1394
15 years ago
Aleksey Lim
7a8dc0dd70
Do not fail if activity mime_type was already installed #1394
15 years ago
Tomeu Vizoso
957c0b4c0f
Save activity_id if its not yet in the DS #1276
15 years ago
Aleksey Lim
acdbae5d4c
_Typo Color of sugar.activity.widgets.ActivityButton is owners all time despite of 'icon-color' metadata property #1368
15 years ago
Aleksey Lim
9f981bb5dc
Color of sugar.activity.widgets.ActivityButton is owners all time despite of 'icon-color' metadata property #1368
15 years ago
Aleksey Lim
93d65bcb2f
Circular dependecy in ToolbarBox #1389
15 years ago
Aleksey Lim
ac586e5a85
Circular dependecy in ToolbarBox #1389
15 years ago
Aleksey Lim
33ea5bdee4
Circular dependecy in ToolbarBox #1389
15 years ago
Aleksey Lim
dfc5513f86
To emulate missed parts of DSObject - optional file_path removing #1241
15 years ago
Aleksey Lim
927c576e31
After using CP, the XO home palette is incorrectly scrolled (blank lines + missing item) #231
15 years ago
Aleksey Lim
2e3061dc10
When in fullscreen mode in an activity, frame doesnt pop-up(forgotten changes) #1335
15 years ago
Aleksey Lim
ecee594190
Invoke WindowPalette.popdown when menu property is None #1323
15 years ago
Aleksey Lim
76542527cd
When in fullscreen mode in an activity, frame doesnt pop-up #1335
15 years ago
Aleksey Lim
f939baec05
Error while initiating .sugar environment #1327
15 years ago
Tomeu Vizoso
df89c1bf0b
Close tube after the activity window is closed #1296
15 years ago
Tomeu Vizoso
db77ed8ab3
Put back <Ctrl>Z as the Undo accelerator #1287
15 years ago
Tomeu Vizoso
850a78c59a
Only try to pop down the submenus if we still have a _Menu #1338
15 years ago
Tomeu Vizoso
0159bc7b52
Warn when the XoColor string is invalid.
15 years ago
Benjamin Berg
c684950ecf
Do not emit the row-changed signal, but redraw the row for prelight.
...
This basically undos commit 4bb221349c
and fixes the code that was there before. Emitting the row-changed
signal causes any editing to be canceled.
15 years ago
Aleksey Lim
d57320b985
Hide only submenus #1301
15 years ago
Simon Schampijer
b087809ec5
focus the canvas
...
make the boxes private using the python mangling
algorithm (see pep8)
15 years ago
Aleksey Lim
cdd4ba3a3d
Palette will fail to open if you have just 'scrubbed' over some number of icons quickly #1312
15 years ago
Aleksey Lim
86ba52eadd
Secondary toolbar widget should set a minimum height #1304
15 years ago
Aleksey Lim
b41e4a51d7
Popdown menu on palette popdown #1301
15 years ago
Tomeu Vizoso
fdb00469c1
Remove prelit invert effect for icons (garycmartin) #1313
15 years ago
Aleksey Lim
868c9293ac
Hide palette group before immediate popup #1291
15 years ago
Aleksey Lim
c69bbe3341
Simple scheme for hidding ToolbarBox subpalettes #1300
15 years ago
Aleksey Lim
ff2dd6cc0e
Stop all animators on poup/popdown invoking #1310
15 years ago
Aleksey Lim
aed38758be
Show selecting status of favorite check box in journal list view even if "start" is prelighted #1247
15 years ago
Aleksey Lim
6b992ee9fb
Close previous palette on reseting palette property in invoker #1299
15 years ago
Aleksey Lim
cb5951d3b9
Do not fail on immediate second palette openning for bottom icons #1292
15 years ago
Aleksey Lim
dc0701dacf
Some activities relies on existing of ds fields like 'title' #1241
15 years ago
Aleksey Lim
1b80257149
Fullscreen resizing issues #1263
15 years ago
Aleksey Lim
e97dd135eb
Wrong calculated positions for palettes #1268
15 years ago
Aleksey Lim
2b78463830
Primary palette redraw glitch after secondary palette exposed #1135
15 years ago
Aleksey Lim
135b2a608d
Hide all animators while deleting palettes #1265
15 years ago
Aleksey Lim
da678c6973
ObjectChooser displays USB media files, but fails to access file #1241
15 years ago
Tomeu Vizoso
3b0d09a188
Add get_sugar_window_type to sugar.wm #571
15 years ago
Tomeu Vizoso
e3415afbc5
Merge branch 'master' of gitorious@git.sugarlabs.org:sugar-toolkit/mainline
15 years ago
Tomeu Vizoso
929ce5a3cb
Make activity windows cover the whole screen as soon as they are mapped.
15 years ago
Benjamin Berg
0991081eff
Get the correct window property instead of '_SUGAR_ACTIVITY_ID' ( #1251 )
15 years ago
Benjamin Berg
d3c9dc535b
Do not pop the error trap twice (pointed out by Sascha Silbe in #1123 ).
15 years ago
Aleksey Lim
78d64031c3
Add is_user_activity() to ActivityBundle #701
15 years ago
Benjamin Berg
d304f72872
Trap X errors in wm.py ( #1123 )
15 years ago
Sascha Silbe
c9e63eb8ea
PEP8 white space and long line fixes
15 years ago
Sascha Silbe
ecdaf6b795
trim EOL (end-of-line) spaces on source files
15 years ago
Sascha Silbe
6c3fd0346c
add sugar.util.format_size
15 years ago
Aleksey Lim
9a65089978
Fix typos in 0342a24e2d
15 years ago
Aleksey Lim
0342a24e2d
Sugar crashing when saving a journal entry upon closing an activity #1123
15 years ago
Sascha Silbe
0a8b1261eb
don't hardcode Rainbow activity permissions
15 years ago
Simon Schampijer
6ece09d49b
more pylint
15 years ago
Simon Schampijer
e1e8647de9
pylint fixes
15 years ago
Sascha Silbe
496090fe62
let the logger do the formatting
15 years ago
Tomeu Vizoso
bdd760d92a
Remove a couple of debug prints
15 years ago
Tomeu Vizoso
3f9761469c
Mention TempFilePath in the comment
15 years ago
Aleksey Lim
a8ecc1729f
Do not fail while displaying activity icon for bundles in Journal #1175
15 years ago
Tomeu Vizoso
40e9bd3ce5
Fix telepathy log paths (alsroot) #1178
15 years ago
Simon Schampijer
2e780d624c
Align widgets to the left
15 years ago
Simon Schampijer
b34f5d7164
Fix typo
15 years ago
Simon Schampijer
296f4e500c
Add ActivityButton for simple activities
...
Contains only a palette showing the title
15 years ago
Simon Schampijer
c1f5115b2a
fix typo (two underscores for toolbar_box)
15 years ago
Simon Schampijer
10b5a30bc9
Make the share button insensitive when max_participants is set to 1
15 years ago
Aleksey Lim
d02ab6bb9a
Set labels for toolbuttons
15 years ago
Aleksey Lim
d0485cb515
Set STATE_INSENSITIVE for toolbarbox pages
15 years ago
Tomeu Vizoso
10e84fe8fa
Remove list of Rainbow exemptions
15 years ago
Tomeu Vizoso
43167172b9
style fixes
15 years ago
Tomeu Vizoso
acdc647f58
Merge branch 'master' of git://dev.laptop.org/users/mstone/sugar-toolkit
15 years ago
Tomeu Vizoso
8f271e2604
Split PaletteWindow in its own module
15 years ago
Tomeu Vizoso
0426c0c827
Merge branch 'master' of git://git.sugarlabs.org/sugar-toolkit/toolbars
...
Conflicts:
src/sugar/graphics/window.py
15 years ago
Aleksey Lim
5c9020b188
Remove old design remains
15 years ago
Aleksey Lim
7d76f06ae1
Remove redundant state argument from PaletteWindow.popup
15 years ago
Aleksey Lim
e799649f2f
Fix merger artefacts
15 years ago
Aleksey Lim
f5f8c807d3
Fix pylint/pep8 warnings
15 years ago
Aleksey Lim
68fa6bf093
Fix mess with gtk.Widget.set_state and Palette.set_state
15 years ago
Aleksey Lim
35bbfe1d50
Support palettes for sub-toolbar widgets
15 years ago
Aleksey Lim
6e724c3d8d
Set background color for activity.widgets.TitleEntry
15 years ago
Aleksey Lim
45a4ed104b
Do not paint arrow in radiopalette
15 years ago
Aleksey Lim
2c7e2c393a
Popdown RadioMenuButton's palette
15 years ago
Aleksey Lim
e0aedcd5c7
Refactor Palette class (tomeu)
15 years ago
Aleksey Lim
3ee78747d4
Fix review issues
15 years ago
Aleksey Lim
4d6a2cc9bd
Fix review issues
15 years ago
Aleksey Lim
d5c5ee88ec
Remove old design remains
15 years ago
Aleksey Lim
3dde9b68a5
Do not change arrow while opening palette in ToolbarBox
15 years ago
Aleksey Lim
353564f12c
Fix review issues
15 years ago