Commit Graph

92 Commits

Author SHA1 Message Date
Tomeu Vizoso 434b1e5899 Handle cell activation by button-release 2009-06-27 18:04:00 +02:00
Tomeu Vizoso 985edb0e4d Reduce motion are for treeview palettes to the bin window 2009-06-27 16:06:13 +02:00
Tomeu Vizoso ecea76479b Remove transformation into png in CellRendererIcon 2009-06-24 20:25:26 +02:00
Tomeu Vizoso 86fae16aed icon-name is a str 2009-06-22 11:59:10 +02:00
Benjamin Berg 4bb221349c Emit a row_changed signal to redraw the CellRendererIcon on prelight.
This fixes a problem where the wrong part of the treeview was redrawn.
2009-06-14 14:08:52 +02:00
Tomeu Vizoso 13afd91bad Implement prelighting of cell renderer icons 2009-06-13 21:24:48 +02:00
Tomeu Vizoso 32109b8764 Redraw cell renderers on hovering changed 2009-06-13 21:24:48 +02:00
Tomeu Vizoso 94e12f52f2 Silence warning and reduce debug logging a bit 2009-06-13 21:24:48 +02:00
Tomeu Vizoso 07c2b025f1 Add CellRendererInvoker 2009-06-13 21:24:48 +02:00
Tomeu Vizoso a634ecfe14 Add activate signal to CellRendererIcon 2009-06-13 21:24:48 +02:00
Tomeu Vizoso 765de62ab8 Add CellRendererIcon 2009-06-13 21:24:48 +02:00
Tomeu Vizoso fbad85cde9 Limit length of labels in palettes to 60 chars by default #610 2009-04-06 19:03:42 +02:00
Simon Schampijer d5c5e376d2 Fix palettes scaling when using scaling factor 72 #504 2009-03-13 15:44:57 +01:00
Tomeu Vizoso 9bd24794c0 Change property type to object because int cannot be None #157 2009-03-05 12:29:36 +01:00
Simon Schampijer 2b2c2ef308 Use the same font size independent from scaling 2009-03-02 15:20:42 +01:00
Benjamin Berg 607c2a9610 Show/Hide the color palette correctly (#374) 2009-02-24 14:29:01 +01:00
Tomeu Vizoso a4e9c9c78e Support setting None as the secondary text #384 2009-02-24 10:56:09 +01:00
Tomeu Vizoso 77433af5ff Only display one line in the secondary text of a clipping palette #384 2009-02-24 10:37:30 +01:00
Tomeu Vizoso 30e67cc226 Reveal the palette on right click on an activity icon #409 2009-02-23 18:11:51 +01:00
Tomeu Vizoso ede6db947e Don't try to hide the tray if the activity has none (alsroot) #395 2009-02-20 16:38:41 +01:00
Simon Schampijer 780efa55b0 NamingAlert: Icon dependent on the entry type #353 2009-02-16 16:06:38 +01:00
Tomeu Vizoso 997c384405 Add activate signal to Palette 2009-02-10 18:57:02 +01:00
Benjamin Berg b39ed70b11 Added an option to set the background color of CanvasIcon. Then a RGB cache can be used. 2009-02-10 17:58:02 +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 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
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
Tomeu Vizoso 53533be524 Set property types as object so strings are not copied 2009-01-04 12:05:27 +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 054aaf8590 Dont pop down the palette when a submenu opens 2008-12-07 16:50:25 +01: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 b58182a970 Mark modules as STABLE/UNSTABLE/DEPRECATED. 2008-10-28 14:19:01 +01: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 794281073b Make sure the mouse motion is stopped before starting it. 2008-10-18 16:39:12 +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
Marco Pesenti Gritti 9e6ef4d2a9 Line too long fixes. 2008-09-22 10:55:05 +02:00
David Farning 88295072bd API docstrings from pydocweb 2008-09-21 09:01:48 -05:00