Commit Graph

1329 Commits

Author SHA1 Message Date
Tomeu Vizoso
88e8bba22b Accept ascii passphrases for WEP networks. 2007-09-25 19:41:42 +02:00
Marco Pesenti Gritti
4f72fd1c27 Cleanups of the frame activation code.
Do not hide the frame on clicks.
2007-09-24 23:37:26 +02:00
Marco Pesenti Gritti
0ef5c4b891 Add arrows on the homepage to hint about frame activation. 2007-09-24 22:04:45 +02:00
Marco Pesenti Gritti
a8969d776f Ship the startup sound with sugar 2007-09-24 21:16:06 +02:00
Marco Pesenti Gritti
9b68754ba5 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Conflicts:

	NEWS
2007-09-24 21:08:26 +02:00
Marco Pesenti Gritti
90bf68d0f3 Rework home box layout to fix . 2007-09-24 21:07:43 +02:00
Simon Schampijer
e3f97b042f Save state of volume when shutdown and reboot fix for 2007-09-24 18:00:36 +02:00
Marco Pesenti Gritti
0a53813064 Adapt to CanvasButton removal. 2007-09-24 17:43:04 +02:00
Marco Pesenti Gritti
9ffcbfca4d Play a startup sound if it exists. 2007-09-22 14:49:21 +02:00
Benjamin Berg
d8a5fed0e0 Merge branch 'master' of git://dev.laptop.org/sugar 2007-09-22 12:42:34 +02:00
Benjamin Berg
d1463ca479 Destroy the clipboard menu download progress bar instead of just hiding it. 2007-09-22 12:21:52 +02:00
Marco Pesenti Gritti
478b31a49e Default order for activities in the frame. 2007-09-22 03:37:31 +02:00
Dan Winship
070d7a6dfc Merge branch 'master' of git+ssh://danw@dev.laptop.org/git/sugar 2007-09-20 15:56:28 -04:00
Marco Pesenti Gritti
c4ac2f47fd Drop obsolete widget 2007-09-20 21:04:36 +02:00
Dan Winship
f377d6e519 Redo activity bundles in terms of sugar.bundle.bundle 2007-09-20 12:20:21 -04:00
Marco Pesenti Gritti
c74276dcdb Always remove invites from the frame
Conflicts:

	NEWS
2007-09-19 19:20:40 +02:00
Marco Pesenti Gritti
2ec098f401 Ticket 2567 Don't always show the frame on the mesh view. 2007-09-18 22:50:11 +02:00
Simon Schampijer
53f1265252 Handle the passing of the child of the toolitem to the WidgetInvoker in ToolInvoker, FrameWidgetInvoker 2007-09-18 14:24:16 +02:00
Marco Pesenti Gritti
0b9eb71046 Typo 2007-09-18 13:57:47 +02:00
Marco Pesenti Gritti
2536f51570 Use nick name consistently in the profile 2007-09-17 16:28:21 +02:00
Marco Pesenti Gritti
ed22733941 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-09-17 15:15:52 +02:00
Marco Pesenti Gritti
70723aff7a Remove the friend from the mapping dict. 2007-09-17 15:15:36 +02:00
Guillaume Desmottes
d21e4c7cee Remove invite when the activiy disappear from the mesh. () 2007-09-17 14:03:15 +02:00
Marco Pesenti Gritti
30edb542b1 Cleanup the profile code and rename the Server section to Jabber. 2007-09-17 13:53:10 +02:00
Marco Pesenti Gritti
ecb8816bc9 Add XdndDirectSave support to the clipboard.
I think it could be a little cleaner, but it would
require refactoring, we can do that post Trial-3.
Also we might have to figure out a way to get
file saving progress feedback at some point.
2007-09-17 02:39:02 +02:00
Marco Pesenti Gritti
4e18357902 Ignore double desktop switching notifications. 2007-09-14 13:58:59 +02:00
Dan Winship
8b3e0196b7 fix a bug that broke the activity ring 2007-09-13 13:32:51 -04:00
Marco Pesenti Gritti
6b04dca40e Raise the event area on window stack changes rather
than on activate. I think activate is called only
when there is a focus change.
2007-09-13 12:30:37 +02:00
Tomeu Vizoso
6cb7c774dd Don't disable the clipboard icons when they are still incomplete. 2007-09-12 20:29:20 +02:00
Marco Pesenti Gritti
bf1aea368f Fix snowflake layout 2007-09-12 18:50:55 +02:00
Marco Pesenti Gritti
8aa31a6095 Make the sizes of mesh icons match Eben spec. 2007-09-12 18:01:21 +02:00
Michael Stone
a7b0e02aea Fixes to broken Rainbow calls in Shell service. 2007-09-11 12:39:42 -04:00
Marco Pesenti Gritti
88d196d089 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-09-11 17:54:46 +02:00
Marco Pesenti Gritti
fdb9c57e65 Handle invitations inside Activity. 2007-09-11 17:53:27 +02:00
Dan Winship
8a733eea5d redo the smaps-parsing code to be a little more efficient. part of 2007-09-11 11:42:22 -04:00
Dan Winship
59708891e8 avoid redrawing the activity ring twice in a row. part of 2007-09-11 11:41:59 -04:00
Simon Schampijer
6ff3486f42 Removed the keyboard brightness listener on keycode 236, fix for 2007-09-11 12:42:20 +02:00
Guillaume Desmottes
297d107ee2 Update libwnck "active-window-changed" callback due to API changes 2007-09-11 11:02:07 +02:00
Marco Pesenti Gritti
d1b5fb8dc5 Handle activating windows which are transient to the activity. 2007-09-10 11:12:05 +02:00
Dan Williams
a1f5cece18 Fix traceback on mesh disconnect command 2007-09-09 01:19:06 -04:00
Dan Williams
6b6470ebcb * , , , : Rework network UI bits to be more informative and
increase granularity of mesh device control
2007-09-09 00:02:26 -04:00
Marco Pesenti Gritti
ae1a07aee8 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-09-09 00:13:11 +02:00
Tomeu Vizoso
d19472930d Some clipboard fixes. 2007-09-08 15:59:13 +02:00
Marco Pesenti Gritti
34e9d30a9c Improved icon caching logic 2007-09-08 12:10:35 +02:00
Simon Schampijer
5766522f53 Fix for removing activity from donut when not the active and the last one 2007-09-07 17:39:42 +02:00
Simon Schampijer
553709c869 Fix when item is removed from clipboard tray 2007-09-07 11:26:11 +02:00
Simon Schampijer
7f8b000a92 Fixed XO icon of owner in group view 2007-09-06 22:43:03 +02:00
Tomeu Vizoso
2d9d6cf25c Also catch the deprecated mime type for bundles. 2007-09-06 11:33:16 +02:00
Dan Williams
6a2ce2b941 Add conversion functions for channel<->frequency 2007-09-05 16:32:24 -04:00
Dan Williams
ee9a6005c3 Make AP icons a bit larger 2007-09-05 11:41:39 -04:00
Simon Schampijer
5bd85906f2 (next='Return', back='Escape') 2007-09-04 23:24:15 +02:00
Simon Schampijer
4aace42d6d Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-09-03 23:28:59 +02:00
Simon Schampijer
6c43e80c45 Adopt naming to functionality changes 2007-09-03 23:28:49 +02:00
Marco Pesenti Gritti
0b3f687749 Fix distcheck 2007-09-03 21:05:45 +02:00
Marco Pesenti Gritti
a2a9cd2f70 Unfreeze dcon on idle. 2007-09-03 15:10:12 +02:00
Marco Pesenti Gritti
a09a786ff7 Use Tray also for the frame friends view.
Drop the deprecated IconButton.
2007-09-03 01:48:03 +02:00
Marco Pesenti Gritti
8a2cb49ffb Use a toolbar for zoom icons 2007-09-03 00:20:53 +02:00
Dan Williams
739b9160b1 Refactor activity share/join in Activity.__init__() to be clearer and cover all cases
Remove the 'pservice_id' attribute of the ActivityHandle too, since it was
completely pointless and should have been the same as the activity id anyway.
Share/join is handled in the Activity.__init__() method and the shell doesn't
really need to know about it at all.
2007-09-01 13:07:49 -04:00
Simon Schampijer
a4637bfefa Adopted the friendsbox to the palette positioning improvements. 2007-09-01 18:12:44 +02:00
Marco Pesenti Gritti
8a9bc3b702 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-09-01 11:59:41 +02:00
Marco Pesenti Gritti
8a3c2a5843 More palette positioning improvements. 2007-09-01 11:59:16 +02:00
Tomeu Vizoso
ecbbcb0026 Don't allow removing system-installed activities. 2007-08-31 20:37:44 +02:00
Dan Williams
00ec48f214 Make AP icons small size 2007-08-31 11:46:03 -04:00
Dan Williams
f4c7e03c34 Fix traceback showing wireless networks 2007-08-31 11:32:54 -04:00
Tomeu Vizoso
3dc8505ec5 : Fix issues with the clipboard icons and palettes. 2007-08-31 14:53:59 +02:00
Marco Pesenti Gritti
bd9bd2d020 Keep the invite menu item synced with current activity. 2007-08-31 13:56:58 +02:00
Marco Pesenti Gritti
457a1eaf3b Get invites back to work in the UI. 2007-08-31 13:43:31 +02:00
Marco Pesenti Gritti
0d4d74b94f Hookup the new invites implementation. Need to fix
the frame view since that's bitrotten.
2007-08-31 12:43:10 +02:00
Marco Pesenti Gritti
560a914997 Make Activity update the presence service activity
name and listen to the name changes in the mesh view.
2007-08-31 11:37:42 +02:00
Dan Williams
17c48f2d25 Add badges to infrastructure access points in mesh view 2007-08-30 02:40:26 -04:00
Dan Williams
96df28dcaf Don't traceback on systems without the right NM 2007-08-30 02:13:39 -04:00
Dan Williams
f90b929fd9 remove redundant code 2007-08-30 02:06:26 -04:00
Dan Williams
82a869fbbf Add palette to Wireless device on Home view showing channel too
Convert the tooltip to a palette and show the wireless
channel in the palette.
2007-08-30 02:01:12 -04:00
Marco Pesenti Gritti
722b9d01e7 Add/use a frame widget invoker. 2007-08-29 17:01:37 +02:00
Marco Pesenti Gritti
c21e2b56e4 Revert accidentally committed debug code. 2007-08-29 14:08:46 +02:00
Marco Pesenti Gritti
46b3b96e96 Make remove_item take an item instead of an index. 2007-08-29 14:08:12 +02:00
Marco Pesenti Gritti
710f3eba00 Tray size allocation fixes. 2007-08-29 14:04:46 +02:00
Tomeu Vizoso
94d624e26c Some more icon fixes. 2007-08-28 21:25:04 +02:00
Tomeu Vizoso
0dbb456a5a Revert "Some more icon fixes." Wrong fix.
This reverts commit e97c11f765.
2007-08-28 21:20:32 +02:00
Tomeu Vizoso
e97c11f765 Some more icon fixes. 2007-08-28 21:15:47 +02:00
Guillaume Desmottes
7118cb59bc rename TP_DEBUG to SUGAR_TP_DEBUG and make it works with Salut 2007-08-28 20:05:54 +02:00
Simon Schampijer
c30bb01b0e Usage of the tray widget to display activity icons
ActivitiesBox patch for ticket .
2007-08-28 14:15:51 +02:00
Eduardo Silva
44d2bb6ffb Add Reboot option to Home View 2007-08-27 18:12:19 -04:00
John (J5) Palmieri
246ec1e4aa Fix typo 2007-08-27 17:01:02 -04:00
John (J5) Palmieri
f5f95f4d7b Merge branch 'master' of git+ssh://j5@dev.laptop.org/git/sugar 2007-08-27 15:51:55 -04:00
John (J5) Palmieri
c06d639487 Make D-Bus calls async on startup 2007-08-27 15:47:58 -04:00
Marco Pesenti Gritti
294a5231b9 2647, if security is enabled let rainbow launch activities.
Also notify rainbow when active activity changes.
Patch by Ashsong, had to merge it manually.
2007-08-27 18:25:45 +02:00
Tomeu Vizoso
40ddf94457 Some more icon fixes. 2007-08-27 16:26:57 +02:00
Tomeu Vizoso
53d1ada429 One more icon fix. 2007-08-27 15:58:53 +02:00
Marco Pesenti Gritti
42d0085b0b Use xo color for mesh and battery devices. 2007-08-27 12:18:30 +02:00
Tomeu Vizoso
405dafc908 Adapt to changes in the icon API. 2007-08-26 20:44:51 +02:00
Tomeu Vizoso
be99aa6dcf Fix typos in activitiesdonut.py 2007-08-26 16:14:29 +02:00
Marco Pesenti Gritti
ba4f68ef58 Cache the donut animation. 2007-08-26 14:45:59 +02:00
Marco Pesenti Gritti
98157bbccb Make CanvasIcon use IconBuffer. Change the API to use
a separate property for icon_name and file_name.
2007-08-26 14:16:09 +02:00
Marco Pesenti Gritti
f1d588452e Reorganize canvas items. 2007-08-25 13:15:28 +02:00
Dan Winship
ebe2b4765e Fix up the activity ring drawing to be more accurate and stable.
TODO: move some of this code into shell/model rather than shell/view
2007-08-24 10:28:33 -04:00
Dan Winship
60cd7111c0 Use badge-charging on battery icon when charging. 2007-08-24 09:07:28 -04:00
Dan Winship
10dc80c8be Add icons to the activity ring palette. Part of 2007-08-21 15:39:05 -04:00
Tomeu Vizoso
544a400afc Updated to use application/vnd.olpc-sugar instead of application/vnd.olpc-x-sugar. 2007-08-21 16:59:32 +02:00
Tomeu Vizoso
3df75e4c6e Renamed XO icon from xo to computer-xo. 2007-08-21 16:54:36 +02:00
Dan Williams
cc8b8de690 Fix up syntax errors in sugar-shell 2007-08-20 16:41:21 -04:00
Dan Williams
5aa63fdb9e Fix missing : after function declaration 2007-08-20 16:11:07 -04:00
John (J5) Palmieri
b24a28a77d make sugar shell easier to profile startup times 2007-08-20 15:02:58 -04:00
Marco Pesenti Gritti
1c06a44a7d Use CamelCase for the activity service methods. 2007-08-20 15:18:46 +02:00
Marco Pesenti Gritti
1ba5cddaa3 Use CamelCase for dbus methods. 2007-08-20 15:15:44 +02:00
Marco Pesenti Gritti
33094dfa50 * : 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 : 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 : 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. 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
Tomeu Vizoso
fa8bcd2ba5 Move the activity register to the clipboard service. 2007-08-08 18:08:07 +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.
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. 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 )
2007-08-06 09:25:42 -04:00
Dan Winship
88401d31b4 Make activity ring wedges represent approximate size of the activity. 2007-08-03 11:31:21 -04:00
Dan Winship
f52e55381a Make the whole wedge in the activity ring clickable. 2007-08-02 14:14:21 -04:00
Dan Williams
d22f00d894 Don't set a server by default outside the emulator 2007-08-01 14:22:11 -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
Dan Williams
782d603f0b Remove useless debugging code 2007-07-30 23:30:00 -04:00
Dan Williams
dbe8a6eeff Fix traceback when reading in saved WPA2 network configs 2007-07-30 14:46:40 -04:00
Marco Pesenti Gritti
e2beb5b566 Start intro if config is absent or corrupted.
Cleanups.
2007-07-30 15:34:02 +02:00
Marco Pesenti Gritti
377fdbe9b6 Enter -> next in the intro screen name page. 2007-07-30 12:59:50 +02:00
Tomeu Vizoso
ec6fc9bfa9 Accept correctly image drops from Record. 2007-07-30 10:28:53 +02:00
Dan Williams
1dbd57fdf2 Add WPA and WEP auth mode support 2007-07-29 00:19:59 -04:00
Marco Pesenti Gritti
13a91a26e1 Make raw X windows work again. 2007-07-29 00:17:45 +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
Dan Winship
1e5cc3f347 x86_64 fix: don't use sys.maxint (which is really maxlong) for int gproperties 2007-07-26 13:27:26 -04: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