Commit Graph

79 Commits

Author SHA1 Message Date
Tomeu Vizoso
d9a30c23ff Remove left over property. 2007-09-06 18:55:51 +02:00
Tomeu Vizoso
0ad6398cf1 Fix typo. 2007-09-04 20:22:58 +02:00
Marco Pesenti Gritti
94e136c3c3 Stop secondary animation on hide. 2007-09-02 23:34:22 +02:00
Eduardo Silva
94996c9295 #2971: Patch by Marco 2007-09-01 11:58:47 -04:00
Marco Pesenti Gritti
feb462d08d Fix ToolInvoker alignments. 2007-09-01 13:40:57 +02:00
Marco Pesenti Gritti
8712ab6b58 Add a ToolInvoker which position the palette depending
on the toolbar orientation. Make all tool items use it.
2007-09-01 12:12:32 +02:00
Marco Pesenti Gritti
8a3c2a5843 More palette positioning improvements. 2007-09-01 11:59:16 +02:00
Simon Schampijer
142ce1cb11 Display the rollover at 0,0 when context is empty 2007-08-30 15:10:50 +02:00
Marco Pesenti Gritti
7fefc55133 Cleanup and fix bugs in palette positioning (again) 2007-08-29 20:09:19 +02:00
Marco Pesenti Gritti
72b3a3e2e2 Cleanup a bit the positioning logic. Drop specific
positioning, we can readd it later if it proves to
be necessary.
2007-08-29 18:26:58 +02:00
Marco Pesenti Gritti
466bc7b300 Remember state when scrubbing 2007-08-24 14:21:07 +02:00
Marco Pesenti Gritti
6b30262cf7 Redraw the window only if allocation changed. Patch
by benzea, with a little cleanup and comments by me.
2007-08-23 21:17:43 +02:00
Simon Schampijer
eb328e605c removed print in palette.py 2007-08-22 15:03:16 +02:00
Marco Pesenti Gritti
1a65f81d10 Set the initial palette group to "default" 2007-08-20 20:01:27 +02:00
Marco Pesenti Gritti
3b8f25b7b9 Implement "scrubbing" of palettes based on groups. 2007-08-20 20:01:27 +02:00
Marco Pesenti Gritti
f056056691 Patch by Simon to make sugar start when not connected to wireless. 2007-08-16 17:32:29 +02:00
Marco Pesenti Gritti
8d9383c48e Move most of the drawing logic inside Palette/Invoker. 2007-08-15 21:53:31 +02:00
Marco Pesenti Gritti
d7d1e172a3 Let the button/theme deal with prelight. I don't think
it fits inside palette drawing.
2007-08-15 21:32:10 +02:00
Marco Pesenti Gritti
4f1986e8a4 Let the invoker deal with popup/popdown redraw. 2007-08-15 21:18:58 +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
Benjamin Berg
c571993811 Fixed a typo in the palette gap calculation code. 2007-08-10 23:39:12 +02:00
Benjamin Berg
91d7dbcb08 Ignore grab_notify in the palette menu so that eg. scales work. 2007-08-10 23:21:36 +02:00
Benjamin Berg
6573e8c5e6 Draw an invoker rectangle that looks connected to the main palette.
There is one catch though, the menu placement inside the palette seems broken.
(Probably was already broken before.) Not sure what is going on there.
2007-08-10 18:29:28 +02:00
Marco Pesenti Gritti
670eb981ac Ignore only INFERIOR enter/leave events. 2007-08-08 14:56:43 +02:00
Marco Pesenti Gritti
1145f0f99c Override menu shell deactivate to go through the palette. 2007-08-08 14:41:30 +02:00
Marco Pesenti Gritti
6ae3846415 Expose palette.action_bar 2007-08-08 13:03:09 +02:00
Marco Pesenti Gritti
6dd6b0275b Expose palette.menu rather than wrapping methods. 2007-08-08 12:56:19 +02:00
Marco Pesenti Gritti
2c0ad08fcf Call embed after the widget hierarchy is setup so that
we get the right toplevel.
2007-08-08 11:53:41 +02:00
Marco Pesenti Gritti
3a33e4cedd Enable focus when there is content. Remove the focus
out check on the invoker toplevel, we will have to do
that differently.
2007-08-08 11:53:41 +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
f2eca57d13 More units cleanups 2007-07-31 15:02:50 +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
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
01fbe53175 Don't follow the cursor when expanding to secondary palette. 2007-07-25 16:01:07 +02:00
Marco Pesenti Gritti
f23d9e8f0d Reposition palette on secondary state. 2007-07-24 16:21:21 +02:00
Marco Pesenti Gritti
445b1dd413 Keep primary/secondary width the same.
Use full (secondary) request to check in-screen.
2007-07-24 16:15:13 +02:00
Marco Pesenti Gritti
452f01d2db Refactor to move primary/secondary state handling inside Palette. 2007-07-24 15:53:35 +02:00
Tomeu Vizoso
f6f3f2b520 Update forgotten property limit. 2007-07-19 15:38:50 +02:00
Marco Pesenti Gritti
6b57baa075 Rework palette positioning. Cleanup and get at cursor
positioning actually right.
2007-07-18 20:15:54 +02:00
Marco Pesenti Gritti
daa95aadd7 Place palettes at cursor for free views. 2007-07-18 16:59:47 +02:00
Tomeu Vizoso
614d9336cc #2149, #2150: fixes for the clipboard palette. 2007-07-14 13:11:59 +02:00
Tomeu Vizoso
a4f4d969fe Popdown when the toplevel of the parent item loses focus. 2007-07-09 14:26:41 +02:00
Eduardo Silva
c7d730e1ac Hide palettes on iconbutton/toolbutton clicked 2007-07-08 10:29:43 -04:00
Eduardo Silva
ec929eb0ad New frameinvoker 2007-07-06 10:51:18 -04:00
Marco Pesenti Gritti
739dbafa97 Improve tooltips sizing 2007-07-06 15:21:50 +02:00
Marco Pesenti Gritti
7468faa840 Implement palette groups. Use them to not popdown frame when hover a palette. 2007-07-06 14:36:59 +02:00
Tomeu Vizoso
5e14781ad7 Hide the active palette if another pops up. 2007-07-05 14:16:36 +02:00
Tomeu Vizoso
49b94a7f28 Revert "Hide active palette if zoom level changes."
Pushed by mistake.

This reverts commit 70e6d08f8d.
2007-07-04 12:49:21 +02:00
Tomeu Vizoso
70e6d08f8d Hide active palette if zoom level changes. 2007-07-04 12:33:12 +02:00
Tomeu Vizoso
2471a55e7f Reposition palette after expanding it. 2007-07-02 12:39:16 +02:00