Commit Graph

221 Commits

Author SHA1 Message Date
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
Benjamin Berg
b669d70758 Add a colorpicker to Sugar. Only the ColorToolButton is public for now. 2009-01-13 16:48:06 +01:00
Benjamin Berg
a496b1dbf3 Merge branch 'master' of git://git.sugarlabs.org/sugar-toolkit/mainline 2009-01-12 15:38:49 +01:00
Benjamin Berg
3cde35ef31 Move the palette to new style gobject properties. 2009-01-12 15:38:08 +01:00
Tomeu Vizoso
bbd8c14cf1 pylint nitpick 2009-01-12 13:47:34 +01:00
Tomeu Vizoso
e56b381bd3 Add the file_name property to MenuItem and reduce a bit the size of its icons 2009-01-12 13:46:17 +01:00
Tomeu Vizoso
9a3cbbfe33 Rename parameter to what_filter 2009-01-06 19:17:48 +01:00
Tomeu Vizoso
9b61b1ff7b #3060 Add the possibility of filtering the object chooser by data type 2009-01-06 13:30:20 +01:00
Simon Schampijer
97e6480be1 Fix uninstallling of activities that use symlinks #171 2009-01-05 11:58:45 +01:00
Tomeu Vizoso
488b9ecbb2 Set the uid property after a new object is created 2009-01-04 16:13:59 +01:00
Tomeu Vizoso
53533be524 Set property types as object so strings are not copied 2009-01-04 12:05:27 +01:00
Tomeu Vizoso
fd078d2f66 Support nested requests for the same temp file path 2009-01-04 11:39:14 +01:00
Tomeu Vizoso
de2aa036df Fix typo 2009-01-03 19:26:33 +01:00
Tomeu Vizoso
26e5fc5ca9 Use util.TempFilePath for icons extracted from zipped bundles 2009-01-03 19:11:36 +01:00
Tomeu Vizoso
faeee47f53 Add util.TempFilePath to track the creation and release of temporal files 2009-01-03 16:47:06 +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
Marco Pesenti Gritti
4b38ff298b Fix palette highlighting on tray icons. Patch by benzea, style tweaks by me. 2008-12-18 23:53:44 +01:00
Marco Pesenti Gritti
347cc9413b Merge branch 'master' of git://git.sugarlabs.org/sugar-toolkit/mainline 2008-12-18 21:01:54 +01:00
Marco Pesenti Gritti
5b57e1a6cd Rework palette state logic. Fix #42 2008-12-18 21:00:19 +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
43d923b4d5 Log an error message when GetPreferredConnection fails 2008-12-09 13:07:25 +01:00
Tomeu Vizoso
054aaf8590 Dont pop down the palette when a submenu opens 2008-12-07 16:50:25 +01:00
Daniel Drake
3f1509cd22 Simplify activity bundle installation
sugar-install-bundle is broken because ActivityBundle.install() gained a
required parameter. Please can we make it optional? This also fixes one
of the problems with the activity updater.
2008-12-05 21:55:34 +00:00
Tomeu Vizoso
e0c2017c50 Add colors to icons in menu items 2008-12-05 18:02:13 +01:00
Tomeu Vizoso
33e94723da Add accelerator support to menu items 2008-12-05 11:51:40 +01:00
Marco Pesenti Gritti
5a0f575718 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar-toolkit 2008-11-29 13:57:57 +01:00
Marco Pesenti Gritti
10fa6ae4c5 Emit the completed signal on shutdown completion, not on client
disconnection. When shutting down with no activity running we
was not hitting completion. Fix #11
2008-11-29 13:56:13 +01:00
Tomeu Vizoso
feeeff34a1 Remove bundle stuff 2008-11-28 19:38:32 +01:00
Tomeu Vizoso
6dfff85f9f Add view-source-related methods HandleViewSource and GetDocumentPath 2008-11-07 16:23:54 +01:00
Morgan Collett
e9ebfdea3a #8420: Fix traceback on 404 in ChunkedGlibHTTPRequestHandler
self._cleanup does the self._file.close() anyway if the file exists.
The self._file.close() removed here is redundant, and will always
fail on file not found, which is handled in send_head by returning
None for self._file.
2008-10-29 14:30:37 +02: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
Simon Schampijer
e69aa53db1 Don't import jabber_registered from the old profile
It is not used anymore by the PS
2008-10-21 12:47:11 +02:00
Eben Eliason
dce326c466 Fix up/down arrows in VTrays (#8617) 2008-10-18 17:11:11 -04:00
Eben Eliason
5cc6b27ae7 Add drag-active property to tray control (#8604)
The drag-active property can be set to provide a highlight
when the tray control is accepting target of an ongoing drag.

We can't use the drag_highlight method because we desire to
adjust the background of the widget, rather than drawing on
top of it.  Overriding these methods would work in most cases,
but in cases where GTK+ calls drag_unhighlight itself things
could break, so we use a property instead.
2008-10-18 17:08:13 -04:00
Marco Pesenti Gritti
e2439a7e44 Turn bundle into a new style class 2008-10-20 17:31:58 +02:00
Marco Pesenti Gritti
794281073b Make sure the mouse motion is stopped before starting it. 2008-10-18 16:39:12 +02:00
Tomeu Vizoso
f5d45d6acd Make sure that manifests in bundles are only called at install and deployment time, so it doesnt impact shell startup performance 2008-10-17 15:29:35 +02:00
Tomeu Vizoso
a13ca6d664 #8840 Add missing byte_arrays=True 2008-10-16 20:41:45 +02:00
Simon Schampijer
6013b8a20a Fix for old profile conversion 2008-10-13 16:53:30 +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
f5f26d59c4 Remove unused imports. 2008-10-06 16:38:25 +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
0f33a634c0 Fix up scaling calculations, had some regressions in the previous commits. 2008-10-03 10:30:50 +02:00
Marco Pesenti Gritti
5a51661edf Respect SUGAR_SCALING 2008-10-03 02:15:48 +02:00