Commit Graph

473 Commits

Author SHA1 Message Date
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
Eduardo Silva
dee7537462 Palette: speed up 2007-06-06 00:51:01 -04:00
Eduardo Silva
f79d5a63db Palette: tooltip fix 2007-06-05 22:43:42 -04:00
Marc Maurer
88011ed22d Add set_current_toolbar 2007-06-04 23:53:40 +02:00
Eduardo Silva
aab18a866d Palette: Tooltip support 2007-06-02 00:33:41 -04:00
Marco Pesenti Gritti
e707f1b1cc Hrm how my icon name changes did get reverted... 2007-06-01 21:26:18 +02:00
Eduardo Silva
0014ea0da0 Palette: Automatic positioning 2007-06-01 00:08:24 -04:00
Marco Pesenti Gritti
fc53bf8667 Support icons inside the activity 2007-05-31 11:30:16 +02:00
Eduardo Silva
dd00dda41f Palette fixes 2007-05-30 13:29:29 -04:00
Eduardo Silva
b1ed24498c Palette: event improves 2007-05-29 12:27:54 -04:00
Eduardo Silva
d2aaebac38 Palette updates 2007-05-28 01:05:31 -04:00
Eduardo Silva
c40a12a136 New Palette widget 2007-05-24 13:37:48 -04:00
Tomeu Vizoso
ffebebcd7d Set icon size on the combobox. 2007-05-22 18:25:29 +02:00
Marco Pesenti Gritti
490b939eb9 Import the AddressEntry 2007-05-21 17:53:47 +02:00
Tomeu Vizoso
abec4df66e Don't try to display an icon without file name. 2007-05-19 11:19:56 +02:00
Marco Pesenti Gritti
6c671fb7fe Size the toolbox to 1 grid cell 2007-05-18 14:00:29 +02:00
Marco Pesenti Gritti
b958a515d5 Draw the background of the toolbox hbox 2007-05-18 13:32:50 +02:00
Tomeu
79fdfc5fb7 Don't set_active(0) on realize, as it would trigger 'changed'. 2007-05-16 15:02:41 +02:00
Marco Pesenti Gritti
c84e21aa9e Hide the tabs bar when there is only one toolbar.
Fix sugar.Browser
2007-05-14 15:48:36 +02:00
Marco Pesenti Gritti
d8446e25ae Cleanup 2007-05-11 23:11:02 +02:00
Marco Pesenti Gritti
b0c2f0313f Check the grid exists before trying to remove weight when removing items. 2007-05-11 23:10:07 +02:00
Marco Pesenti Gritti
f0e5523cd0 gtk thinks the xo dpi is 200.0 2007-05-11 12:36:07 +02:00
Tomeu Vizoso
133b96b4f0 Typo. 2007-05-10 17:04:40 +02:00
Tomeu Vizoso
929dabd165 Use the new DataStore and remove the old one. 2007-05-10 11:01:32 +02:00
Marco Pesenti Gritti
ac4338e3c0 Add an ItemInfo object associated with each item.
Remove weight from the grid when removing items.
2007-05-10 10:42:56 +02:00
Eduardo Silva
5d14daf44b Notebook class now use **kwargs to set properties 2007-05-09 14:38:38 -04:00
Eduardo Silva
c34a264168 Add some comments in the notebook class 2007-05-08 22:38:56 -04:00
Eduardo Silva
6a685d38b4 Merge branch 'master' of git://dev.laptop.org/sugar 2007-05-08 09:33:58 -04:00
Eduardo Silva
9180388a76 Notebook widget class: new 'can-close-tabs' property 2007-05-08 09:32:32 -04:00
Marco Pesenti Gritti
6d5bc75092 Tweak the test to use realistic numbers. Some fixes 2007-05-07 16:59:28 +02:00
Marco Pesenti Gritti
fb019bc9f5 Better spread algorhytm, work in progress 2007-05-07 16:24:41 +02:00
Eduardo Silva
110fa5f354 New notebook control 2007-05-06 11:03:43 -04:00
Tomeu Vizoso
a2660195bd Initial support for icon-only combo boxes. 2007-05-05 12:13:23 +02:00
Tomeu Vizoso
54c8c009ef Fixed typo. 2007-05-04 14:47:30 +02:00
Tomeu Vizoso
eff6c1a7c1 Add ToggleToolButton to the Makefile. 2007-05-04 09:56:01 +02:00
Marco Pesenti Gritti
bc4b051af2 Some refactoring to get styles right 2007-05-01 18:26:26 +02:00
Marco Pesenti Gritti
f34e5fd36b One cell grid of space at toolbar borders 2007-05-01 13:50:18 +02:00
Marco Pesenti Gritti
c5f7f1d8af Make tabs fixed size 2007-05-01 12:41:22 +02:00
Marco Pesenti Gritti
b476b13673 Add a set_named_icon method 2007-05-01 11:28:06 +02:00
Marco Pesenti Gritti
0ebba0d454 Drop the old hippo based toggle 2007-05-01 01:07:08 +02:00
Marco Pesenti Gritti
b8e96d08ae Adjust named icons terminology a bit 2007-05-01 01:03:16 +02:00
Tomeu Vizoso
e78c9d21a9 Added ToggleToolButton control. 2007-04-30 19:00:34 +02:00
Marco Pesenti Gritti
8cb5170566 Add missing files 2007-04-30 17:30:55 +02:00
Marco Pesenti Gritti
12192e974f Tweaks for themability 2007-04-30 16:31:30 +02:00
Marco Pesenti Gritti
e936b1e1fc Forgot to add the icon 2007-04-30 14:04:50 +02:00
Marco Pesenti Gritti
afe90d3000 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-04-30 13:43:05 +02:00
Marco Pesenti Gritti
2321c9d5b4 Icon widget 2007-04-30 13:42:45 +02:00
Tomeu Vizoso
d6445af2c8 Add method Toolbox.remove_toolbar(). 2007-04-29 21:11:59 +02:00
Tomeu Vizoso
b097802fe6 Add ComboBox control. 2007-04-29 21:10:58 +02:00
Marco Pesenti Gritti
7c8ec7a845 Fix height request 2007-04-28 01:15:47 +02:00
Marco Pesenti Gritti
1412b984e0 Finish up deprecations 2007-04-27 12:00:30 +02:00
Marco Pesenti Gritti
b216135ed0 More removal and deprecations 2007-04-27 11:59:02 +02:00
Marco Pesenti Gritti
2baa2881e0 Kill more canvas items 2007-04-27 11:47:02 +02:00
Marco Pesenti Gritti
63f5ca099c Remove the canvas button 2007-04-27 11:45:14 +02:00
Marco Pesenti Gritti
4346a50e6f Remove all the bubbles from the public API, yay ;) 2007-04-27 11:43:40 +02:00
Marco Pesenti Gritti
9ccda70199 Refactor the window API a bit to make it more flexible. 2007-04-27 10:51:19 +02:00
Marco Pesenti Gritti
2d2e1368fb Add missing files 2007-04-26 12:21:03 +02:00
Marco Pesenti Gritti
e49146752f More work on the new graphics API. 2007-04-26 11:31:41 +02:00
Tomeu Vizoso
734d16022e Don't try to show the popup of a detached canvas icon. 2007-04-17 16:54:01 -03:00
Marco Pesenti Gritti
f67a243653 Get rid of the notebook which was causing strange flickering. 2007-04-16 12:26:17 +02:00
Marco Pesenti Gritti
f55a19b73c Implement the transition between zoom view. 2007-04-16 11:40:28 +02:00
Marco Pesenti Gritti
5bfc64d9be Always center the owner in the home views 2007-04-16 10:36:15 +02:00
Marco Pesenti Gritti
ee400fa602 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-04-15 11:42:06 +02:00
Marco Pesenti Gritti
c738ac488e Fix SnowflakeBox 2007-04-15 11:39:06 +02:00
Mike C. Fletcher
0fc5e67dcc More documentation, mostly for the sugar.presence.presenceservice
module.
2007-04-14 23:38:21 -04:00
Marco Pesenti Gritti
4828870afd Use gtk to detect dpi. 2007-04-07 03:42:51 +02:00
Tomeu Vizoso
2e73999004 Relativize bubble radius to screen proportions. 2007-03-28 20:23:51 +02:00
Tomeu Vizoso
a6c1ef6080 Popup/popdown fixes. 2007-03-28 19:34:11 +02:00
Marco Pesenti Gritti
0dfec679d7 Don't prelight when toggled 2007-03-21 17:21:52 +01:00
Marco Pesenti Gritti
261a7e743f Emit the activated signal also on toggles 2007-03-21 00:04:04 +01:00
Tomeu Vizoso
ed99a8bbff Style fixes for the menu. 2007-03-20 12:55:42 +01:00
Tomeu Vizoso
8a02afb408 Style fixes for the toolbar. 2007-03-20 12:01:01 +01:00
Marco Pesenti Gritti
96243824bb Remove our own sizing 2007-03-19 15:20:44 +01:00
Tomeu Vizoso
7beb2b24ac Use Animation for popdown. 2007-03-16 14:29:39 +01:00
Tomeu Vizoso
84dcb022cb Don't popdown the same control we are told to popup. 2007-03-16 14:28:25 +01:00
Tomeu Vizoso
8a88de864b Fix tooltip popup. 2007-03-16 12:20:03 +01:00
Marco Pesenti Gritti
71b0a5dc56 Actually pass buttons to the gtk file picker 2007-03-16 10:48:40 +01:00
Dan Williams
d0c5050a25 Randomize color list so it can be indexed into with a hashed value 2007-03-15 22:02:41 -04:00
Dan Williams
4371fb0883 Update another get_width_request() for new hippo 2007-03-15 16:56:29 -04:00
Tomeu Vizoso
d001c70443 Tweaked sizes of home xo icon, donut radius and device icons. 2007-03-15 19:19:38 +01:00
Marco Pesenti Gritti
9f5d642591 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-03-15 17:10:27 +01:00
Marco Pesenti Gritti
fbeaf5fb66 Add a filechooser subclass which sizes correctly on the OLPC.
This is temporary, gtk needs to be fixed.
2007-03-15 17:10:12 +01:00
Dan Williams
a83211dbb9 Fix tracebacks in snowflakeboxes 2007-03-15 11:21:35 -04:00
Marco Pesenti Gritti
4960ddae25 Adapt to the new hippo canvas sizing API 2007-03-14 03:19:24 +01:00
Dan Williams
c58bb3549f Ensure animations reach last frame 2007-03-13 08:19:50 -04:00
Marco Pesenti Gritti
ac8805246d Actually use EASE_OUT by default, add EASE_IN.
Thanks to Dan to point this out.
2007-03-13 00:25:41 +01:00
Dan Williams
78fef2a48e Implement set_title 2007-03-12 16:52:11 -04:00
Marco Pesenti Gritti
d389933b77 Remove the old timeline 2007-03-12 18:13:01 +01:00
Marco Pesenti Gritti
d91c7a90e4 Rework the popup animation to use the new API 2007-03-12 17:47:09 +01:00
Marco Pesenti Gritti
ce91f2df99 Force hiding when running an activity even if the user hover the frame again. 2007-03-12 16:57:52 +01:00
Marco Pesenti Gritti
0984938f95 New animation API. Start rewriting the frame slidein slideout logic.
(Use the keys for now, mouse is not working)
2007-03-12 12:39:29 +01:00
Marco Pesenti Gritti
57c928916c Refactor sugar.env and paths 2007-03-09 14:57:54 +01:00
Marco Pesenti Gritti
66e341c58e Use button_press virtual method instead of the connect_after hacks. 2007-03-09 13:12:52 +01:00
Marco Pesenti Gritti
cda47a41f4 Implement ToggleIconButton 2007-03-09 11:22:51 +01:00
Marco Pesenti Gritti
ce6d21075f Simplified logic using a grid. It looks ugly but we don't care right now. 2007-03-07 12:11:14 +01:00
Marco Pesenti Gritti
d06c1af638 Tweak menu layout 2007-03-05 13:34:31 +01:00
Marco Pesenti Gritti
5cc06cb5eb Tweak optionmenu and entry paddings 2007-03-05 12:43:32 +01:00
Marco Pesenti Gritti
5ae521be77 Fix aligment of menu icons 2007-03-05 12:29:52 +01:00
Tomeu Vizoso
4b1ca7056e Make action-id in MenuItem be object, not int. 2007-03-04 19:49:03 +01:00
Tomeu Vizoso
d504124cc2 Hack Dan's DataStore for doing what we need for 6th March demo. 2007-03-02 21:17:03 +01:00
Marco Pesenti Gritti
d1a29ecf32 Set font to 7 points. Tweak zoom levels. 2007-03-01 21:38:38 +01:00
Marco Pesenti Gritti
1c69095310 Remove TODO 2007-03-01 16:31:14 +01:00
Marco Pesenti Gritti
8ec1e2b524 Use the dropdown icon. Quite an hack to get the icon size right,
we will have to fix this properly.
2007-03-01 15:52:36 +01:00
Marco Pesenti Gritti
6c16653173 Convert points correctly to device. Tweak zoom factor logic a bit 2007-02-28 21:04:26 +01:00
Tomeu Vizoso
1b869a04f8 Icon and Button fixes. 2007-02-28 19:53:06 +01:00
Marco Pesenti Gritti
abc400f841 Fix points_to_pixels impl 2007-02-28 19:05:56 +01:00
Tomeu Vizoso
6704e1bfd3 Button fixes and fix launching activities from the clipboard. 2007-02-28 16:41:50 +01:00
Marco Pesenti Gritti
b364612615 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-02-28 15:43:11 +01:00
Marco Pesenti Gritti
aec4fcf874 More work on devices, getting there 2007-02-28 15:42:41 +01:00
Tomeu Vizoso
b692eb3833 Entry fixes. 2007-02-28 15:34:40 +01:00
Tomeu Vizoso
0f1adfe1de Specify font size in pixels, not in points. 2007-02-28 14:47:35 +01:00
Tomeu Vizoso
a6a8ad5677 IconButton hover fix. 2007-02-27 23:05:34 +01:00
Tomeu Vizoso
f09a63930f Fix stroke/fill on ZoomBox icons. 2007-02-27 22:35:28 +01:00
Marco Pesenti Gritti
b3452663bc Use a custom style to get rid of the damned window background 2007-02-27 20:08:33 +01:00
Marco Pesenti Gritti
b2f50f9da4 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-02-27 17:05:01 +01:00
Marco Pesenti Gritti
7081909d2d Fix some bugs with frame animation and enable it 2007-02-27 17:04:15 +01:00
Tomeu Vizoso
d398b37645 Button fixes. 2007-02-27 15:31:05 +01:00
Marco Pesenti Gritti
2e2db562c5 Make the canvas window background transparent 2007-02-27 13:56:00 +01:00
Marco Pesenti Gritti
b04c19efb4 Add a window class to graphics, it contains a canvas. 2007-02-27 13:41:51 +01:00
Tomeu Vizoso
de902c41fd Added Button control. 2007-02-26 17:35:58 +01:00
Tomeu Vizoso
6b31f57257 Some control fixes. 2007-02-26 12:40:14 +01:00
Dan Williams
c1efa0a266 Ensure correctly formatted color 2007-02-25 22:23:27 -05:00
Marco Pesenti Gritti
b26ddc64ba Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-02-25 15:33:01 +01:00
Marco Pesenti Gritti
10bfe004a8 Fix strength propagation 2007-02-25 15:05:56 +01:00
Tomeu Vizoso
bba86e5b74 First try at menu sizing in OptionMenu. 2007-02-25 14:58:18 +01:00
Tomeu Vizoso
067f703bfe Make OptionMenu grab the pointer on popup. 2007-02-24 18:18:50 +01:00
Tomeu Vizoso
951e92395b Make the default icon scale depend on the screen resolution. 2007-02-24 17:15:47 +01:00
Tomeu Vizoso
5714396e34 Add hovering to MenuItem. 2007-02-24 15:30:16 +01:00
Tomeu Vizoso
2b1445be6c Adjusted rounded box radius. 2007-02-24 15:22:16 +01:00
Tomeu Vizoso
ce800fbc66 Add hover to BuddyIcon in the Frame. 2007-02-24 14:58:38 +01:00
Tomeu Vizoso
6a58df67a0 Highlight buttons and change menu background to black. 2007-02-23 20:39:52 +01:00
Tomeu Vizoso
a2e5b9308e Rename color property in CanvasIcon to xo-color and added properties fill-color and stroke-color. 2007-02-23 17:08:37 +01:00
Marco Pesenti Gritti
7cfeb76d4a Rework the implementation and add an explanation
about units and resolution indipendance in sugar.
2007-02-23 15:29:59 +01:00
Tomeu Vizoso
cb0d75eb59 Rename IconColor to XoColor. 2007-02-23 13:09:33 +01:00
Tomeu Vizoso
b8792c5c32 Added some SystemColors for the buttons. 2007-02-23 12:45:06 +01:00
Tomeu Vizoso
6756c00917 Added tooltips to CanvasIcon and implement popup positioning in the Frame. 2007-02-22 22:51:24 +01:00
Tomeu Vizoso
2f4822f1cd Make OptionMenu use the new Menu and MenuItem classes. 2007-02-22 12:34:38 +01:00
Tomeu Vizoso
d4639a1764 Use hippo.CanvasContext.translate_to_screen() for positioning popups. 2007-02-21 21:29:08 +01:00
Tomeu Vizoso
c9af045e43 Removed MenuIcon. 2007-02-21 21:15:08 +01:00
Tomeu Vizoso
b452b7d718 Make ClipboardIcon use the new Menu. 2007-02-21 21:12:27 +01:00
Tomeu Vizoso
7be3333671 Make BuddyIcon and BuddyMenu use the new Menu. 2007-02-21 17:55:44 +01:00
Tomeu Vizoso
3ce2a67304 Refactored Menu out of Popup. 2007-02-21 17:05:41 +01:00
Tomeu Vizoso
c05b179675 Fix wrong import. 2007-02-21 15:45:19 +01:00
Tomeu Vizoso
00db5e15a5 Move popup activation logic from IconButton to CanvasIcon. 2007-02-21 14:13:52 +01:00
Tomeu Vizoso
c58b6c5587 Make IconButton inherit from Button instead of containing it. 2007-02-21 13:51:44 +01:00
Tomeu Vizoso
500f979302 Renamed Button to IconButton. 2007-02-21 13:01:20 +01:00
Tomeu Vizoso
abff0a8cec Throw NotImplementedError in abstract method. 2007-02-21 12:02:57 +01:00
Tomeu Vizoso
111da5911a Allow for having the popup positioning logic in PopupContext. 2007-02-21 11:42:47 +01:00
Tomeu Vizoso
bbfe539429 Renamed Rollover to Popup. 2007-02-21 10:16:03 +01:00
Marco Pesenti Gritti
affba784cf Add missing files 2007-02-20 22:34:36 +01:00
Marco Pesenti Gritti
0ccaf0dac8 Remove the style stuff 2007-02-20 22:15:31 +01:00
Tomeu Vizoso
f3cf928f31 Added Rollover control. 2007-02-20 16:38:25 +01:00
Marco Pesenti Gritti
7e96b1afb7 Get rid of the old grid. Never use absolute positioning. 2007-02-20 16:23:49 +01:00
Marco Pesenti Gritti
3de915db96 Completely drop stylesheets. Move some of it inside the nm service, don't want to touch that code because it will be rewritten. 2007-02-20 15:10:18 +01:00
Marco Pesenti Gritti
ee66b2237d More work to get rid of stylesheets, some regressions. 2007-02-20 14:57:50 +01:00
Marco Pesenti Gritti
b44715cf08 Remove deprecated style stuff 2007-02-20 14:28:49 +01:00
Marco Pesenti Gritti
c9b103dfef Refactor button a bit to support different sizes. Use it for the overlaybox. 2007-02-16 15:24:02 +01:00
Tomeu Vizoso
6ee8067b06 Temporary fix until the next hippo-canvas. 2007-02-15 20:32:25 +01:00
Tomeu Vizoso
28f10bf142 OptionMenu fixes and API updates. 2007-02-15 19:18:15 +01:00
Marco Pesenti Gritti
fa4c775bc9 Add icon sizes 2007-02-15 19:03:24 +01:00
Marco Pesenti Gritti
67c9268a75 Take in account screen size 2007-02-15 18:55:32 +01:00
Marco Pesenti Gritti
2e8bd12f8b Rework color and fonts to be more pytonish. Add units conversions. 2007-02-15 18:48:58 +01:00
Tomeu Vizoso
32c89a1fcb New widget OptionMenu. 2007-02-15 18:23:52 +01:00
Marco Pesenti Gritti
e08ad4baf5 Add some infrastructure for font sizes. 2007-02-15 15:09:38 +01:00
Marco Pesenti Gritti
bcdff5ddd3 Move Color inside style 2007-02-14 16:20:00 +01:00
Tomeu Vizoso
b4a461605d Label fixes. 2007-02-13 18:09:45 +01:00
Tomeu Vizoso
b48c5c0beb Fix Entry. 2007-02-13 17:08:27 +01:00
Marco Pesenti Gritti
8f3fb612fd Reenable the journal. Add desktop background color. 2007-02-13 15:02:39 +01:00
Tomeu Vizoso
63c5bd5dbd Allow for subclasses of Entry to override the base gtk.Entry. 2007-02-12 23:45:46 +01:00
Tomeu Vizoso
f4a6eb4453 Refactor Frame, create RoundBox, some Entry fixes and new Label control. 2007-02-12 20:37:20 +01:00
Tomeu Vizoso
5aa820d72f And more text entry stuff. 2007-02-10 17:42:11 +01:00
Tomeu Vizoso
105c66f25b More text entry stuff. 2007-02-09 17:34:08 +01:00
Tomeu Vizoso
6115b8af10 Added text entry control. 2007-02-09 14:47:11 +01:00
Marco Pesenti Gritti
f6e1df09f5 Refactor a bit the color stuff. Python doesn't seem to like initializing class members with an instance of the class itself. Initial frame control implementation. 2007-02-08 16:28:05 +01:00
Tomeu Vizoso
7e324af179 Added toolbar and button controls. 2007-02-07 18:26:39 +01:00
Marco Pesenti Gritti
5d57b261ee Add a color class, not used yet 2007-02-07 17:34:29 +01:00
Marco Pesenti Gritti
c44084df09 Make the icon colors list private 2007-02-07 16:55:22 +01:00
Marco Pesenti Gritti
eeaf517049 We was no more scaling icons depending on screen resolution, fix it 2007-01-27 02:45:09 +01:00
Marco Pesenti Gritti
cdf46c52af Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Conflicts:

	sugar/graphics/canvasicon.py
2007-01-27 01:39:22 +01:00
Marco Pesenti Gritti
fd40c138c6 Rework icon sizing (unfinished, but more or less functional) 2007-01-27 01:36:31 +01:00
Dan Williams
6930a8c11a Correctly set height/width the right way 2007-01-26 18:27:59 -05:00
Dan Williams
759c477e1f Revert "Set width/height the right way"
This reverts commit 0eaa29ee9d.
2007-01-26 11:28:45 -05:00
Dan Williams
0eaa29ee9d Set width/height the right way 2007-01-26 09:21:56 -05:00
Marco Pesenti Gritti
5ca728b1d3 Fix API for hippo-canvas 0.2 2007-01-19 15:47:33 +01:00
Dan Williams
9c75c80d7f Don't clear the current buffer on cleanup 2007-01-15 09:53:41 -05:00
Dan Williams
8ca1e36b7f Optionally cache rendered icon surfaces 2007-01-14 18:20:43 -05:00
Dan Williams
ff2776ef25 Use themed stock-missing 2007-01-14 14:08:24 -05:00
Dan Williams
185b14130b Optimize the CanvasIcon cache
- Cache all icons, not just themed ones
- Clear icons from the cache if it gets too big
2007-01-14 13:59:11 -05:00
Marco Pesenti Gritti
6971ddb9a4 Support for activity icons inside the bundle.
Patch by Gonzalo Odiard <godiard@gmail.com>
Modified by me to allow icon theme to override the bundle one.
2007-01-12 21:35:53 +01:00
Tomeu Vizoso
334be3331b Some more usability fixes for the clipboard. 2007-01-11 23:57:06 +01:00
Marco Pesenti Gritti
297381cad7 Basic implementation of the shutdown graphics 2007-01-11 11:20:08 +01:00
Dan Williams
6b67c410e0 Delete old surfaces when no longer used 2007-01-08 17:12:20 -05:00
Tomeu Vizoso
1ee6b7faf0 Some clipboard fixes. 2007-01-07 23:38:33 +01:00
Tomeu Vizoso
f50d9f5f9a Added icon, title and preview for clipboard objects. Also allow for opening docs and rtfs from the web. 2007-01-05 21:13:46 +01:00
Marco Pesenti Gritti
2db2ae5312 Split model/view in the activities donut.
Provide some infrastructure for Alt+Tab implementation.
2006-12-24 12:19:24 +01:00
Justin Gallardo
b9f9ef0fe9 Changed all tabs to 4 spaces for python style 2006-12-04 11:12:24 -08:00
Tomeu Vizoso
59d57a03d9 First implementation of ClipboardService. Implement pdf viewing and downloading via ClipboardService. 2006-11-15 13:56:19 +01:00
Marco Pesenti Gritti
d3e99e76ef Add a shutdown button 2006-11-11 23:51:16 +01:00
Tomeu Vizoso
61f24de748 Reverting clipboard changes pushed by mistake. These are commits 23565cfd48 and a7e4092b0e. 2006-11-10 14:14:15 +01:00
Tomeu Vizoso
a7e4092b0e Created SugarDownloadManager and ClipboardService's wrapper. Show and hide the frame when adding an object to the clipboard. 2006-11-05 19:52:46 +01:00
Tomeu Vizoso
23565cfd48 First version of the ClipboardService. Added support for showing the progress of a pdf download in the clipboard. 2006-11-01 19:43:59 +01:00
Marco Pesenti Gritti
3e4f570d16 Do not catch exceptions from the called method 2006-10-30 17:05:01 +01:00
Dan Williams
4bf76960a0 Add a text style 2006-10-29 22:41:52 -05:00
Marco Pesenti Gritti
b873bfe18d Fix icon background color 2006-10-25 15:45:55 +02:00
Marco Pesenti Gritti
ebb896cb5b Another iteration on the spread out box. Make it work
well also for the mesh.
2006-10-25 14:31:44 +02:00
Marco Pesenti Gritti
159349e7e0 Unused variable 2006-10-25 01:21:49 +02:00
Marco Pesenti Gritti
31f6ffe916 Fix up buffering. Improve perf and avoid flickering. 2006-10-23 18:31:13 +02:00
Marco Pesenti Gritti
1ed5450651 Do not trap all exceptions grrr 2006-10-23 17:22:26 +02:00
Marco Pesenti Gritti
4f81f305b2 Fix a race in the spread box. Adapt to api change. 2006-10-19 16:49:53 +02:00
Dan Williams
941345d649 Add stylesheet.py to Makefile.am 2006-10-19 10:04:07 -04:00
Marco Pesenti Gritti
fafa1ae35e Refactor stylsheets code a bit to load the global stylsheet
for all modules.
Implement the links sidebar per discussion with Eben.
2006-10-19 11:54:51 +02:00
Marco Pesenti Gritti
e098bdf8eb Fix out of screen computation. Release 0.37 2006-10-18 21:50:14 +02:00
Marco Pesenti Gritti
6c375a20f3 Center the icon in the allocation space 2006-10-18 19:41:34 +02:00
Marco Pesenti Gritti
f3fbea70a3 Rework menu positioning logic 2006-10-18 17:57:41 +02:00
Marco Pesenti Gritti
54dcb672e5 Move the menu positioning code inside menu shell and
unify it.
2006-10-18 16:23:06 +02:00
Marco Pesenti Gritti
7a06102b2e Fix programmatical popdown 2006-10-18 14:26:07 +02:00
Marco Pesenti Gritti
a4ef03fbda Rewrite the menu activation/deactivation logic using a timeline 2006-10-18 14:05:50 +02:00
Marco Pesenti Gritti
615242f4f8 Add LGPL header 2006-10-15 01:08:44 +02:00
Marco Pesenti Gritti
e176a531ab Remove old browser and fix makefiles 2006-10-13 21:31:51 +02:00
Marco Pesenti Gritti
63e12fbd5e More work on links 2006-10-13 18:05:48 +02:00
Marco Pesenti Gritti
75b158c3d7 First go at shared links (not functional) 2006-10-13 15:46:11 +02:00
Marco Pesenti Gritti
279ebda451 Fix children counting 2006-10-10 01:14:24 +02:00