Tomeu Vizoso
3df75e4c6e
Renamed XO icon from xo to computer-xo.
2007-08-21 16:54:36 +02:00
Marco Pesenti Gritti
1ba5cddaa3
Use CamelCase for dbus methods.
2007-08-20 15:15:44 +02:00
Marco Pesenti Gritti
33094dfa50
* #2012 : Fix palette position on the left frame panel. (marco)
2007-08-20 14:49:17 +02:00
Tomeu Vizoso
08cd44dbe2
Fix a warning.
2007-08-18 19:15:10 +02:00
Tomeu Vizoso
e0785e7aab
Fix dragging clipboard objects out from the frame.
2007-08-18 18:35:45 +02:00
Dan Winship
cf5c995585
Update the activity ring wedge sizes more often
...
(immediately before switching to the Home view, and on a timer after that)
2007-08-17 11:53:33 -04:00
Dan Winship
723429fb80
Include free swap space in the activity ring's "free memory" slice
...
Mostly only affects sugar-jhbuild, but also people with USB/SD swap on B2s
2007-08-17 11:52:22 -04:00
Marco Pesenti Gritti
de9e02b498
Fix several sizing bugs.
2007-08-17 16:18:57 +02:00
Tomeu Vizoso
dfe8ff6806
#2695 : Recognize text files as such.
2007-08-16 21:41:42 +02:00
Marco Pesenti Gritti
ba8a731aa1
Add a border to the frame.
2007-08-16 16:46:21 +02:00
Marco Pesenti Gritti
01c15298b8
Adapt to object icons name changes.
2007-08-16 13:06:39 +02:00
Marco Pesenti Gritti
a79a3198c5
Adapt to devices icon name changes.
2007-08-16 12:58:40 +02:00
Marco Pesenti Gritti
e95e786432
Adapt to icon name changes
2007-08-16 12:51:33 +02:00
Tomeu Vizoso
c54fb84b28
#2543 : Offer multiple activities for opening clipboard objects.
2007-08-15 12:19:29 +02:00
Marco Pesenti Gritti
d6ae654c76
Typo
2007-08-15 12:23:57 +02:00
Marco Pesenti Gritti
0e4eccd49b
Volume/Brightness max/min
2007-08-14 20:22:35 +02:00
Tomeu Vizoso
cff8ffc328
Complete move to external bundle registry.
2007-08-09 18:10:16 +02:00
Dan Winship
985fe6ef35
Make activity icons in frame outline-only. #2668
2007-08-08 18:19:05 -04:00
Dan Winship
bdba2d149e
Merge branch 'master' of git+ssh://danw@dev.laptop.org/git/sugar
2007-08-08 13:13:31 -04:00
Tomeu Vizoso
77094c961a
Adapt to new palette API.
2007-08-08 18:39:39 +02:00
Dan Winship
7b21f752ad
Merge branch 'master' of git+ssh://danw@dev.laptop.org/git/sugar
2007-08-08 09:30:50 -04:00
Dan Winship
c85c89ce83
Make Journal active at startup. #2159
...
Also distinguish between "active" in the sense of "the user is actually
using this activity" and "active" in the sense of "the activity would
be active *if* the user switched to Activity view". It's the latter sense,
now called "pending" that the Journal is in at startup. Pending is also
used for the next-up activity when you quit the current active activity.
2007-08-08 09:30:45 -04:00
Dan Winship
6ca80a7146
Always get the activity list from the shell view, not sometimes from the model
2007-08-08 09:27:37 -04:00
Marco Pesenti Gritti
6dd6b0275b
Expose palette.menu rather than wrapping methods.
2007-08-08 12:56:19 +02:00
Tomeu Vizoso
51ce8abdef
Adapt to new color constants.
2007-08-08 10:56:12 +02:00
Dan Winship
2485e15030
Add a basic palette with "Resume" and "Stop" to activity ring icons. #2028
2007-08-06 15:33:27 -04:00
Dan Winship
56d8e5e748
Don't use gtk.get_current_event_time() as the timestamp for window.activate()
...
gtk.get_current_event_time() will return 0 if there's no "current
event" (which will happen if this is invoked from a SugarKeyGrabber
callback, because that intercepts events below the gtk level). And
libwnck will g_warn if we pass "0" to window.activate(). Since
matchbox doesn't look at the timestamp anyway, it's simplest to just
always pass "1" there.
(Needed for part of #2159 )
2007-08-06 09:25:42 -04:00
Dan Winship
88401d31b4
Make activity ring wedges represent approximate size of the activity. #2030
2007-08-03 11:31:21 -04:00
Dan Winship
f52e55381a
Make the whole wedge in the activity ring clickable. #2029
2007-08-02 14:14:21 -04:00
Marco Pesenti Gritti
c0276b5609
Fix a leftover of the scale property
2007-07-31 17:15:36 +02:00
Marco Pesenti Gritti
b3f7e0e632
Move from scaling to sizes in CanvasIcon.
2007-07-31 16:46:06 +02:00
Marco Pesenti Gritti
72d66793a7
Fix all the units except icon scales.
2007-07-31 15:21:09 +02:00
Marco Pesenti Gritti
cca69e7012
Remove obsolete sugar.graphics.color.
2007-07-31 14:05:14 +02:00
Dan Williams
37e8a2ad0d
Remove buddy icons from the buddy menu
2007-07-30 23:36:14 -04:00
Tomeu Vizoso
ec6fc9bfa9
#2570 Accept correctly image drops from Record.
2007-07-30 10:28:53 +02:00
Marco Pesenti Gritti
b23b63cdd5
Split the UI part of sugarext out to his own module to avoid
...
dragging gtk inside services.
2007-07-27 20:15:31 +02:00
Marco Pesenti Gritti
3e40075a80
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-07-24 11:46:14 +02:00
Tomeu Vizoso
b886121c10
Typo.
2007-07-24 11:55:46 +02:00
Marco Pesenti Gritti
998a338afc
Adapt to icon names changes.
2007-07-24 11:45:57 +02:00
Tomeu Vizoso
6e6fd02322
#2268 Allow removing downloads from the clipboard while in progress.
2007-07-20 20:45:22 +02:00
Tomeu Vizoso
cb6d459815
Fix some temp file leaks.
2007-07-20 19:50:49 +02:00
Marco Pesenti Gritti
927c4c5d16
Fixing broken import
2007-07-18 23:27:01 +02:00
Marco Pesenti Gritti
daa95aadd7
Place palettes at cursor for free views.
2007-07-18 16:59:47 +02:00
Dan Williams
c16c07e954
Keep owner in the center in mesh view
2007-07-18 02:05:09 -04:00
Dan Williams
326126cbd7
Suppress annoying warnings about unknown activities from the PS
2007-07-18 02:04:01 -04:00
Marco Pesenti Gritti
5e655deb5a
Eben specification and the new B3 keyboard (marco)
2007-07-17 19:03:52 +02:00
Tomeu Vizoso
501022c88d
#775 Show the activity's creator colors in the donut. (Patch from Dan Winship)
2007-07-15 12:51:06 +02:00
Marco Pesenti Gritti
66ea9997cb
Do not shutdown on power button.
2007-07-15 02:14:00 +02:00
Tomeu Vizoso
1d2f84d0af
#1888 Choose the correct mime type when adding text from Write to the clipboard.
2007-07-14 13:53:49 +02:00
Tomeu Vizoso
614d9336cc
#2149 , #2150 : fixes for the clipboard palette.
2007-07-14 13:11:59 +02:00
Tomeu Vizoso
bb71cd61cf
#1888 Fix opening items from the clipboard.
2007-07-11 11:39:40 +02:00
Tomeu Vizoso
e4bce9271a
#1984 Fix removing items from the clipboard.
2007-07-10 20:35:51 +02:00
Marco Pesenti Gritti
c3c0810def
Implement tooltips for the zoom levels.
2007-07-10 15:37:04 +02:00
Marco Pesenti Gritti
6a49f11d5e
Fix broken import
2007-07-10 13:31:58 +02:00
Tomeu Vizoso
7900e6c486
#1720 : Show the owner's buddy menu in the Groups view.
2007-07-09 22:22:41 +02:00
Eduardo Silva
aa6a024368
Move code to use style instead font.py (removed)
2007-07-09 10:09:24 -04:00
Dan Williams
68e40429fb
Ignore errors when trying to display buddy pictures
2007-07-07 20:41:58 -04:00
Eduardo Silva
6ee5fca9f9
Fix battery var II, thanks to RWH
2007-07-06 16:41:14 -04:00
Eduardo Silva
9d860bd5b1
Fix battery var, thanks to RWH
2007-07-06 16:26:59 -04:00
Tomeu Vizoso
b4c8ac13f3
Some clipboard fixes.
2007-07-06 18:24:23 +02:00
Eduardo Silva
3680dcdaa9
Push frameinvoker.py
2007-07-06 11:27:19 -04:00
Eduardo Silva
ec929eb0ad
New frameinvoker
2007-07-06 10:51:18 -04:00
Marco Pesenti Gritti
922456e4d5
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-07-06 14:37:23 +02:00
Marco Pesenti Gritti
7468faa840
Implement palette groups. Use them to not popdown frame when hover a palette.
2007-07-06 14:36:59 +02:00
Eduardo Silva
27adefdcd2
Refactor battery palette methods
2007-07-06 07:38:59 -04:00
Marco Pesenti Gritti
a1b6625a6a
Fix some style nitpicks
2007-07-06 03:48:03 +02:00
Eduardo Silva
05379e85c1
Battery palette
2007-07-05 21:46:48 -04:00
Marco Pesenti Gritti
4024ef1d0b
Use a custom layout to center the icon
2007-07-06 01:14:52 +02:00
Marco Pesenti Gritti
f1ecb99207
Complete transition to new spread layout.
2007-07-06 00:46:12 +02:00
Marco Pesenti Gritti
290a053892
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-07-05 21:24:50 +02:00
Marco Pesenti Gritti
61b8811a42
Switch to the new layout manager for the mesh view
2007-07-05 21:22:37 +02:00
Eduardo Silva
90b469e6db
Add icon to buddy menu items
2007-07-05 10:56:17 -04:00
Marco Pesenti Gritti
20ea0d7bcc
Add a spread layout manager. Work in progress.
2007-07-05 13:33:29 +02:00
Marco Pesenti Gritti
91654729bf
Refactor the snowflake layout to use the new hippo layout managers.
...
Cleanup the logic.
Better test.
Make it internal.
2007-07-05 11:22:09 +02:00
Tomeu Vizoso
2164f22197
Show generic icon for objects of unknown type.
2007-07-04 20:24:35 +02:00
Tomeu Vizoso
cc2b8884c0
Be smarter when choosing one mime type from the targets offered.
2007-07-03 22:42:17 +02:00
Marco Pesenti Gritti
ddecddcb42
Remove unused methods from the activity services. Cleanups.
2007-07-03 20:55:46 +02:00
Tomeu Vizoso
6b90f192a2
Remove framepopupcontext.py.
2007-07-02 19:36:54 +02:00
Tomeu Vizoso
7191f44ff1
Add tooltips to the mesh icon in the mesh view.
2007-07-02 19:35:34 +02:00
Tomeu Vizoso
fdc97518f7
Add tooltips to APs in the mesh view.
2007-07-02 19:34:03 +02:00
Tomeu Vizoso
c314368da5
Add tooltips to APs in the mesh view.
2007-07-02 19:30:17 +02:00
Tomeu Vizoso
8849e289ba
Add tooltips to activities icons in the mesh view.
2007-07-02 19:16:52 +02:00
Marco Pesenti Gritti
ebcd104448
Restore some code which tomeu seem to have dropped by mistake.
2007-07-02 15:55:30 +02:00
Marco Pesenti Gritti
71ca9cb8bc
Cleanups
2007-07-02 15:49:29 +02:00
Marco Pesenti Gritti
41af921826
Cleanup zoom level management
2007-07-02 14:53:50 +02:00
Marco Pesenti Gritti
7024f93a43
Move the zoom levels inside the model
2007-07-02 14:34:41 +02:00
Marco Pesenti Gritti
42e67edab2
Evil tricks to not always show the XO palette at startup.
2007-07-02 12:00:05 +02:00
Tomeu Vizoso
11ac82143a
Corrected some formatting issues with imports.
2007-07-02 10:21:58 +02:00
Tomeu Vizoso
4aee850af7
Replace Menu for Palette.
2007-07-01 12:55:10 +02:00
Tomeu Vizoso
e9145f0724
Fix typo.
2007-07-01 11:54:20 +02:00
Tomeu Vizoso
84c94ecabe
Restrict palette positioning to screen height/width - 1 grid cell.
2007-07-01 11:25:35 +02:00
Marco Pesenti Gritti
1d4112a882
Set glib program name and application name.
...
Better way of importing ltihooks.
Several cleanups.
2007-06-29 22:11:28 +02:00
Marco Pesenti Gritti
d7a8c5430e
Make notification work from outside the shell process
2007-06-29 19:05:10 +02:00
Marco Pesenti Gritti
84127380dc
Get rid of bitrotten shutdown stuff
2007-06-26 15:09:03 +02:00
Marco Pesenti Gritti
3eaeebc60e
Lots of palette refactoring.
2007-06-26 14:55:16 +02:00
Marco Pesenti Gritti
f85142bdc4
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
...
Conflicts:
shell/view/home/HomeBox.py
2007-06-25 14:33:54 +02:00
Marco Pesenti Gritti
e0793ef199
Heavy refactoring of palette activation. Not fully
...
implemented yet.
2007-06-25 14:31:43 +02:00
Tomeu Vizoso
0baac89a61
Use gtk progress bar.
2007-06-25 12:49:53 +02:00
Tomeu Vizoso
811a7d8411
Implement shutdown.
2007-06-25 12:48:21 +02:00
Marco Pesenti Gritti
d92bb7a4ef
Some palette code cleanups.
2007-06-25 11:39:51 +02:00
Marco Pesenti Gritti
e3e69f42a2
Add a bunch of GPL headers
2007-06-24 15:01:30 +02:00
Marco Pesenti Gritti
8505a18652
Fix copyright year
2007-06-24 14:45:05 +02:00
Tomeu Vizoso
dfd16d155a
Add palette to XO icon in Home View.
2007-06-24 14:37:53 +02:00
Tomeu Vizoso
4c24cde923
Added/corrected some license headers.
2007-06-24 13:10:53 +02:00
Tomeu Vizoso
6af3c44893
Use xo colors in clipboard icons.
2007-06-23 20:07:25 +02:00
Tomeu Vizoso
c3da64561f
Move stock-save to document-save.
2007-06-22 14:08:14 +02:00
Tomeu Vizoso
427e9a00d7
Add extension to files that come into the clipboard without one.
2007-06-21 13:07:11 +02:00
Marco Pesenti Gritti
c91bbd18cc
Move SugarKeyGrabber in the lib. Keep it private.
...
We can't install libraries in datadir.
2007-06-20 15:22:12 +02:00
Tomeu Vizoso
1afe9273a1
Add an option for saving clipboard objects to the Journal.
2007-06-17 20:55:16 +02:00
Tomeu Vizoso
130f59efdc
Clipboard fixes.
2007-06-17 14:24:46 +02:00
Tomeu Vizoso
f0e18ba785
Support for previews in the journal.
2007-06-15 18:03:17 +02:00
Marco Pesenti Gritti
a1e3dbaf9e
Adapt to hwmanager api change
2007-06-14 17:27:24 +02:00
Marco Pesenti Gritti
0bb8704683
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-06-14 17:25:44 +02:00
Bernardo Innocenti
5c884c1435
unfreeze DCON when Sugar UI is (almost) ready to show
...
Marco Pesenti Gritti wrote:
> we need to get the hardware-manager part of this in before, otherwise we
> will traceback on startup.
Sorry, I sent the patches in reverse order. Did you get
the next one?
>> + # Unfreeze the display when it's stable
>> + get_hardware_manager().set_dcon_freeze(0)
>> +
>
> Is this actually working? You need something like:
>
> from hardware import hardwaremanager
> ....
Oh, and actually I had that part too, but I've lost this hunk
while copying them to the sandbox. That's what you get for
editing code right on the target.
Updated patch attached.
From b7bfbb7cc628afe29734557f56d92044d2d336d4 Mon Sep 17 00:00:00 2001
From: Bernardo Innocenti <bernie@codewiz.org>
Date: Wed, 13 Jun 2007 19:56:22 -0400
Subject: [PATCH] unfreeze DCON when Sugar UI is (almost) ready to show
Organization: One Laptop Per Child
This is part of a masterplan to implement #621 .
2007-06-14 17:25:28 +02:00
Tomeu Vizoso
42e2b95379
Misc dnd fixes.
2007-06-14 12:27:46 +02:00
Marco Pesenti Gritti
361b8372b6
s/get_hardware_manager/get_manager.
...
It was redundant.
2007-06-14 10:25:58 +02:00
Marco Pesenti Gritti
d3e8ddb278
Mute the channel when setting the volume to minimum.
2007-06-13 16:32:26 +02:00
Marco Pesenti Gritti
42385b069f
Set volume directly from python (requires gst-python).
...
Cleanups.
2007-06-13 16:22:49 +02:00
Marco Pesenti Gritti
705eb8119a
Always show frame on the homepage even when activating from the frame.
2007-06-13 14:39:16 +02:00
Tomeu Vizoso
7e8160871a
Fix typo.
2007-06-12 12:40:54 +02:00
Tomeu Vizoso
c9cd87b142
Percent should be 100% only when we have already added all the targets.
2007-06-07 19:49:17 +01:00
Tomeu Vizoso
340fcc271d
set_state() could be called when there are still no formats.
2007-06-07 12:07:25 +01:00
Tomeu Vizoso
a9600516fb
Take screenshot and save it to the journal (<alt>1).
2007-06-04 18:35:05 +01:00
Marco Pesenti Gritti
d4bd7a5d05
Do not index icons by activity id. Raw X windows does not have one.
2007-06-01 14:19:14 +02:00
Marco Pesenti Gritti
cd3efeba49
Fix raw X windows
2007-06-01 14:04:54 +02:00
Marco Pesenti Gritti
b1a62c2fc0
Refactor part of the Home model. Should be much
...
cleaner and reliable. If you find bugs with it
please let me know.
2007-06-01 13:38:34 +02:00
Marco Pesenti Gritti
2f6790105d
Make launching a property of the activity model
2007-06-01 11:03:18 +02:00
Marco Pesenti Gritti
38c0cf411c
Remove our custom launch timeout. The dbus timeout
...
is enough.
2007-06-01 10:24:13 +02:00
Marco Pesenti Gritti
42fef182f4
Refactor the bundle registry. Move it inside
...
the shell and expose the parts that should be
public to the shell dbus service.
2007-05-27 20:24:10 +02:00
Tomeu Vizoso
04fc7047c2
Don't autolaunch downloaded docs, this will be done from the Web activity.
2007-05-20 12:36:55 +02:00
Dan Williams
28e8b9025e
Show activity title in mesh view
2007-05-15 16:21:40 -04:00
Dan Williams
b99e149d23
Fix Friends view buddy removal
2007-05-14 13:04:59 -04:00
Dan Williams
02c99e2a0c
Handle buddy nick changes
2007-05-14 01:21:22 -04:00
Tomeu
f3289d2e59
Implement setting the journal entry title from the toolbar.
2007-05-13 18:21:35 +02:00
Tomeu Vizoso
7fbcf08242
Fix for Python 2.4 compatibility.
2007-05-05 10:59:21 +02:00
Dan Williams
e392680f3e
Log activity launch failures with error info; fix typo
2007-05-02 22:31:26 -04:00
Dan Williams
e4be6fc1ba
Fix ps buddy object usage
2007-05-02 22:30:59 -04:00
Dan Williams
587bc3be19
More verbose debug messages when starting activities
2007-05-02 22:22:02 -04:00
Dan Williams
65998a10c6
Use bundle registry correctly
2007-05-02 22:21:15 -04:00
Marco Pesenti Gritti
bc4b051af2
Some refactoring to get styles right
2007-05-01 18:26:26 +02:00
Tomeu Vizoso
b4f2016844
Launch the journal activity on startup again.
2007-04-29 21:12:35 +02:00
Dan Williams
d5d9c1fa0f
Fix activity join from mesh view
2007-04-27 17:48:35 -04: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
46d3c1b9c9
Get rid of the activity menu.
2007-04-27 11:33:18 +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
e49146752f
More work on the new graphics API.
2007-04-26 11:31:41 +02:00
Guillaume Desmottes
83b712bcb1
Fix properties bugs
2007-04-25 19:35:08 +02:00
Tomeu Vizoso
ec8bb21936
Implement installation of downloaded activities.
2007-04-20 20:12:49 +02:00
Tomeu Vizoso
d223579f22
Recognize images dropped into the clipboard as such.
2007-04-18 18:52:46 -03:00
Tomeu Vizoso
b7030a74dd
Drag images out of mozilla.
2007-04-17 16:53:34 -03:00