Commit Graph

47 Commits

Author SHA1 Message Date
Eduardo Silva
aa6a024368 Move code to use style instead font.py (removed) 2007-07-09 10:09:24 -04:00
Eduardo Silva
ec929eb0ad New frameinvoker 2007-07-06 10:51:18 -04:00
Dan Williams
4005151005 Add badges to CanvasIcon 2007-07-05 16:02:06 -04:00
Tomeu Vizoso
92ec6f72d8 Restore CanvasIcon prelighting. 2007-07-01 11:33:12 +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
99e8077f59 Implement fix-copyright and fix some of them 2007-06-24 14:43:48 +02:00
Tomeu Vizoso
abec4df66e Don't try to display an icon without file name. 2007-05-19 11:19:56 +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
Tomeu Vizoso
a6c1ef6080 Popup/popdown fixes. 2007-03-28 19:34:11 +02:00
Tomeu Vizoso
7beb2b24ac Use Animation for popdown. 2007-03-16 14:29:39 +01:00
Tomeu Vizoso
8a88de864b Fix tooltip popup. 2007-03-16 12:20:03 +01:00
Dan Williams
4371fb0883 Update another get_width_request() for new hippo 2007-03-15 16:56:29 -04:00
Marco Pesenti Gritti
4960ddae25 Adapt to the new hippo canvas sizing API 2007-03-14 03:19:24 +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
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
Tomeu Vizoso
1b869a04f8 Icon and Button fixes. 2007-02-28 19:53:06 +01:00
Marco Pesenti Gritti
aec4fcf874 More work on devices, getting there 2007-02-28 15:42:41 +01:00
Marco Pesenti Gritti
10bfe004a8 Fix strength propagation 2007-02-25 15:05:56 +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
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
Tomeu Vizoso
cb0d75eb59 Rename IconColor to XoColor. 2007-02-23 13:09:33 +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
d4639a1764 Use hippo.CanvasContext.translate_to_screen() for positioning popups. 2007-02-21 21:29:08 +01:00
Tomeu Vizoso
00db5e15a5 Move popup activation logic from IconButton to CanvasIcon. 2007-02-21 14:13:52 +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
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
Dan Williams
6b67c410e0 Delete old surfaces when no longer used 2007-01-08 17:12:20 -05: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
Justin Gallardo
b9f9ef0fe9 Changed all tabs to 4 spaces for python style 2006-12-04 11:12:24 -08:00
Marco Pesenti Gritti
31f6ffe916 Fix up buffering. Improve perf and avoid flickering. 2006-10-23 18:31:13 +02:00
Marco Pesenti Gritti
6c375a20f3 Center the icon in the allocation space 2006-10-18 19:41:34 +02:00
Marco Pesenti Gritti
615242f4f8 Add LGPL header 2006-10-15 01:08:44 +02:00
Marco Pesenti Gritti
1f8ff1db1f Move all the canvas code that doesn't depend on goocanvas anymore in graphics. 2006-10-04 00:55:20 +02:00
Marco Pesenti Gritti
0a912e214a Start moving to hippo canvas. (Friends presence in the activity regressed) 2006-10-02 01:50:43 +02:00
Marco Pesenti Gritti
d05f1f13d3 Start rewriting our canvas stuff to cleanup and use hippo.
Out of the build.
2006-10-01 19:08:26 +02:00