Commit Graph

294 Commits

Author SHA1 Message Date
Marco Pesenti Gritti
20ea0d7bcc Add a spread layout manager. Work in progress. 2007-07-05 13:33:29 +02:00
Marco Pesenti Gritti
91654729bf Refactor the snowflake layout to use the new hippo layout managers.
Cleanup the logic.
Better test.
Make it internal.
2007-07-05 11:22:09 +02:00
Marco Pesenti Gritti
3b3a69161e Tweak some colors 2007-07-04 13:52:12 +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
4df052e5de Return None when no element is active and use theme: for marking icons from the theme. 2007-07-03 17:08:36 +02:00
Tomeu Vizoso
2471a55e7f Reposition palette after expanding it. 2007-07-02 12:39:16 +02:00
Tomeu Vizoso
bd27488f0d Implement secondary state of palettes. 2007-07-02 12:05:42 +02:00
Tomeu Vizoso
29ccfcf9b3 Remove old popup classes. 2007-07-01 13:05:06 +02:00
Tomeu Vizoso
aa5d6af260 Two more small palette fixes. 2007-07-01 12:31:23 +02:00
Tomeu Vizoso
92ec6f72d8 Restore CanvasIcon prelighting. 2007-07-01 11:33:12 +02:00
Tomeu Vizoso
84c94ecabe Restrict palette positioning to screen height/width - 1 grid cell. 2007-07-01 11:25:35 +02:00
Tomeu Vizoso
3ca87cd46d Some palette improvements and add palette support to CanvasIcon. 2007-07-01 11:05:14 +02:00
Marco Pesenti Gritti
1d4112a882 Set glib program name and application name.
Better way of importing ltihooks.
Several cleanups.
2007-06-29 22:11:28 +02:00
Marco Pesenti Gritti
f825c108da Use size request to position the palette. 2007-06-29 14:56:12 +02:00
Marco Pesenti Gritti
893ffe92da Refactor palette positioning API and implementation 2007-06-29 14:45:04 +02:00
Marco Pesenti Gritti
51c66de817 Do not allow to close the journal 2007-06-28 12:03:12 +02:00
Marco Pesenti Gritti
faed9162ab Ooops do not start the popup animation on constructor. 2007-06-28 11:54:12 +02:00
Tomeu Vizoso
381df08442 Added radiotoolbutton.py. 2007-06-27 14:48:03 +02:00
Marco Pesenti Gritti
69ba74ddc2 Cleanup 2007-06-27 12:32:03 +02:00
Marco Pesenti Gritti
db99620d93 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-06-27 11:42:14 +02:00
Marco Pesenti Gritti
2507104875 Fix traceback 2007-06-27 11:41:41 +02:00
Tomeu Vizoso
5771482281 Added palette support to toggletoolbutton.py. 2007-06-27 11:36:28 +02:00
Tomeu Vizoso
4f748dba9b Added some methods to Palette. 2007-06-26 18:19:26 +02:00
Marco Pesenti Gritti
3b9e2c1e7e Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Conflicts:

	sugar/graphics/palette.py
2007-06-26 14:55:58 +02:00
Marco Pesenti Gritti
3eaeebc60e Lots of palette refactoring. 2007-06-26 14:55:16 +02:00
Eduardo Silva
3ba64aa200 Palette: realize() 2007-06-26 08:28:31 -04:00
Tomeu Vizoso
0f49e6d7a8 Add current-toolbar-changed signal to Toolbox. 2007-06-26 12:28:42 +02:00
Tomeu Vizoso
888148c6e6 Allow for providing a ComboBox when instantiating a ToolComboBox. 2007-06-25 16:32:38 +02:00
Tomeu Vizoso
4b3c374455 ComboBox: allow for values other than int and for using absolute paths in icon_names. 2007-06-25 15:33:10 +02:00
Marco Pesenti Gritti
e0793ef199 Heavy refactoring of palette activation. Not fully
implemented yet.
2007-06-25 14:31:43 +02:00
Marco Pesenti Gritti
400cbc29e5 More cleanups 2007-06-25 11:55:36 +02:00
Marco Pesenti Gritti
6d8b196abe Remove is_tooltip property 2007-06-25 11:41:33 +02:00
Marco Pesenti Gritti
d92bb7a4ef Some palette code cleanups. 2007-06-25 11:39:51 +02:00
Marco Pesenti Gritti
2fcca4d656 Add a bunch of copyrights 2007-06-24 14:52:46 +02:00
Marco Pesenti Gritti
99e8077f59 Implement fix-copyright and fix some of them 2007-06-24 14:43:48 +02:00
Tomeu Vizoso
e894c8a2e4 Added a basic version of the journal object chooser. 2007-06-22 21:47:30 +02:00
Marco Pesenti Gritti
9a77a6e251 Kill old hippo canvas toolbar impl 2007-06-21 22:53:26 +02:00
Marco Pesenti Gritti
3892764634 Add a CanvasEntry which allows to set the background color. 2007-06-21 13:45:35 +02:00
Eduardo Silva
5616aface3 Toolbutton: don't try to show the palette when it doesn't exist 2007-06-20 20:33:09 -04:00
Marco Pesenti Gritti
61314c9705 Don't make all .py executable please... 2007-06-20 12:31:54 +02:00
Eduardo Silva
9283a5cc80 Palette: widget and canvas invoker support 2007-06-19 16:02:25 -04:00
Tomeu Vizoso
f0e18ba785 Support for previews in the journal. 2007-06-15 18:03:17 +02:00
Eduardo Silva
a3fb02bc95 moving graphics/notebook.py to LGPL 2007-06-14 16:04:55 -04:00
Eduardo Silva
72d81af716 moving graphics/palette.py to LGPL 2007-06-14 16:04:25 -04:00
Tomeu Vizoso
8e9c0b640b Change from GPL to LGPL. 2007-06-13 12:21:49 +02:00
Marco Pesenti Gritti
5cf263537f Put some border around the combo 2007-06-13 00:43:30 +02:00
Marco Pesenti Gritti
4e8bacc009 Really add it 2007-06-13 00:36:35 +02:00
Marco Pesenti Gritti
9645d31f1b Add a toolcombobox 2007-06-13 00:35:53 +02:00
Eduardo Silva
fde3159002 Palette positioning/closing fixes 2007-06-06 17:21:33 -04:00