Tomeu Vizoso
ebe043a4d2
Refactored global key handling and frame logic.
2007-03-17 14:30:23 +01:00
Dan Williams
64a67e28f6
Disable sharing for trial1
2007-03-16 10:00:16 -04:00
Tomeu Vizoso
6227b96215
Support selection of the clipboard object to be pasted.
2007-03-14 13:32:05 +01:00
Dan Williams
8b4ccf3eb1
Cleanup clipboard D-Bus API
...
- The clipboard now determines each objects unique id and
returns it from add_object()
- The ID is opaque to the client and should not be used/accessed
other than with the clipboard service
- Add object type hints for dbus-python
- Sugar clipboard bindings for get_object() now return a dict rather
than a tuple
- ClipboardIcon now retrieves the real file path and uses that
to open the file
- Adapt sugar bits to clipboard changes
2007-03-14 00:50:06 -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
d041eadf92
Give up on the save/restore logic, it seem too unpredictable to be clear to the user.
...
Try a simpler logic where the frame state is reset when switching zoom levels.
2007-03-13 00:19:21 +01:00
Marco Pesenti Gritti
3bfd94899a
Bunch of fixes
2007-03-12 22:29:11 +01:00
Marco Pesenti Gritti
bf80cb55b9
Some cleanups in the Shell. Add a way to save/restore the frame state.
2007-03-12 20:18:55 +01:00
Marco Pesenti Gritti
2bd609e5fd
Cleanup
2007-03-12 19:14:02 +01:00
Marco Pesenti Gritti
ed454220e6
Cleanup
2007-03-12 19:13: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
978965bfa8
Fix a race
2007-03-12 16:30:53 +01:00
Marco Pesenti Gritti
0d90a7b4e7
More fixes to the hover logic..
2007-03-12 16:22:03 +01:00
Marco Pesenti Gritti
49b0db642e
Fix hover checking logic
2007-03-12 16:09:41 +01:00
Marco Pesenti Gritti
acaac29906
Add the frame when starting an activity
2007-03-12 14:54:55 +01:00
Marco Pesenti Gritti
540cef4b0d
Implement modes, some fixes
2007-03-12 14:48:02 +01:00
Marco Pesenti Gritti
a3a6d0cd89
Implement mouse logic
2007-03-12 14:05:50 +01:00
Marco Pesenti Gritti
c4fbb41bcd
Complete the key logic
2007-03-12 13:35:07 +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
Dan Williams
a1411040f1
Make frame animation faster and smoother
2007-03-11 21:39:00 -04:00
Owen Williams
3d32c9aaa6
Fix corner and edge frame activation
2007-03-05 21:24:42 -05:00
Marco Pesenti Gritti
baad778406
Improve logging
2007-03-02 15:11:59 +01:00
Tomeu Vizoso
f09a63930f
Fix stroke/fill on ZoomBox icons.
2007-02-27 22:35:28 +01:00
Marco Pesenti Gritti
7081909d2d
Fix some bugs with frame animation and enable it
2007-02-27 17:04:15 +01:00
Marco Pesenti Gritti
b04c19efb4
Add a window class to graphics, it contains a canvas.
2007-02-27 13:41:51 +01:00
Marco Pesenti Gritti
df1f01552d
Fix overlay box alignment
2007-02-26 14:54:17 +01:00
Marco Pesenti Gritti
81e2e9ed8d
Get rid of the old nm applet
2007-02-25 13:40:24 +01:00
Owen Williams
d7eb3fd734
Fix part of bug 853, reposition and resize sugar frame after rotate
2007-02-24 13:28:04 -05:00
Tomeu Vizoso
ce800fbc66
Add hover to BuddyIcon in the Frame.
2007-02-24 14:58:38 +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
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
Marco Pesenti Gritti
3fbc00f74a
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-02-21 17:54:01 +01:00
Marco Pesenti Gritti
7db372cc1c
Make bundle registry a singleton. Get the object path from the registry.
2007-02-21 17:53:44 +01:00
Tomeu Vizoso
3ce2a67304
Refactored Menu out of Popup.
2007-02-21 17:05:41 +01:00
Tomeu Vizoso
500f979302
Renamed Button to IconButton.
2007-02-21 13:01:20 +01:00
Tomeu Vizoso
bbfe539429
Renamed Rollover to Popup.
2007-02-21 10:16:03 +01:00
Tomeu Vizoso
f3cf928f31
Added Rollover control.
2007-02-20 16:38:25 +01:00
Marco Pesenti Gritti
5f65056d78
Cleanups
2007-02-20 16:35:07 +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
ee66b2237d
More work to get rid of stylesheets, some regressions.
2007-02-20 14:57:50 +01:00
Marco Pesenti Gritti
927926b49a
Remove reference to a stylesheet
2007-02-16 15:38:14 +01:00
Marco Pesenti Gritti
af0a6793f3
Use Button in the zoom box
2007-02-16 15:31:27 +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
7e324af179
Added toolbar and button controls.
2007-02-07 18:26:39 +01:00
Tomeu Vizoso
1fb786f843
Listen for button-press in the hippo.Canvas, not on the gtk.Window.
2007-02-03 21:51:39 +01:00
Tomeu Vizoso
9d13a9836d
Added new tool sugar-install-bundle.
2007-01-27 12:54:56 +01:00
Marco Pesenti Gritti
698e0cb7f9
Actually disable animation
2007-01-25 19:50:00 +01:00
Marco Pesenti Gritti
5bc623f45e
Try to avoid frame flickering by keeping the window offscreen.
...
First go at animation impl as I was at it, off by default.
2007-01-25 17:37:27 +01:00
Marco Pesenti Gritti
ff4054742a
Some refactoring. Store each panel in his own variable, since slide_in/slide_out handling will be different for each of them.
2007-01-25 12:39:44 +01:00
Marco Pesenti Gritti
1456c872bc
Split EventFrame to his own file, fixup caps
2007-01-25 12:22:37 +01:00
Marco Pesenti Gritti
5ca728b1d3
Fix API for hippo-canvas 0.2
2007-01-19 15:47:33 +01:00
Marco Pesenti Gritti
f20348a5fd
There are 4 different menu shells on the panel, check against the right one.
2007-01-16 20:32:29 +01:00
Marco Pesenti Gritti
5e08830feb
On edges show the frame after 1.5 seconds
2007-01-15 11:28:30 +01: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
58f218133b
Also slide out the frame on shutdown
2007-01-11 11:43:34 +01:00
John (J5) Palmieri
4869f74642
add prelight on mouse enter to activity icons
...
* prelight uses profile.get_color()
2007-01-09 15:25:51 -05:00
Marco Pesenti Gritti
ac090fa8e7
Fix part 1 of #439 . Also cleanup code a bit.
2007-01-09 20:15:18 +01: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
8b9a8e01f8
Remove obsolete file
2007-01-05 12:28:51 +01:00
Marco Pesenti Gritti
5c36c6f274
Remove the shutdown graphical button
2007-01-05 12:20:55 +01:00
Marco Pesenti Gritti
b3c2368eac
Complete the shell model/view split, finally
2006-12-24 15:39:00 +01:00
Marco Pesenti Gritti
0d1e07d9c3
Split ActivityHost in model/view. Refactor accordingly.
2006-12-24 14:35:02 +01:00
Tomeu Vizoso
eba35406c5
Usability fixes for dnd on the clipboard
2006-12-16 23:55:22 +01:00
Tomeu Vizoso
cc39ef169f
Clipboard fixes.
2006-12-14 13:50:42 +01:00
Tomeu Vizoso
e68f0e00e9
Added c&v and dnd support to the clipboard.
2006-12-13 22:36:05 +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
ba5d1b4804
Finish up porting to the new registry
2006-12-01 23:04:14 +01:00
Marco Pesenti Gritti
b5b9d9d5f1
Remove more old activities code
2006-12-01 22:33:00 +01:00
Marco Pesenti Gritti
6169f603e5
Remove the old activities code path from here
2006-12-01 22:23:12 +01: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
fcea34c227
Fix makefile
2006-11-12 00:28: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
f428b3ab74
Merge branch 'master' of git://dev.laptop.org/sugar
2006-11-03 16:18:39 +01:00
Marco Pesenti Gritti
00026fb5ef
Check if we should show the launcher
2006-11-03 16:11:59 +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
d150ac40cc
More work on bundles support
2006-10-29 19:05:09 +01:00
Marco Pesenti Gritti
2f58f41e9e
Missing file
2006-10-24 20:19:00 +02:00
Marco Pesenti Gritti
2aa69e7199
Add the overlay icon on the frame
2006-10-24 19:44:18 +02:00
Marco Pesenti Gritti
ad7d04f736
Fix styling of the invites icon
2006-10-23 21:28:19 +02:00
Dan Williams
4a09253f5f
Add initial activities & protect against addition/removal of buddies we don't know about
2006-10-19 15:06:01 -04:00
Marco Pesenti Gritti
62659e2806
Show the share button only when the activity is not shared
2006-10-19 15:44:00 +02:00
Marco Pesenti Gritti
3d3ef947e1
Fix method naming conflict
2006-10-19 12:55:25 +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
37e1bf6100
When showing the frame automatically hide it on leave, otherwise
...
it gets annoying.
2006-10-18 00:57:05 +02:00
Marco Pesenti Gritti
03bca10376
Listen also to enter event for frame activation. This makes
...
mouse activation actually reliable.
2006-10-18 00:44:23 +02:00
Marco Pesenti Gritti
87458b63f5
Fix
2006-10-16 20:59:59 +02:00
Marco Pesenti Gritti
1803ab1a88
Handle icon removal, better alignment
2006-10-16 20:42:39 +02:00
Marco Pesenti Gritti
528dc5a046
Forgot to add these
2006-10-16 18:43:31 +02:00
Marco Pesenti Gritti
5e503f77d1
Get the tray icon to sort of work.
2006-10-16 18:43:04 +02:00
Marco Pesenti Gritti
43bd44b407
Add GPL headers
2006-10-15 01:24:45 +02:00
Marco Pesenti Gritti
62fd4dcd89
Basic functionalities mostly working
2006-10-13 19:04:04 +02:00
Marco Pesenti Gritti
4b36f84c30
Fix several makefiles, use olpc theme for matchbox
2006-10-05 19:48:12 +02:00
Marco Pesenti Gritti
0533d1ffd6
Rewrite for hippo
2006-10-05 17:46:36 +02:00
Marco Pesenti Gritti
6479962ca7
Get back presence list to work
2006-10-05 17:09:38 +02:00
Marco Pesenti Gritti
0bd96b3987
More stylsheets work
2006-10-05 14:52:33 +02:00
Marco Pesenti Gritti
b3abf30dec
Improve stylesheet loading
2006-10-05 13:26:02 +02:00
Marco Pesenti Gritti
62ee1df83c
Complete the de-goocanvasification
2006-10-04 15:26:41 +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
717bdd66f4
Get rid of the old Grid and CanvasBox
2006-10-04 00:25:03 +02:00
Dan Williams
88da2c7e2d
Update makefile
2006-10-02 15:41:44 -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
Dan Williams
a91738d3a9
Default values for args for do_slide_in and do_slide_out, and add is_visisble()
2006-09-28 16:11:29 -04:00
Marco Pesenti Gritti
4975e94a84
Update some icon names
2006-09-26 19:35:58 +02:00
Marco Pesenti Gritti
2ad9696c87
Adapt to BuddyModel constructor change
2006-09-25 19:15:23 +02:00
Marco Pesenti Gritti
d8c61d271a
Convert to the new icon format
2006-09-22 14:32:07 +02:00
Marco Pesenti Gritti
2d8c9a3310
Implement activation modes. Do not hide when sticky because
...
activated by single frame key press.
2006-09-22 11:14:33 +02:00
Marco Pesenti Gritti
5e55efe9d5
Get icon size from the handle. Remove the padding from
...
the zoom view icons and reorder them.
2006-09-22 10:55:10 +02:00
Marco Pesenti Gritti
66124465e8
Do not show the frame when leaving the edge before the time
2006-09-21 18:04:37 +02:00
Marco Pesenti Gritti
a054eb3a4b
Implement the frame mouse activation logic.
...
Some fixes in the Timeline
2006-09-21 14:45:36 +02:00
Marco Pesenti Gritti
446a58d52c
Simple timeline API.
...
Use it to implement the frame key logic.
2006-09-21 14:08:10 +02:00
Marco Pesenti Gritti
09db49cc18
s/BuddyInfo/BuddyModel
2006-09-20 12:27:38 +02:00
Marco Pesenti Gritti
ec0debdb30
Do not hide the frame if menushell is active.
2006-09-19 14:43:42 +02:00
Marco Pesenti Gritti
9ff192d0b3
Use a different menu shell for the zoom view and the frame
2006-09-19 14:04:11 +02:00
Marco Pesenti Gritti
f5ef5d8c94
Show/hide the frame on mouse motion, needs work
2006-09-18 16:51:21 +02:00
Marco Pesenti Gritti
180c65e81c
Implement close button for the activity.
...
Some fixes.
2006-09-18 11:56:53 +02:00
Marco Pesenti Gritti
1f3187e0b5
Cleanup shell model/view separation
2006-09-18 11:48:33 +02:00
Marco Pesenti Gritti
89e2f5be91
Rework menu positioning. Cleanups.
2006-09-17 01:05:59 +02:00
Marco Pesenti Gritti
edba3e0082
Implement menu color scheme and fixup colors
2006-09-16 20:48:27 +02:00
Marco Pesenti Gritti
465253d95e
Initial implementation of the activity menu
2006-09-16 20:35:03 +02:00
Marco Pesenti Gritti
7c91b1c49f
Factor out to a generic icon with menu
2006-09-16 14:45:09 +02:00
Marco Pesenti Gritti
7b37c4d38b
Fix opening new activities
2006-09-15 15:30:46 +02:00
Marco Pesenti Gritti
f2f25f874d
Implement friends removal, lots of cleanups
2006-09-15 15:28:18 +02:00
Marco Pesenti Gritti
16574cbfcc
s/FriendIcon/BuddyIcon since that is generic now
2006-09-15 14:41:56 +02:00
Marco Pesenti Gritti
844216585a
Pass around the shell so that groups can reuse the grid
2006-09-15 14:24:26 +02:00
Marco Pesenti Gritti
bcc1740f7f
Move the view to his own module
2006-09-15 13:23:21 +02:00