Commit Graph

64 Commits

Author SHA1 Message Date
Tomeu Vizoso
bbbea6167d gtk.gdk.pixbuf.get_from_drawable can return None in many occasions (patch from Reinier Heeres). 2007-07-11 11:02:43 +02:00
Marco Pesenti Gritti
ac082511a2 Use the new activity-stop icon. 2007-07-10 16:09:21 +02:00
Marco Pesenti Gritti
071cc596c5 Rename close to stop and save to keep 2007-07-10 15:18:08 +02:00
Tomeu Vizoso
52fff021d0 #1930: Only take preview before closing. 2007-07-06 22:43:16 +02:00
Marco Pesenti Gritti
ddecddcb42 Remove unused methods from the activity services. Cleanups. 2007-07-03 20:55:46 +02:00
Marco Pesenti Gritti
1d4112a882 Set glib program name and application name.
Better way of importing ltihooks.
Several cleanups.
2007-06-29 22:11:28 +02:00
Tomeu Vizoso
a609da166b Don't create so many objects until we have differential versioning support in the datastore. 2007-06-29 20:24:22 +02:00
Marco Pesenti Gritti
03ef9c034e Translate the default activity toolbar 2007-06-28 15:55:33 +02:00
Marco Pesenti Gritti
51c66de817 Do not allow to close the journal 2007-06-28 12:03:12 +02:00
John (J5) Palmieri
9cdd9058da add process title setting to activities
* they now will show up as Activity Name <id> in the process list
     truncated to 15 characters though
2007-06-27 17:12:32 -04:00
Marco Pesenti Gritti
99e8077f59 Implement fix-copyright and fix some of them 2007-06-24 14:43:48 +02:00
Tomeu Vizoso
c1d4f3ce7a Add keep-in-journal button to the activity toolbar. 2007-06-22 14:11:39 +02:00
Marco Pesenti Gritti
f7b6a0c0af Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-06-19 15:54:05 +02:00
Marco Pesenti Gritti
737a8b3932 Cleanup activity closing 2007-06-19 15:51:56 +02:00
Tomeu Vizoso
99369114cb Set title on change. Fixes #1715. 2007-06-18 20:38:20 +02:00
Tomeu Vizoso
d4323957a1 Change preview image size. 2007-06-17 14:25:13 +02:00
Tomeu Vizoso
f0e18ba785 Support for previews in the journal. 2007-06-15 18:03:17 +02:00
Tomeu Vizoso
a9600516fb Take screenshot and save it to the journal (<alt>1). 2007-06-04 18:35:05 +01:00
Marco Pesenti Gritti
b2980d7bd6 Restore get_id/get_service_name, didn't realize they was used by subclasses. 2007-06-03 22:12:47 +02:00
Marco Pesenti Gritti
2b7ffe41d9 Make bundle_id and activity_id window properties to
avoid races.
2007-06-01 21:21:30 +02:00
Tomeu Vizoso
c35db7acf8 Some refactoring of the DataStore API. 2007-05-29 15:53:58 +02:00
Marco Pesenti Gritti
42fef182f4 Refactor the bundle registry. Move it inside
the shell and expose the parts that should be
public to the shell dbus service.
2007-05-27 20:24:10 +02:00
Tomeu Vizoso
11c89d86c9 Put dates to work correctly on the journal, create a new journal entry when resuming a past entry. 2007-05-20 12:38:08 +02:00
Tomeu Vizoso
5d4b9b1dfa Set the activity icon on new journal entries. 2007-05-19 20:06:36 +02:00
Tomeu Vizoso
3a1d514e9f Save to the journal when switching to another activity. 2007-05-16 21:30:49 +02:00
Tomeu Vizoso
1d31c51ecc Don't save to the journal on focus-out. 2007-05-16 17:55:56 +02:00
Dan Williams
e659d15384 Make datastore find & update operations async 2007-05-16 00:41:45 -04:00
Marco Pesenti Gritti
9fa0790c2b Do not assume we are packing an ActivityToolbox inside the activity 2007-05-15 11:23:46 +02:00
Marco Pesenti Gritti
141072c9e9 Set a default title for the activity 2007-05-14 19:56:06 +02:00
Marco Pesenti Gritti
820e739a0f Improve the layout of the activity toolbar 2007-05-14 19:27:35 +02:00
Tomeu
f3289d2e59 Implement setting the journal entry title from the toolbar. 2007-05-13 18:21:35 +02:00
Tomeu Vizoso
d6850279a8 Temporary fix while we stabilize the new datastore. 2007-05-10 14:34:10 +02:00
Tomeu Vizoso
30114f9545 Temporary try..excepts while we stabilize the new datastore. 2007-05-10 14:16:48 +02:00
Tomeu Vizoso
929dabd165 Use the new DataStore and remove the old one. 2007-05-10 11:01:32 +02:00
Simon McVittie
00e8348c73 Set _shared_activity correctly when we share an activity successfully 2007-05-09 16:32:16 +01:00
Simon McVittie
5fc1cdefeb When joining an activity that's already been joined, call a callback which exists 2007-05-09 15:05:17 +01:00
Dan Williams
44e8393bde Fix type 2007-05-03 15:06:00 -04:00
Tomeu Vizoso
694e30aa76 Expose the buttons contained by the activity toolbar. 2007-05-03 16:30:32 +02:00
Dan Williams
7774073276 Make joining asynchronous on the activity side 2007-05-02 23:25:15 -04:00
Tomeu Vizoso
bb8417f57b Added sugar.activity.activity.EditToolbar. 2007-04-30 18:59:55 +02:00
Dan Williams
01be59b84f Re-enable activity sharing 2007-04-27 16:07:38 -04:00
Marco Pesenti Gritti
9ccda70199 Refactor the window API a bit to make it more flexible. 2007-04-27 10:51:19 +02:00
Marco Pesenti Gritti
9dcfcf89e9 Close the window when clicking the toolbar button 2007-04-27 01:09:00 +02:00
Marco Pesenti Gritti
c256958a9a Ensure the window is realized before getting his xid 2007-04-27 00:55:23 +02:00
Marco Pesenti Gritti
e49146752f More work on the new graphics API. 2007-04-26 11:31:41 +02:00
Dan Williams
99737f8273 Clear share signal ID after disconnecting it 2007-04-13 16:58:32 -04:00
Dan Williams
3abe79353a Asynchronize activity sharing on the client side 2007-04-13 16:27:58 -04:00
Dan Williams
894fcea9fc Remove get_default_type() and bundle default types; obsolete 2007-04-11 15:08:40 -04:00
Mike C. Fletcher
3f10890319 Docstrings for modules all over sugar and shell.
These are just the doc strings I created as I was spelunking
through to see how Sugar manages launching applications.  The
resulting auto-documentation is neither polished or finished,
but it should help people reading the code somewhat.

There are a few minor code cleanups:

  * activityhandle (replacing C idiom for initialisation with
    a Python one)
  * bundle registry (using a parameterised directory name so
    that it shows up in the documentation)
  * validate_activity_id function, use isinstance( item, (str,unicode))
    for the query, rather than two separate checks with isinstance
2007-04-09 22:47:37 -04:00
Dan Williams
bc083dae5a Cut over to new PresenceService 2007-04-09 14:40:56 -04:00