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