Commit Graph

238 Commits

Author SHA1 Message Date
Marco Pesenti Gritti
eaef1eb015 Experimental preview implementation using XShmGetImage.
Not hooked up yet.
2007-11-04 16:20:54 +01:00
Tomeu Vizoso
99999bdb7e Add some more info to an error message. 2007-11-04 15:05:15 +01:00
Marco Pesenti Gritti
2907b10dbb Snapshot e748f756c0. 2007-11-03 23:32:31 +01:00
Reinier Heeres
bce1c9fa21 Fix for 4579, create _IconBuffer.scale variable 2007-11-03 16:10:56 +01:00
Tomeu Vizoso
39aca0154d Unzip should not ask any questions. 2007-11-02 18:37:57 +01:00
Marco Pesenti Gritti
d445bc086d Free the sound device when the startup when the sound has been played.
Factored out to a separate sound module from cjb patch.
2007-11-02 11:04:41 +01:00
Marco Pesenti Gritti
1a3d520dce Smarter mime_types parsing logic. Works also if there
are spaces between types.
2007-10-31 14:58:37 +01:00
Simon McVittie
b0c7a0546d Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Conflicts:

	NEWS
2007-10-31 11:58:44 +00:00
Marco Pesenti Gritti
5732433d3e Setup the activity root with a tmp and a data dir.
Save DS files in data (since tmp will be on tmpfs in rainbow)
2007-10-30 23:38:48 +01:00
Simon McVittie
2e86ad91b9 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-10-30 16:50:23 +00:00
Simon McVittie
5abcb4e8dd Encode nickname in UTF-8 when writing it out to .sugar/*/config (#4518) 2007-10-30 16:10:02 +00:00
Marco Pesenti Gritti
8c89bfaed7 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-10-30 15:03:44 +01:00
Marco Pesenti Gritti
0e0ebf5701 Set SUGAR_ACTIVITY_ROOT 2007-10-30 15:03:27 +01:00
Simon McVittie
4391d4777a Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Conflicts:

	NEWS
2007-10-30 12:38:32 +00:00
Simon McVittie
249521253d Do some standard Tubes boilerplate in sugar.presence, so activities don't have to (#4503) 2007-10-29 17:21:33 +00:00
Marco Pesenti Gritti
4d5fd7243b Remove activity uploading since it's not useful with the new build system. 2007-10-29 16:46:00 +01:00
Pascal Scheffers
4d26d30710 #4358 pydoc strings for activity.py 2007-10-28 16:56:05 +01:00
Simon Schampijer
176262f2e9 Added morgs NotifyAlert (timed one button alert) to the alert api 2007-10-25 14:04:04 +02:00
Tomeu Vizoso
b135f99832 Oops, this shouldn't have gone in. 2007-10-24 19:33:26 +02:00
Tomeu Vizoso
1c6abcf20f Use the tmp dir in the activity root dir instead of /tmp. 2007-10-24 18:57:53 +02:00
Marco Pesenti Gritti
606346b18c Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-10-23 18:23:14 +02:00
Marco Pesenti Gritti
880f1c637d Parse arguments rather than forking out a shell 2007-10-23 18:22:59 +02:00
Tomeu Vizoso
f54decf07c Add getter for the current toolbar in Toolbox. 2007-10-23 17:40:40 +02:00
Tomeu Vizoso
3200bad39d Free some icon_info instances. 2007-10-23 17:39:31 +02:00
Marco Pesenti Gritti
7fd05154d3 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-10-23 15:19:34 +02:00
Marco Pesenti Gritti
f300006b76 Move window management keybindings inside sugar.
Add a TakeScreenshot dbus method and have the shell
call it when the activity can safely take a screenshot
to use as a preview.
2007-10-23 15:19:17 +02:00
Morgan Collett
012fc5d23b #4238: Handle double BuddyLeft in handle tracking in sugar.presence 2007-10-22 13:22:32 +01:00
Morgan Collett
06ec3d2b22 #4357: Remove FIXME in activity share(), no longer needed. See ticket for details. 2007-10-22 13:14:22 +01:00
Marco Pesenti Gritti
57402cf309 Fix icon names 2007-10-21 00:27:54 +02:00
Simon Schampijer
7f1450eaa4 fix missing mime type import 2007-10-20 23:04:12 +02:00
Simon Schampijer
34d935b2af Add a keybinding (alt+space) to activity window to hide/show tray 2007-10-19 22:48:21 +02:00
Simon Schampijer
60c746ce5a Add support to be able to remove an alert which is not the top
one on the queue
2007-10-19 16:15:43 +02:00
Simon Schampijer
58f7dca355 Fullscreen support and tray support in activity window
Fullscreen mode hides toolbox and tray
2007-10-18 23:56:58 +02:00
Tomeu Vizoso
02d8dfe795 Fix typo in env.get_bin_path(). 2007-10-18 12:57:04 +02:00
Simon McVittie
ce67563b09 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-10-17 16:10:13 +01:00
Simon Schampijer
8a7ed2da6d Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-10-17 15:42:17 +02:00
Simon Schampijer
863af235b4 Refinements on the spacing in the alert
Made the alert 75px wide, and 15px at left and right
2007-10-17 15:40:58 +02:00
Simon McVittie
3227653cd3 Avoid misleading warning every time an activity starts (#4266) 2007-10-17 12:53:24 +01:00
Simon McVittie
4f41f300d8 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Conflicts:

	NEWS
2007-10-17 11:54:33 +01:00
Marco Pesenti Gritti
24fbd1ce1c Fix the object chooser 2007-10-16 23:51:28 +02:00
Simon McVittie
48bc73d0c4 Try to make sugar.presence log messages less misleading (#4027) 2007-10-16 17:51:36 +01:00
Benjamin Berg
fa55b5af09 Changed default spacing to 15px (and fixed the palette to use it) 2007-10-16 18:17:01 +02:00
Benjamin Berg
1c1f736a81 Merge branch 'master' of git://dev.laptop.org/sugar 2007-10-16 17:50:14 +02:00
Tomeu Vizoso
69aaa7145e One more fix for resuming. 2007-10-16 17:39:27 +02:00
Marco Pesenti Gritti
40fc6e2e47 Simplify the API to get icon/description for objects.
Get rid of the service for now, it's not necessary
until we allow activities to extend the
mime type -> generic type mapping (post 1.0)
2007-10-16 17:18:43 +02:00
Benjamin Berg
977c7d4a99 Subtract the palette border from the primary label height. 2007-10-16 17:12:46 +02:00
Tomeu Vizoso
05236c6670 Fix retrieving the activities suitable for resuming a journal entry 2007-10-16 16:56:02 +02:00
Tomeu Vizoso
aed093dbc2 Fix warning. 2007-10-16 16:18:36 +02:00
Simon Schampijer
664e8a636d Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-10-16 15:52:05 +02:00
Simon Schampijer
91f55488eb Use double leading underscores for callback names to avoid name collisions
The double underscores invoke Python's name mangling algorithm
2007-10-16 15:51:48 +02:00
Marco Pesenti Gritti
34e2271833 Cast to string, looks like dbus strings confuse pygtk
type checking here.
2007-10-16 14:40:43 +02:00
Marco Pesenti Gritti
cb0cedbc40 Do not use prgname for the bundle id because xulrunner
is messing with it. Some activity launch fixes.
2007-10-16 14:29:38 +02:00
Marco Pesenti Gritti
e425c1d886 Fallback to mime parents if the main one doesn't have matches 2007-10-16 13:32:53 +02:00
Marco Pesenti Gritti
6d2828e54e Use gdk to get/set X11 properties 2007-10-16 11:50:11 +02:00
Marco Pesenti Gritti
c999a3ca80 Fix distcheck 2007-10-16 11:24:10 +02:00
Marco Pesenti Gritti
6240c1cf6f Cleanup the source structure 2007-10-16 11:04:59 +02:00
Marco Pesenti Gritti
68ff71a0cb Split part of the sugar library to sugar-base 2007-10-15 15:39:07 +02:00
Tomeu Vizoso
00b7013de1 Added an entry that can have icons inside: IconEntry. From libsexy. 2007-08-20 13:03:17 +02:00
Marco Pesenti Gritti
dcef110223 Embed/unembed the menu on state changes, keeping it around
cause some weird drawing issues.

Redraw on palette size changes (patch by Benzea).
2007-08-11 12:16:49 +02:00
Marco Pesenti Gritti
a85bc85a82 Fix cflags 2007-08-11 11:58:39 +02:00
Marco Pesenti Gritti
0b355dcbb9 First go at support of focusable widgets inside the palette.
Not enabled yet because focus confuses our deactivation logic
but it seem to work otherwise.
2007-08-08 03:07:00 +02:00
Marco Pesenti Gritti
d8faf0ba04 Get rid of some of the obsolete units usage. 2007-07-31 14:56:05 +02:00
Marco Pesenti Gritti
d7f7271cfe Use menu->toplevel rather than getting the parent. 2007-07-31 11:30:14 +02:00
Marco Pesenti Gritti
b23b63cdd5 Split the UI part of sugarext out to his own module to avoid
dragging gtk inside services.
2007-07-27 20:15:31 +02:00
Marco Pesenti Gritti
66760a173e Use selection grey for progress in the address entry. 2007-07-19 11:19:01 +02:00
Marco Pesenti Gritti
739dbafa97 Improve tooltips sizing 2007-07-06 15:21:50 +02:00
Marco Pesenti Gritti
3eaeebc60e Lots of palette refactoring. 2007-06-26 14:55:16 +02:00
Marco Pesenti Gritti
cae4e52b7c More LGPL headers 2007-06-24 14:57:57 +02:00
Marco Pesenti Gritti
9ca299e749 Fix copyright years 2007-06-24 14:46:14 +02:00
Marco Pesenti Gritti
3dd5ecddee Check also C files 2007-06-24 12:36:50 +02:00
Marco Pesenti Gritti
c91bbd18cc Move SugarKeyGrabber in the lib. Keep it private.
We can't install libraries in datadir.
2007-06-20 15:22:12 +02:00
Marco Pesenti Gritti
7aec99a2ec Should actually use STRING atom 2007-06-19 21:28:13 +02:00
Marco Pesenti Gritti
1f432a1236 Use a string atom 2007-06-19 21:10:52 +02:00
Marco Pesenti Gritti
3c66cb899f Evil hack to keep the entry context menu working with our
title/address behavior.
2007-06-13 20:19:28 +02:00
Marco Pesenti Gritti
ceff7d71a2 Improve address/title logic 2007-06-13 11:27:04 +02:00
Marco Pesenti Gritti
5cc9a8c424 Bindings to set activity_id and bundle_id hints 2007-06-01 20:38:30 +02:00
Marco Pesenti Gritti
c202b6be43 Import xdgmime and start hooking it up 2007-05-23 11:55:21 +02:00
Marco Pesenti Gritti
0ddbf7e9ab Add the AddressEntry object to sugar 2007-05-21 17:36:08 +02:00
Marco Pesenti Gritti
5343752c35 Make browser a modules inside sugar library 2007-04-07 13:17:36 +02:00
Marco Pesenti Gritti
4828870afd Use gtk to detect dpi. 2007-04-07 03:42:51 +02:00
Marco Pesenti Gritti
e3cf7aa1d3 Unused 2007-04-07 00:22:03 +02:00
Marco Pesenti Gritti
60557533a7 Remove,unused 2007-04-07 00:21:13 +02:00
Marco Pesenti Gritti
2d08ff0163 Move private extensions out of the lib, inside the shell. 2007-04-07 00:08:54 +02:00
Marco Pesenti Gritti
c9c1117872 Remove the threadframe stuff which went unused. 2007-04-06 20:13:37 +02:00
Marco Pesenti Gritti
66d0a402e1 Remove the unused push scroller code. 2007-04-06 15:52:49 +02:00
Marco Pesenti Gritti
c2b0b2ae98 Move data in the lib to the toplevel dir. 2007-04-06 15:36:52 +02:00
Marco Pesenti Gritti
29d518eb55 Do not abort on X errors 2007-04-04 14:11:38 +02:00
Tomeu
164df7bf85 Add XSetErrorHandler for not crashing on X errors caused by Gecko plugins. 2007-04-03 20:17:30 +02:00
Marco Pesenti Gritti
ba08492778 Fix problem with back/forward and frames 2007-03-31 11:47:58 +02:00
Tomeu
6dc536058b Deactivate extension based type checking for Gecko 1.8. 2007-03-30 16:41:51 +02:00
Tomeu
891624888f If we receive an application/octet-stream, check the mime type by looking at its extension. 2007-03-30 14:32:07 +02:00
Tomeu Vizoso
9d5fa10868 Add constants to _sugar. 2007-03-28 19:36:21 +02:00
Marco Pesenti Gritti
da7606e681 Fix conversion from uri to file 2007-03-23 20:02:25 +01:00
Marco Pesenti Gritti
01056ee823 Handle abw files 2007-03-22 18:22:37 +01:00
Marco Pesenti Gritti
1f61c5f65e Hook up etoys projects 2007-03-22 15:34:05 +01:00
Tomeu Vizoso
8840122a22 Don't show the progress bar when focused and round more the progress bar. 2007-03-21 17:06:08 +01:00
Tomeu Vizoso
e3d6245e18 Let pango/fontconfig to choose the concrete font. 2007-03-21 17:03:44 +01:00
Marco Pesenti Gritti
5eb4f4fab3 Tweak dpi and font size 2007-03-20 22:24:52 +01:00
Marco Pesenti Gritti
3fd29884f9 Pass the post data to the Persist 2007-03-18 02:56:57 +01:00
Tomeu Vizoso
ebe043a4d2 Refactored global key handling and frame logic. 2007-03-17 14:30:23 +01:00