Commit Graph

308 Commits

Author SHA1 Message Date
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
Marco Pesenti Gritti
7fa1b02a82 Fix size request calculation 2006-10-10 00:56:19 +02:00
Marco Pesenti Gritti
8c3ac8960f Spread box cleanups and fixes 2006-10-07 14:33:08 +02:00
Marco Pesenti Gritti
d1205dd255 Fix the spread box test and fix the box layout logic too 2006-10-06 18:07:49 +02:00
Marco Pesenti Gritti
7f232c30c2 More fixes 2006-10-06 11:34:29 +02:00
Marco Pesenti Gritti
953b5bf286 Some fixes 2006-10-06 11:17:38 +02:00
Marco Pesenti Gritti
b33a1c141f Move the layouts to be box and subclass them. 2006-10-06 11:11:38 +02:00
Marco Pesenti Gritti
1b0e469dbd More work on the views layout 2006-10-05 18:53:34 +02:00
Marco Pesenti Gritti
924fe94b16 Adapt spread layout to hippo 2006-10-05 18:32:35 +02:00
Marco Pesenti Gritti
aec5cdbdcd Ooops broke default positioning strategy 2006-10-05 17:49:37 +02:00
Marco Pesenti Gritti
6479962ca7 Get back presence list to work 2006-10-05 17:09:38 +02:00
Marco Pesenti Gritti
847f69fce7 More stylification 2006-10-05 16:29:55 +02:00
Marco Pesenti Gritti
0bd96b3987 More stylsheets work 2006-10-05 14:52:33 +02:00
Marco Pesenti Gritti
250060b7f8 Remove several hardcoded sizes, substitute them with stylesheets. 2006-10-05 14:38:37 +02:00
Marco Pesenti Gritti
b3abf30dec Improve stylesheet loading 2006-10-05 13:26:02 +02:00
Marco Pesenti Gritti
5da630c13a Kill unused code, fix makefiles 2006-10-04 15:37:53 +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
8f9f473073 Fix makefiles 2006-10-03 17:12:34 +02:00
Marco Pesenti Gritti
75b86618de Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-10-03 16:34:14 +02:00
Marco Pesenti Gritti
e14aa30f07 Port mesh and friends view to hippo, needs work 2006-10-03 16:31:32 +02:00
Dan Williams
3524042ad7 Update makefile 2006-10-02 15:46:37 -04:00
Marco Pesenti Gritti
a951b36347 Reimplement menu using hippo and hook it up for the
activity menu.
2006-10-02 16:37:30 +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