Commit Graph

1628 Commits

Author SHA1 Message Date
Tomeu Vizoso
547df751a7 Fixed some issues with text objects in the clipboard. 2007-09-09 15:04:26 +02:00
Dan Williams
e52d6f6ed4 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-09-08 23:41:42 -04:00
Dan Williams
e43ccf40be Add a flag to place the menu after the content in palettes 2007-09-08 22:48:21 -04:00
Marco Pesenti Gritti
ae1a07aee8 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-09-09 00:13:11 +02:00
Tomeu Vizoso
8ced2dccbe Generate context comments in .po files. 2007-09-08 19:40:22 +02:00
Tomeu Vizoso
f73132de91 Don't try to resume a DSObject if no activity can open it. 2007-09-08 18:41:59 +02:00
Tomeu Vizoso
b3ad232b0c #2909: Make python activities more tolerant to missing metadata properties. 2007-09-08 16:11:47 +02:00
Marco Pesenti Gritti
5af1b7d005 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-09-08 12:11:03 +02:00
Marco Pesenti Gritti
34e9d30a9c Improved icon caching logic 2007-09-08 12:10:35 +02:00
Dan Williams
9e2a9c4c02 Support moving of files to datastore when using write_file()
Using the transfer_ownership argument, activities using the default activity
datastore integration methods (namely write_file) will now tell the datastore
that it can move the files by default.  This reduces the copies required, which
is slow on flash.  For activities not using the standard APIs (Record, etc),
the datastore bindings allow the activity to specify when ownership should
transfer.
2007-09-07 21:53:32 -04:00
Dan Winship
7b760686a7 Add support for content bundles 2007-09-07 13:31:45 -04:00
Tomeu Vizoso
9858a190fd Expose the separator in the edit toolbar so it can be hidden by activities. 2007-09-07 18:08:48 +02:00
Tomeu Vizoso
d9a30c23ff Remove left over property. 2007-09-06 18:55:51 +02:00
Marco Pesenti Gritti
5127901d86 Gray bottom border for Toolbox. 2007-09-05 14:23:17 +02:00
Marco Pesenti Gritti
3723ccead4 Implement TrayIcon palette drawing. 2007-09-05 13:55:18 +02:00
Marco Pesenti Gritti
6018198e83 Add a DBus service to tweak the log level, it will be used by the developer console.
Default to error, unless SUGAR_LOGGER_LEVEL is set.
2007-09-05 11:22:41 +02:00
Tomeu Vizoso
0ad6398cf1 Fix typo. 2007-09-04 20:22:58 +02:00
Tomeu Vizoso
c418d0575a Really remove the sugar.date import. 2007-09-04 16:01:42 +02:00
Marco Pesenti Gritti
3ae5186b7a Use the activity service name for logs rather than
the user visible name.
2007-09-04 15:55:21 +02:00
Marco Pesenti Gritti
f6239d6df8 Handle exceptions in the activity constructor so that
log messages ends up in the activity log rather than
in shell/journal.
2007-09-03 23:42:17 +02:00
Marco Pesenti Gritti
b104f1e11e Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Conflicts:

	NEWS
2007-09-03 23:09:56 +02:00
Marco Pesenti Gritti
3617dd1635 Cleanup Bundle to not require SUGAR_PREFIX to
be set. Also start using properties rather than
set/getters.
2007-09-03 23:08:49 +02:00
Tomeu Vizoso
07107fb81b #2896: Remove sugar.date module. 2007-09-03 21:26:30 +02:00
Tomeu Vizoso
d207faddad Add tooltips to buttons in the activity toolbar. 2007-09-03 12:38:16 +02:00
Marco Pesenti Gritti
a09a786ff7 Use Tray also for the frame friends view.
Drop the deprecated IconButton.
2007-09-03 01:48:03 +02:00
Marco Pesenti Gritti
044afe4ae8 Expand icon bbox when there is a badge. 2007-09-02 23:51:01 +02:00
Marco Pesenti Gritti
94e136c3c3 Stop secondary animation on hide. 2007-09-02 23:34:22 +02:00
Dan Williams
739b9160b1 Refactor activity share/join in Activity.__init__() to be clearer and cover all cases
Remove the 'pservice_id' attribute of the ActivityHandle too, since it was
completely pointless and should have been the same as the activity id anyway.
Share/join is handled in the Activity.__init__() method and the shell doesn't
really need to know about it at all.
2007-09-01 13:07:49 -04:00
Eduardo Silva
94996c9295 #2971: Patch by Marco 2007-09-01 11:58:47 -04:00
Marco Pesenti Gritti
feb462d08d Fix ToolInvoker alignments. 2007-09-01 13:40:57 +02:00
Marco Pesenti Gritti
8712ab6b58 Add a ToolInvoker which position the palette depending
on the toolbar orientation. Make all tool items use it.
2007-09-01 12:12:32 +02:00
Marco Pesenti Gritti
8a9bc3b702 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-09-01 11:59:41 +02:00
Marco Pesenti Gritti
8a3c2a5843 More palette positioning improvements. 2007-09-01 11:59:16 +02:00
Dan Williams
2751714ca7 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-08-31 14:32:37 -04:00
Dan Williams
8c411ceb70 Return 404 error when path can't be translated 2007-08-31 14:32:33 -04:00
Tomeu Vizoso
0e60f07dd2 Save the temp file for the icon with the svg suffix so Icon will recognize it as a svg. 2007-08-31 19:57:45 +02:00
Tomeu Vizoso
ad1818f985 #3063: Make the 'Keep' button in the activity toolbar create a copy of the activity in the journal. Add a copy() method for activities to use. 2007-08-31 15:43:38 +02:00
Marco Pesenti Gritti
9e5d3c1117 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-08-31 11:38:09 +02:00
Marco Pesenti Gritti
560a914997 Make Activity update the presence service activity
name and listen to the name changes in the mesh view.
2007-08-31 11:37:42 +02:00
Tomeu Vizoso
01f774edbc Allow setting xo-color to None. 2007-08-31 11:26:28 +02:00
Simon McVittie
93dd18ff0a Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-08-30 15:38:05 +01:00
Simon McVittie
f1024c3b0a Support the newly extended ActivityInvitation signal 2007-08-30 15:00:12 +01:00
Simon Schampijer
142ce1cb11 Display the rollover at 0,0 when context is empty 2007-08-30 15:10:50 +02:00
Marco Pesenti Gritti
e455611525 with the native factory which doesn't have introspection. 2007-08-30 14:42:12 +02:00
Marco Pesenti Gritti
c082757de6 Revert "Make sure the handle dict values are string. Looks"
This reverts commit 0e45b8fcf1.
2007-08-30 14:36:20 +02:00
Marco Pesenti Gritti
01d368a7a4 Implement VTray. A bit of refactoring to share more code. 2007-08-30 14:29:52 +02:00
Simon McVittie
5bfd70baca sugar.presence.presenceservice: Don't call now-nonexistent method InviteActivity - instead, use the new property-setting API to set the 'private' property suitably 2007-08-30 12:17:33 +01:00
Simon McVittie
55759d5608 Add support for mutable activity properties and the beginnings of support for invitations 2007-08-30 12:14:35 +01:00
Simon McVittie
02a727198f sugar.activity.activity.Activity.share: Add comment indicating how to change activity privacy after creation 2007-08-30 12:13:31 +01:00
Simon McVittie
05d33d278d sugar.presence.buddy: Remove various hacks regarding byte arrays; use dbus-python's much simpler API instead 2007-08-30 12:00:56 +01:00
Marco Pesenti Gritti
23ad88db0c Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-08-29 20:35:30 +02:00
Marco Pesenti Gritti
7fefc55133 Cleanup and fix bugs in palette positioning (again) 2007-08-29 20:09:19 +02:00
Tomeu Vizoso
95c5b283c7 Add datastore.complete_indexing() func. 2007-08-29 19:56:43 +02:00
Marco Pesenti Gritti
72b3a3e2e2 Cleanup a bit the positioning logic. Drop specific
positioning, we can readd it later if it proves to
be necessary.
2007-08-29 18:26:58 +02:00
Marco Pesenti Gritti
46b3b96e96 Make remove_item take an item instead of an index. 2007-08-29 14:08:12 +02:00
Marco Pesenti Gritti
710f3eba00 Tray size allocation fixes. 2007-08-29 14:04:46 +02:00
Marco Pesenti Gritti
0512ae5853 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-08-29 12:47:27 +02:00
Marco Pesenti Gritti
e700ed1e2d Expose and size allocation fixes. 2007-08-29 11:34:56 +02:00
Marco Pesenti Gritti
e25847c375 Sync gtk theme values and style.py. Add a comment at the top
of style.py about the reference zoom value.
2007-08-29 10:36:31 +02:00
Simon Schampijer
55d1acde0e get_sensitive() does not exist for a toolbar. 2007-08-29 00:40:05 +02:00
Dan Williams
8b326fda61 Re-share an activity when it gets launched from the journal if it was shared before 2007-08-28 17:07:57 -04:00
Dan Williams
f0e773db38 Don't traceback when writing zero-length message 2007-08-28 14:54:54 -04:00
Guillaume Desmottes
232ae8d082 Update to new tubes API 2007-08-28 20:39:10 +02:00
Simon Schampijer
c30bb01b0e Usage of the tray widget to display activity icons
ActivitiesBox patch for ticket #2713.
2007-08-28 14:15:51 +02:00
John (J5) Palmieri
2296fa4a6e Fix typo s/get_buddies_async/get_activities_async 2007-08-27 16:46:38 -04:00
Marco Pesenti Gritti
3d02690e23 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-08-27 22:12:31 +02:00
Marco Pesenti Gritti
c742cff64d Show arrows only when the icons does not fit. 2007-08-27 22:10:18 +02:00
John (J5) Palmieri
f5f95f4d7b Merge branch 'master' of git+ssh://j5@dev.laptop.org/git/sugar 2007-08-27 15:51:55 -04:00
John (J5) Palmieri
c06d639487 Make D-Bus calls async on startup 2007-08-27 15:47:58 -04:00
Marco Pesenti Gritti
7fcc23b4c8 Very first go at the tray widget, based on Eduardo and Simon work. 2007-08-27 21:28:20 +02:00
Tomeu Vizoso
1430fdc24f Add a copy method to the datastore wrapper. 2007-08-27 19:44:49 +02:00
Marco Pesenti Gritti
294a5231b9 2647, if security is enabled let rainbow launch activities.
Also notify rainbow when active activity changes.
Patch by Ashsong, had to merge it manually.
2007-08-27 18:25:45 +02:00
Tomeu Vizoso
7d0aedeb36 Fix typo. 2007-08-27 14:31:38 +02:00
Tomeu Vizoso
59ee222f96 Fix comboboxes 2007-08-27 13:17:50 +02:00
Tomeu Vizoso
b70182bbde Fix typo. 2007-08-27 11:07:46 +02:00
Marco Pesenti Gritti
823918a69b Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-08-27 00:55:56 +02:00
Marco Pesenti Gritti
60c5e564cc Fix getting pixbuf size, patch by jennjacobsen 2007-08-27 00:43:56 +02:00
Eduardo Silva
8c288d7dee Adapt Button() to new icon API 2007-08-26 16:49:55 -04:00
Tomeu Vizoso
405dafc908 Adapt to changes in the icon API. 2007-08-26 20:44:51 +02:00
Tomeu Vizoso
cf7ff39c5a Allow for None values in fill-color and stroke-color. 2007-08-26 20:21:49 +02:00
Tomeu Vizoso
db02d6b54c Correct latest commit. 2007-08-26 19:23:14 +02:00
Tomeu Vizoso
5b1db87cec Add some warnings to the new icon stuff. 2007-08-26 19:00:08 +02:00
Marco Pesenti Gritti
8ff7bdebb7 Typo 2007-08-26 15:10:43 +02:00
Marco Pesenti Gritti
f1fc80b4a8 Fix icon padding. 2007-08-26 15:01:16 +02:00
Marco Pesenti Gritti
ba4f68ef58 Cache the donut animation. 2007-08-26 14:45:59 +02:00
Marco Pesenti Gritti
7042b4392e Fix CanvasIcon badges 2007-08-26 14:33:16 +02:00
Marco Pesenti Gritti
5f773b21af Remove invalidation logic which is not necessary with the new cache. 2007-08-26 14:30:02 +02:00
Marco Pesenti Gritti
98157bbccb Make CanvasIcon use IconBuffer. Change the API to use
a separate property for icon_name and file_name.
2007-08-26 14:16:09 +02:00
Marco Pesenti Gritti
f44c340b3a Smarter/configurable surface cache in IconBuffer 2007-08-26 12:36:34 +02:00
Marco Pesenti Gritti
a8938ab8ba Add an svg cache for SVGLoader 2007-08-26 12:08:50 +02:00
Marco Pesenti Gritti
65871156f5 Cleanups 2007-08-26 02:59:05 +02:00
Marco Pesenti Gritti
05f2722d90 Get badges positioning right. 2007-08-26 02:24:45 +02:00
Marco Pesenti Gritti
6432dcfb0e More work on IconBuffer badges. 2007-08-26 01:57:48 +02:00
Marco Pesenti Gritti
ae54542524 Add badge support to IconBuffer 2007-08-26 00:26:11 +02:00
Marco Pesenti Gritti
d32dd05569 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-08-25 18:27:15 +02:00
Marco Pesenti Gritti
1938fb13f0 Rework the Icon implementation by splitting out
the icon rendering part. The plan is to share this code
with CanvasIcon once it has all the necessary features.

Also cleanup the API by just reusing gtk.Image icon_name
and file properties.
2007-08-25 18:26:59 +02:00
Morgan Collett
fc4e4692d7 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-08-25 14:58:09 +01:00
Marco Pesenti Gritti
1cb214bc96 Remove canvasicon module. 2007-08-25 13:18:30 +02:00
Marco Pesenti Gritti
f1d588452e Reorganize canvas items. 2007-08-25 13:15:28 +02:00
John (J5) Palmieri
2cae66b0ea More follow_name_owner_changed optimiztion
* reasoning changed from a FIXME to a NOTE to explain why we need
     to follow_name_owner_changed
2007-08-24 18:25:56 -04:00