Commit Graph

232 Commits

Author SHA1 Message Date
Tomeu Vizoso
c79bc15f5f #8394 Destroy the palette when the invoker is dettached 2008-09-10 18:05:53 +02:00
Tomeu Vizoso
0cf0cacbd0 Avoid access to private member 2008-09-10 18:04:15 +02:00
Tomeu Vizoso
865c234a1e Revert "Avoid access to private member."
This reverts commit 8301b9269a.
2008-09-10 17:54:45 +02:00
Simon Schampijer
2e41124c87 Remove "dynamic" font height computation #8392 (marco) 2008-09-10 12:36:27 +02:00
Simon Schampijer
1d29440bfd bundlebuilder: fix the release command 2008-09-09 17:41:42 +02:00
Marco Pesenti Gritti
866f26aced Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar-toolkit 2008-09-08 09:13:33 +02:00
Marco Pesenti Gritti
3f78abb8c2 Keep compatibility with the private shared_activity 2008-09-08 01:30:20 +02:00
Marco Pesenti Gritti
3d9f3eca67 Disable the few remaining pylint messages 2008-09-07 23:57:27 +02:00
Marco Pesenti Gritti
b307237dbf Make shared_activity public. 2008-09-07 22:07:49 +02:00
Marco Pesenti Gritti
8301b9269a Avoid access to private member. 2008-09-07 22:01:27 +02:00
Marco Pesenti Gritti
549ace8c11 More cleanups to make pylint happy. 2008-09-07 21:51:10 +02:00
Marco Pesenti Gritti
ebcf1f6988 Get rid of the custom _hide/_show and just use the widget
methods. Related cleanups.
2008-09-07 21:18:27 +02:00
Simon Schampijer
9041e4db0e Fix pylint for bundlebuilder 2008-08-31 21:35:37 +02:00
Simon Schampijer
783ec6734c Merge branch 'master' of ssh+git://dev.laptop.org/git/sugar-toolkit 2008-08-31 21:33:55 +02:00
Simon Schampijer
e7a10be1d4 Do a more "standard" system installation for bundlebuilder
- setup.py install takes a --prefix option and no arguments.
- mo files are installed in /usr/share/locale.
- po files are not installed
- 8136 (marco)
2008-08-31 21:33:39 +02:00
Marco Pesenti Gritti
6e503b0a24 Ensure that the widget is fully onscreen before taking a screenshot.
Otherwise X emits a BadMatch and gtk kills the process (!).
Fix #8220
2008-08-31 14:40:03 +02:00
Marco Pesenti Gritti
938e2e9648 Do not try to list the mimetypes directory if it does not exist.
Fix #7837
2008-08-31 14:36:13 +02:00
Marco Pesenti Gritti
9f88241ff5 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar-toolkit 2008-08-27 14:54:10 +02:00
Marco Pesenti Gritti
98460fb2e2 Fix pylint complain 2008-08-27 14:53:59 +02:00
Simon Schampijer
dd031b4d83 Set the env var SUGAR_BUNDLE_VERSION #5428 (marco) 2008-08-27 12:00:50 +02:00
Marco Pesenti Gritti
453e08c8d7 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar-toolkit 2008-08-27 11:05:19 +02:00
Marco Pesenti Gritti
b2ce8b030f Factor out sugar-activity code to the toolkit. 2008-08-27 11:04:54 +02:00
Simon Schampijer
c639e7291a Remove the set_size_request for the alert message
This gave problems on the xo - part of #7841
2008-08-25 14:09:52 +02:00
Benjamin Berg
927ae13aec Merge branch 'master' of git+ssh://benzea@dev.laptop.org/git/sugar-toolkit 2008-08-24 14:33:58 +02:00
Benjamin Berg
3d3e453157 Change the API of the keygrabber so only one gdk_sync is neccessary. (ticket #7999) 2008-08-24 14:31:46 +02:00
Tomeu Vizoso
7090e73c09 Revert "#8000 Only repaint the area needed (rlucchese)"
The bounds calculation won't be always correct.

This reverts commit 3bb9f47461.
2008-08-22 19:07:34 +02:00
Simon Schampijer
f29b67b032 Add update functionality to Config in bundlebuilder #7270 (marco)
This is needed by the release command to update the
bundle number
2008-08-22 15:16:30 +02:00
Marco Pesenti Gritti
f55e531f42 Warn about files missing from the MANIFEST. 2008-08-22 15:04:36 +02:00
Tomeu Vizoso
3bb9f47461 #8000 Only repaint the area needed (rlucchese) 2008-08-22 14:50:32 +02:00
Tomeu Vizoso
1f6dae2360 #7959 cache translations in util.py (rlucchese) 2008-08-22 14:33:38 +02:00
C. Scott Ananian
1bd1b6c81e Trac #7733: fix severe performance regression when creating ActivityBundle. 2008-08-19 15:46:36 -04:00
Tomeu Vizoso
5ba227ff85 #7533 ToolButton should accept activation via accelerators regardless of its state 2008-08-18 21:36:23 +02:00
Eben Eliason
a73cbc351d Merge branch 'master' of git://dev.laptop.org/sugar-toolkit 2008-08-15 05:32:14 -04:00
Simon Schampijer
ba850d5787 Wrap message in alert needed for 7841 2008-08-14 21:31:42 +02:00
Marco Pesenti Gritti
bd264577e7 Make Palette handle changes of the invoker widget. Fix #7881 2008-08-14 15:12:57 +02:00
Marco Pesenti Gritti
5cf5e91d69 pylint fix 2008-08-13 14:28:40 +02:00
Marco Pesenti Gritti
9a827ead86 Enable maximum warnings.
A bunch of compile fixes.
2008-08-12 01:53:28 +02:00
Marco Pesenti Gritti
b4aeb6038d Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar-toolkit 2008-08-11 18:36:37 +02:00
Marco Pesenti Gritti
8afa8c77d2 Add missing get_type declaration 2008-08-11 18:35:34 +02:00
Khaled Hosny
4114ef699d Fix gettext invocation, and set text domain (fixes #7800) 2008-08-11 20:14:37 +05:30
Marco Pesenti Gritti
c563543dea More pylint fixes 2008-08-11 01:20:08 +02:00
Marco Pesenti Gritti
204e4f233a Port a few widgets to use new style properties. 2008-08-11 01:10:02 +02:00
Marco Pesenti Gritti
80190bf944 Several pylint fixes. 2008-08-11 00:50:29 +02:00
Marco Pesenti Gritti
4c35d77854 Drop more obsolete xmlrpc code 2008-08-11 00:22:17 +02:00
Marco Pesenti Gritti
04750e69d3 Drop broken, unused code 2008-08-11 00:18:04 +02:00
Marco Pesenti Gritti
1878c9f369 Pylint cleanups. 2008-08-11 00:00:55 +02:00
Eben Eliason
ac6cea0d44 Widen activity tile entry (#7680) 2008-08-07 22:54:15 -04:00
Marco Pesenti Gritti
0d6b2072c1 Handle multiple Activity per process correctly.
Fix #7754
2008-08-06 23:04:00 +02:00
Martin Dengler
8696e2ad1d #7759 Default home view should be ring
This is bobby's patch to #7759 changing the default home view to ring.

|TestCase|

Remove the "[Layout]" section from ~olpc/.sugar/default/config, or rm
-rf ~olpc/.sugar, or reflash.  Start sugar.  Verify the initial Home
layout is the Ring layout.
2008-08-04 12:56:26 +01:00
Benjamin Berg
a35a07f832 Put palettes into the "default" palettegroup by default again. (fix #4084) 2008-08-01 23:54:38 +02:00
Simon Schampijer
e1bd64439c Add git tagging to the 'setup.py release' command
added as well better error handling
2008-08-01 11:36:51 +02:00
Marco Pesenti Gritti
1672f410f3 Screwed up badly when changing gnome-session main_quit
to a signal. Argh.
2008-07-28 20:51:26 +02:00
Marco Pesenti Gritti
00c8a5897b Keep going even if the disk is full. Patch by cscott.
Fix #7587
2008-07-25 14:07:48 +02:00
Marco Pesenti Gritti
71f865da3f Shutdown the xsmp server. #7566 2008-07-24 15:08:51 +02:00
Jameson Quinn
48597a672f bug #7534: need_upgrade should always be True 2008-07-23 09:55:42 -06:00
Jameson Quinn
62af4ae9bb bug #7494 - uninstall from location, not future location 2008-07-23 07:09:49 -06:00
Simon Schampijer
564e6eb28d Zoom in activity when save error occurs #5136 2008-07-21 19:27:26 +02:00
Simon Schampijer
2905360178 Merge branch 'master' of git://dev.laptop.org/sugar-toolkit 2008-07-21 19:20:31 +02:00
Simon Schampijer
7fc7b39f14 Shutdown/Rebbot syncs activities data #6014 (marco) 2008-07-21 19:20:22 +02:00
Daniel Drake
02d3799b54 #7532 install + open content bundles through journal 2008-07-21 09:01:23 -04:00
chema
756b9309e8 7205: bundlebuilder accepts old "dist" cmd, checks for po dir 2008-07-19 15:54:54 +02:00
Daniel Drake
cc8e682ab0 #7523 library regeneration fails as XDG_DATA_DIRS is unset
The XDG specs say that a default value should be used if it is not set
2008-07-16 10:36:09 -04:00
Daniel Drake
d17347cc19 #7523 fix content bundle installation 2008-07-15 11:42:56 -04:00
Guillaume Desmottes
6a78863c22 Merge branch 'master' of git+ssh://guillaume@dev.laptop.org/git/sugar-toolkit into 5079-rebased 2008-07-14 18:42:58 +02:00
Martin Dengler
6a41396dd2 #4208 get_icon_state accepts negative step kwarg 2008-07-14 16:01:11 +01:00
Morgan Collett
1659332c81 #7444 Fix crash in get_joined_buddies when a buddy disappears uncleanly 2008-07-10 15:20:50 +02:00
Tomeu Vizoso
92ef9d298a #7430 Preserve the favorites layout across reboots 2008-07-09 13:43:49 +02:00
Chris Ball
176ed18699 #7434 Add Power control panel section profile code. 2008-07-08 19:45:32 -04:00
Tomeu Vizoso
ab8c054dfb #7015 Add proper alignment support to the "tray" control 2008-07-04 15:49:33 +02:00
Tomeu Vizoso
7c5fa614a6 #7054 Set activity initiator's colors in the journal entry 2008-07-03 12:30:33 +02:00
Tomeu Vizoso
73fe1e9837 #7046: Fix removal of activities 2008-07-03 12:27:28 +02:00
Guillaume Desmottes
5c40a70e5e Simplify sharing code using new PS API (import the patch attached to #5079) 2008-07-02 14:31:47 +02:00
Eben Eliason
0793312280 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar-toolkit 2008-06-27 10:51:49 -04:00
Eben Eliason
9dd0c93c69 Color the keep icon (#3939) 2008-06-25 13:40:37 -04:00
Tomeu Vizoso
1b1080e505 xo_color property is not a string 2008-06-25 16:20:51 +02:00
Sayamindu Dasgupta
710f30196a Change the GETTEXT_PACKAGE domain to sugar-toolkit 2008-06-23 23:51:58 +05:30
Martin Dengler
1403f7d26d get_icon_name() now takes step kwarg for #7248.1 2008-06-23 14:34:51 +01:00
Benjamin Berg
31047c1edd Merge branch 'master' of git+ssh://benzea@dev.laptop.org/git/sugar-toolkit 2008-06-20 16:57:05 +02:00
Benjamin Berg
bb3a3d4c63 Add scroll_to_item functions to the trays to show a button that may be hidden. 2008-06-20 14:46:27 +02:00
Benjamin Berg
b781b70107 Add is_modifier and is_special_modifier functions to SugarKeyGrabber. 2008-06-20 14:46:09 +02:00
Tomeu Vizoso
b71bf4476c Make xo_color, named_icon and group properties instead of constructor args 2008-06-20 12:27:48 +02:00
Tomeu Vizoso
039206f194 Add a position attribute to registered activity bundles. 2008-06-20 12:27:41 +02:00
Eben Eliason
3e86ce8b89 Fix undefined bundle_top_dir reference 2008-06-13 16:29:51 -04:00
Marco Pesenti Gritti
3f4a809b80 Generate the MANIFEST automatically if it doesn't exit. I'm
not sure if we want to keep doing that, but it's necessary at
the moment to keep stuff working.
2008-06-13 17:41:16 +02:00
Marco Pesenti Gritti
4762897239 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar-toolkit 2008-06-13 17:09:44 +02:00
Marco Pesenti Gritti
40df2f53bb Get rid of address/title handling. Moved in web-activity. 2008-06-13 17:09:29 +02:00
Guillaume Desmottes
d71635781f PrivateInvitation now have a channel type arg 2008-06-13 16:43:26 +02:00
Marco Pesenti Gritti
cfdc17d6c9 Patch by Jameson Chema Quinn.
Readability cleanups and little fixes by me.

use MANIFEST. Deprecate bundle_name. fix_manifest().
bundlebuilder.config() cleanup.
2008-06-13 12:37:45 +02:00
Marco Pesenti Gritti
9de8746df1 Remove a leftover debug print and fix a typo. 2008-06-10 23:45:24 +02:00
Marco Pesenti Gritti
ffc7382084 Prefix the session server stuff with gsm, makes things a lot less confusing. 2008-06-06 21:39:50 +02:00
Marco Pesenti Gritti
dc8841b5ba s/Session/SessionManager by tomeu suggestion 2008-06-06 20:13:27 +02:00
Marco Pesenti Gritti
8f2bcf433c Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar-toolkit 2008-06-06 19:16:23 +02:00
Marco Pesenti Gritti
50f79e6323 First go at session management. Not asking review since
it's a bunch of ugly C code imported from gnome-session.
Will clean it up a bit but I don't plan to make it too shiny :)
2008-06-06 19:13:10 +02:00
Tomeu Vizoso
cd363bf078 Correct comment. 2008-06-06 13:15:44 +02:00
Marco Pesenti Gritti
285509c8c9 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar-toolkit 2008-06-05 13:39:04 +02:00
Marco Pesenti Gritti
7302690aa1 Actually compress the source tarball. 2008-06-05 13:38:38 +02:00
Simon Schampijer
a935d5af97 initialize right_click_invoker_hid in palette 2008-06-05 10:31:30 +02:00
Simon Schampijer
cc7ce17eb7 Fix the setup.py dev 2008-06-04 22:26:40 +02:00
Simon Schampijer
4bdddfd20d Add control panel items to profile
- timezone
- hot_corners
- warm_edges
2008-06-04 18:53:39 +02:00
Tomeu Vizoso
f613532b09 Attach palette to parent when no widget is given. 2008-06-03 13:04:09 +02:00
Tomeu Vizoso
8194c5f164 Fix typo 2008-05-30 17:32:11 +02:00
Tomeu Vizoso
ea8cbac94e Detach the invoker instead of destroying the palette. 2008-05-30 14:18:10 +02:00
chema
e459206438 Enable journal to do open-with for activity bundles. 2008-05-27 22:14:56 +02:00
Marco Pesenti Gritti
73dc65b259 Style nitpicks. 2008-05-27 21:09:16 +02:00
Marco Pesenti Gritti
56ad8d8231 Merge branch 'master' of git://dev.laptop.org/users/marco/sugar-toolkit 2008-05-27 21:07:12 +02:00
Simon Schampijer
7d40d1d74d Adopt to name change of log activity
adopt to name change that log activity keeps on running outside of rainbow
2008-05-26 15:07:20 +02:00
Marco Pesenti Gritti
c4bb55c84d Several bugfixes and cleanups 2008-05-26 01:25:28 +02:00
Marco Pesenti Gritti
bedb64a982 Change the logic for file inclusion. We include everything
by default except generated dirs (and well known files like
.gitignore). I'm planning to add support for generated dirs
using make, which will hopefully take care of the rest.
2008-05-26 00:24:31 +02:00
Marco Pesenti Gritti
3b1e1aa4ed Some fixes. Do not use get_files_list to generate the .pot, just enumerate python files. 2008-05-25 23:02:22 +02:00
Marco Pesenti Gritti
96c0b34514 Abstract Packager class which takes care of listing the files. 2008-05-25 22:53:46 +02:00
Marco Pesenti Gritti
95b7098120 Split the packaging code out to XOPackager 2008-05-25 22:47:34 +02:00
Marco Pesenti Gritti
d06bf05287 Split the build out from the command to a Builder object. 2008-05-25 22:36:56 +02:00
Marco Pesenti Gritti
ea18782bea Separate helpers from the commands. 2008-05-25 21:52:31 +02:00
Marco Pesenti Gritti
211c5ae1c4 Move genl10n inside the build step. 2008-05-25 21:51:14 +02:00
Marco Pesenti Gritti
3313d78429 Simplify install a bit, remove uninstall. 2008-05-25 21:47:32 +02:00
Marco Pesenti Gritti
9eaa51edbb Drop the useless clean command. 2008-05-25 21:33:52 +02:00
Marco Pesenti Gritti
e7a32c97c9 Move several get_ functions into Config. 2008-05-25 21:32:24 +02:00
Marco Pesenti Gritti
f041088ab7 Make commands invocation generic. 2008-05-25 21:10:22 +02:00
Marco Pesenti Gritti
b40f4f7d91 Pass a Config class to the commands. 2008-05-25 20:51:40 +02:00
Tomeu Vizoso
3700e8299c Disconnect button release signals on detach. 2008-05-24 19:41:47 +02:00
Tomeu Vizoso
976abfc0b7 Reveal palettes on right-click (Eben)
This immediately reveals the full palette for an
object when it is right clicked. A future change should
be made to require explicit dismissal (option chosen,
click outside, escape) when one is explicitly invoked.
2008-05-24 19:34:03 +02:00
Tomeu Vizoso
bfca9c61b8 Fix style issue (Simon) 2008-05-24 18:11:50 +02:00
Tomeu Vizoso
708a62c06f Move timestamp_to_elapsed_string to sugar.util and add ActivityBundle.installation_time 2008-05-24 18:07:51 +02:00
Marco Pesenti Gritti
f4bda5eb22 Allow to attach the invoker to the widget after construction,
so that gproperties to constructor can be implemented correctly.
2008-05-24 12:34:46 +02:00
Marco Pesenti Gritti
6dcc35bc17 Release 0.81.2.
Missing import in toggletoolbutton.
2008-05-24 00:14:42 +02:00
Marco Pesenti Gritti
179e4288fe By default include all the files in the directory,
except a few which we know are not useful or
autogenerated. Hack for 0.81.1, we really need to
rewrite bundlebuilder.
2008-05-23 23:25:58 +02:00
Marco Pesenti Gritti
ce235e7405 Finish to hook up the new palette stuff. 2008-05-23 18:00:47 +02:00
Marco Pesenti Gritti
bbd3404310 Hookup the new palette creation in the toolbuttons. 2008-05-23 17:37:04 +02:00
Marco Pesenti Gritti
685a9e3462 Move palette creation logic inside the invoker. 2008-05-23 17:26:15 +02:00
Marco Pesenti Gritti
c5b8697d37 Convert to use new gobject properties 2008-05-23 17:05:40 +02:00
Morgan Collett
4db051f402 6473: Better method for resolving handles to buddies 2008-05-15 13:20:48 +02:00
Marco Pesenti Gritti
72c2a1d770 Use a src directory consistently with base and shell. 2008-04-29 14:58:34 +02:00