Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Rework how we select the Xcursor themeDaniel Narvaez2013-01-221-2/+0
| | | | | | | | | | | | | | | | | Metacity reads the default theme from gsettings and we were trying to override it at lower level, causing race conditions. Now we are just setting the cursor-theme gsetting, so that metacity setup the Sugar theme for us. Distributions which are shipping both GNOME and Sugar should make sure to set XDG_CONFIG_HOME for either of the desktops to point to a non default location, so that the settings are not conflicting. It's necessary in this case if you don't want to get the Sugar cursors in GNOME, but it seems like a sane approach in general. We are sharing several components with GNOME which are (or might in the future) use GNOME gsettings. Acked-by: Simon Schampijer <simon@laptop.org>
* Move metacity invocation into the python codeDaniel Narvaez2013-01-221-1/+0
| | | | | | | | | | So that the sugar script only setup environment variables and all the rest is in main.py. This avoids the confusion about putting stuff in the one or the other script. Ideally we would get rid of the bash script completely, but it would not be possible to source the debug and i18n files from python. Acked-by: Simon Schampijer <simon@laptop.org>
* Remove unused command line optionsDaniel Narvaez2013-01-221-31/+0
| | | | | | | | | They seems to have been added for sugar-emulator, which is not using them anymore. It seems unlikely anyone will run the sugar script directly from the command line, and anyway it's just about setting environment variables. Acked-by: Simon Schampijer <simon@laptop.org>
* Remove now unnecessary path tweakingDaniel Narvaez2013-01-221-3/+0
| | | | | | | On fedora 17, where wpa_passphrase is installed in /usr/sbin, the directory is now also on the path. Acked-by: Simon Schampijer <simon@laptop.org>
* Move the sugar-session code inside jarabeDaniel Narvaez2013-01-223-355/+2
| | | | | | | | | It's quite unexpected to find a large amount of code outside the package. Also it's not really much of a "session", it starts a couple of other processes maybe, but it mostly setups stuff and initialize the UI. Acked-by: Simon Schampijer <simon@laptop.org>
* Env variables for mime and activities defaultsDaniel Narvaez2013-01-221-0/+10
| | | | | | | | | | | These are necessary for unit tests because we cannot assume they are installed in the system. Also config.py is not generated inside the jarabe package directory when building out-of-source, so trying to import it fails They might be used for customization too. Acked-by: Simon Schampijer <simon@laptop.org>
* Always use the gtk3 toolkit in sugar-sessionDaniel Narvaez2012-11-131-2/+2
| | | | | Signed-off-by: Daniel Narvaez <dwnarvaez@gmail.com> Acked-by: Simon Schampijer <simon@laptop.org>
* Listen on a IntroWindow done signal instead of blockingDaniel Narvaez2012-11-061-16/+22
| | | | | | | | | | Creating multiple non-nested mainloops in gtk 3.6 breaks at least accessibility. See https://bugzilla.gnome.org/show_bug.cgi?id=685453 Signed-off-by: Daniel Narvaez <dwnarvaez@gmail.com> Acked-by: Simon Schampijer <simon@laptop.org>
* Move IntroWindow creation to sugar-sessionDaniel Narvaez2012-11-061-1/+6
| | | | | | | | | | | It avoids the unexpected side effect (showing the intro UI implicityly when we are just checking the profile existence). It also prepares for listening to an IntroWindow done signal instead of blocking in a mainloop. Signed-off-by: Daniel Narvaez <dwnarvaez@gmail.com> Acked-by: Simon Schampijer <simon@laptop.org>
* Hide/Show cursor based on input: make it available in the intro screenSimon Schampijer2012-10-201-1/+1
| | | | | | | We just have to move it earlier in the startup phase. Signed-off-by: Simon Schampijer <simon@laptop.org> Acked-by: Manuel Quiñones <manuq@laptop.org>
* sugar-session: initialize threading via glibDaniel Drake2012-10-161-0/+2
| | | | | | | | | | | | | | sugar extensions that use threads such as OLPC's software updater require that threads have been properly initialised before the main loop is ran. For pygobject3, GLib.threads_init() must be called before doing the same for Gdk, otherwise the threads hang in random places for long periods of time. See e.g. http://stackoverflow.com/questions/11070263/webkit-threads-with-pygobject-on-gtk3 Signed-off-by: Daniel Drake <dsd@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
* Cursor tracker: only display the cursor in mouse/trackpad mode, SL #4021Simon Schampijer2012-10-151-0/+6
| | | | | | | | | | | | We only display the cursor in mouse/trackpad mode, hence when a mouse motion is detected or a button press event. When a touch begin event is received the cursor will be hidden. We only track the incoming events when a touchscreen device is available. Signed-off-by: Simon Schampijer <simon@laptop.org> Acked-by: Manuel Quiñones <manuq@laptop.org>
* Set default python encoding to utf-8Simon Schampijer2012-10-101-0/+5
| | | | | | | | | | | | | | | | | | | | As spoted by Daniel Narvaez in [1], pygi does not set the default encoding anymore as the old GTK+ did. This change does break activities ported to GTK+3. The change in GTK+ has been discussed upstream here [2]. A better solution will be implemented when we port to Python 3, when we will be able to use real unicode strings. The toolkit-gtk3 has already been fixed in 5fdad9481ba7079a6a718159ebe7eb8e5367c46e. Signed-off-by: Simon Schampijer <simon@laptop.org> Reviewed-by: Gonzalo Odiard <gonzalo@laptop.org> [1] http://lists.sugarlabs.org/archive/sugar-devel/2012-August/038993.html [2] https://bugzilla.gnome.org/show_bug.cgi?id=681915
* Handling gestures to show/hide the frameSimon Schampijer2012-10-051-0/+7
| | | | | | | | | | | | | We use SugarExt.GestureGrabber to listen for gestures on the root window. Swiping from the frame area towards the center does reveal the Frame. Swiping towards one of the edges does hide the Frame. This patch does depend on fe0022cd8f6a8fb94d379be287761cc3a6206086 in the toolkit-gtk3. Signed-off-by: Simon Schampijer <simon@laptop.org> Acked-by: Manuel Quiñones <manuq@laptop.org>
* Model Speech: use GStreamer 1.0 through introspectionDaniel Narvaez2012-09-071-0/+4
| | | | | Signed-off-by: Daniel Narvaez <dwnarvaez@gmail.com> Acked-by: Manuel Quiñones <manuq@laptop.org>
* Fix xklavier for keyboard configurationManuel Quiñones2012-09-071-3/+6
| | | | | | | | - use intrspected API for getting the default display - adopt to new API Signed-off-by: Manuel Quiñones <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
*