Commit Graph

232 Commits

Author SHA1 Message Date
Tomeu Vizoso
ace5e73d3d Don't push to the DS a file path pointing to nowhere #258 2009-02-05 12:43:50 +01:00
Tomeu Vizoso
6084eb9fea Start adapting to Python 4.0 2009-02-04 11:49:48 +01:00
Tomeu Vizoso
e8c36247a5 Palette positioning fixes #298
Don't try to align the palette to the edges if the invoker is AT_CURSOR,
and always try to move the palette completely into the screen if at all
possible.
2009-02-03 15:03:36 +01:00
Simon Schampijer
d0d4f55121 'Resume' activity window when NamingAlert is displayed #293 2009-02-02 17:45:22 +01:00
Simon Schampijer
38f0ac83d2 Naming alert prevents activity close on keep error #224
When the Naming alert is shown and a keep error occurs,
the activity can not be closed.
2009-01-28 20:30:19 +01:00
Simon Schampijer
9e3a8ab007 enhancements to the naming alert
- focus the title entry
- add accelerator for the 'Keep' button which is enter/return
2009-01-19 16:57:59 +01:00
Simon Schampijer
817a981288 Enhanced the 'Name this entry dialog'
- created the canvastextview in sugar/graphics
2009-01-18 16:30:53 +01:00
Simon Schampijer
5250117b81 Fix color button pylint 2009-01-16 23:46:20 +01:00
Tomeu Vizoso
64d24f3ac5 Fix the keep button in the title activity 2009-01-16 14:59:12 +01:00
Simon Schampijer
72fca76d01 separate debug settings from xsession #163 2009-01-16 13:49:56 +01:00
Tomeu Vizoso
67d1d3bcad Make the title alert look a bit nicer 2009-01-13 19:54:02 +01:00
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