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
David Farning
3a69d3e777
API docstrings from pydocweb
2008-09-20 21:22:56 -05:00
David Farning
62128530c3
API docstrings from pydocweb
2008-09-19 19:32:55 -05:00
David Farning
dd7442a0fa
API docstring update from pydocweb
2008-09-19 19:00:00 -05:00
C. Scott Ananian
d16334a042
Trac #8563 : sugar palette doesn't handle 'table menus'.
...
The gtk Menu class supports 'table menus', where the menu entries can
be laid out in a grid. This is useful for horizontal menus, and for
dense menus of icons, and for wrapping the menu when it gets too long,
etc.
The Menu.attach() method is used to add entries to a menu by row and
column:
http://www.pygtk.org/docs/pygtk/class-gtkmenu.html#method-gtkmenu--attach
However, the callback in _Menu, defined in palette.py, only triggers
on do_insert(), and so the signal emission (and subsequent
palette._update_separators() call, which places the line underneath
the menu title text at top) never occurs when you add entries using
attach(). _Menu now overrides attach() and emits the proper signal.
2008-09-19 11:18:36 -04:00
Tomeu Vizoso
f2a8948bf1
#8485 Detach from palette when a widget is destroyed
2008-09-18 14:50:58 +02:00
David Farning
4a73c86dbb
add parameters to docs
2008-09-16 17:03:12 +02:00
Marco Pesenti Gritti
1ac335f271
Break the reference cycle between menu and palette. #8469
2008-09-13 13:25:40 +02:00
Tomeu Vizoso
c79bc15f5f
#8394 Destroy the palette when the invoker is dettached
2008-09-10 18:05:53 +02:00
Simon Schampijer
2e41124c87
Remove "dynamic" font height computation #8392 (marco)
2008-09-10 12:36:27 +02:00
Marco Pesenti Gritti
549ace8c11
More cleanups to make pylint happy.
2008-09-07 21:51:10 +02:00
Marco Pesenti Gritti
ebcf1f6988
Get rid of the custom _hide/_show and just use the widget
...
methods. Related cleanups.
2008-09-07 21:18:27 +02:00
Simon Schampijer
c639e7291a
Remove the set_size_request for the alert message
...
This gave problems on the xo - part of #7841
2008-08-25 14:09:52 +02:00
Tomeu Vizoso
7090e73c09
Revert " #8000 Only repaint the area needed (rlucchese)"
...
The bounds calculation won't be always correct.
This reverts commit 3bb9f47461
.
2008-08-22 19:07:34 +02:00
Tomeu Vizoso
3bb9f47461
#8000 Only repaint the area needed (rlucchese)
2008-08-22 14:50:32 +02:00
Tomeu Vizoso
5ba227ff85
#7533 ToolButton should accept activation via accelerators regardless of its state
2008-08-18 21:36:23 +02:00
Simon Schampijer
ba850d5787
Wrap message in alert needed for 7841
2008-08-14 21:31:42 +02:00