Re: [Sugar-devel] sugar-toolkit-gtk3 installation

2019-12-20 Thread James Cameron
Thanks for this information. Can you confirm for me that you had changed PYTHONPATH from the default after installation of Ubuntu 18.04? That will help us all be certain that this was not a problem with Sugar or Ubuntu. On Fri, Dec 20, 2019 at 09:38:33PM +0530, Ananya Appan wrote: > Thank you

Re: [Sugar-devel] sugar-toolkit-gtk3 installation

2019-12-19 Thread James Cameron
Thanks for letting us know. What you describe doesn't match any problem I've seen with Ubuntu 18.04. You will have to diagnose the cause further. For example, if "python2 -c 'import sugar3'" does not work, and yet python-sugar3 package is installed, there must be something wrong with the

Re: [Sugar-devel] sugar-toolkit-gtk3 installation

2019-12-19 Thread Ananya Appan
Thank you so much! I am still facing problems though. I tried it on python2, and I got the same error. I tried installing the sugar desktop by installing the sucrose package using "sudo apt install sucrose" . However, on logging out and trying to login after selecting the sugar desktop, I am

Re: [Sugar-devel] sugar-toolkit-gtk3 installation

2019-12-18 Thread James Cameron
Yes, that's the correct method for installing sugar-toolkit-gtk3 on Ubuntu 18.04, so perhaps you are not testing correctly; make sure you use python2, as the Ubuntu team for 18.04 have only packaged for python2. e.g. python2 -c 'import sugar3' However, if you want to work on Python 3, you will

[Sugar-devel] sugar-toolkit-gtk3 installation

2019-12-18 Thread Ananya Appan
Hello! I would like to know how to install sugar-toolkit-gtk3 for Ubuntu 18.04. I have tried sudo apt-get install python-sugar3, but I still get the following error on running setup.py. ImportError: No module named sugar3.activity Thanks in advance. Regards Ananya Appan

[Sugar-devel] sugar-toolkit help

2018-07-23 Thread Anmol Mishra
Is sugar-toolkit depreciated in Ubuntu bionic?, if no then I need the dep list for this module. https://packages.ubuntu.com/search?keywords=sugar-toolkit=names=all=all Regards -- [image: Developer in progress] Anmol Mishra Student | Developer in progress M: +91 9990752180 <+91+9990752180> E:

Re: [Sugar-devel] sugar-toolkit-gtk3 [port-in-progress]

2018-07-20 Thread James Cameron
thanks. looks easy. things you must fix; 1. `./autogen.sh: 11: ./autogen.sh: intltoolize: not found` intltool is called by the autogen.sh script, which you should have read. intltoolize is not installed, you should have installed it, it is provided by intltool package, if installing

[Sugar-devel] sugar-toolkit-gtk3 [port-in-progress]

2018-07-20 Thread Anmol Mishra
Hello, These are the logs while installing fork for sugar-toolkit-gtk3. If anyone can help, I'll be obliged. This is the link to log when I install toolkit from Pro-panda fork, My system already has the packages, for example alsa has been installed and then in the step when we run shell script,

Re: [Sugar-devel] Sugar toolkit

2018-06-28 Thread James Cameron
sugar-toolkit-gtk3-*.tar.xz is to be installable for either python2 or python3, but not in the same step. Let the user of the source decide which version to use. At the moment, we are forcing a version, and we should not. On Thu, Jun 28, 2018 at 03:22:41AM +0530, Anmol Mishra wrote: > Hello, >

[Sugar-devel] Sugar toolkit

2018-06-27 Thread Anmol Mishra
Hello, I am Anmol and I am trying to finish port our sugar-toolkit to python3, Now while porting, We need our toolkit needs to be installed for highest python version available in system i.e Python2 or Python3. I have a strategy to deal with it, As far as we know, on every bistro, python3 is

Re: [Sugar-devel] [sugar-toolkit-gtk3] Allow to load pixbufs into surface cache for using X11 window hints. (7c6f87a)

2014-03-21 Thread Sebastian Silva
Hi Daniel, Thanks a lot for the review. I don't know if this is the correct way to submit a question, I have looked everywhere for API docs of GdkPixbuf.hash and can't seem to find it. It requires a parameter but I don't know what it's supposed to be Try as I might, from the interactive

Re: [Sugar-devel] [sugar-toolkit-gtk3] Allow to load pixbufs into surface cache for using X11 window hints. (7c6f87a)

2014-03-21 Thread Sebastian Silva
Missed to attach the patch. El sáb, 22 de mar 2014 a las 12:31 AM, Sebastian Silva sebast...@fuentelibre.org escribió: Hi Daniel, Thanks a lot for the review. I don't know if this is the correct way to submit a question, I have looked everywhere for API docs of GdkPixbuf.hash and can't seem

Re: [Sugar-devel] [sugar-toolkit-gtk3] Avoid use of uuid module (#20)

2013-07-12 Thread Gonzalo Odiard
I have found we are using uuid in sugar-datastore src/carquinyol/datastore.py too. Is justified the use in this case or should be replaced too? Gonzalo On Thu, Jul 4, 2013 at 6:20 PM, Gonzalo Odiard gonz...@laptop.org wrote: Great. Have sense apply the same change on the old sugar-toolkit?

Re: [Sugar-devel] [sugar-toolkit-gtk3 PATCH] sl#4276: Writing the icon-files for .xo files on a permanent mount-point, and not /tmp. mount-point.

2012-12-15 Thread Ajay Garg
Hi all. I will leave the choice of deciding upon the icon files directory to you guys :) My personal opinion :: I would refrain from using the /tmp directory, since it is, well, temporary mount-point, and I would not point to delve too much into shakeable territory. This is confirmed in

Re: [Sugar-devel] [sugar-toolkit-gtk3 PATCH] sl#4276: Writing the icon-files for .xo files on a permanent mount-point, and not /tmp. mount-point.

2012-12-15 Thread Daniel Narvaez
Just as additional data point, I'm planning to migrate sugar to use the XDG directories. Posting an initial plan right now. On 15 December 2012 09:03, Ajay Garg a...@activitycentral.com wrote: Hi all. I will leave the choice of deciding upon the icon files directory to you guys :) My

Re: [Sugar-devel] [sugar-toolkit-gtk3 PATCH] sl#4276: Writing the icon-files for .xo files on a permanent mount-point, and not /tmp. mount-point.

2012-12-11 Thread Gonzalo Odiard
The difference is, there are a time race between icon reading, and displaying, at times, as the file is a tempfile, at the moment of display was already deleted. Is the code deleting the file? Otherwise who deletes it? In /etc/fstab I see the line: /tmp/tmptmpfsrw,size=50m

Re: [Sugar-devel] [sugar-toolkit-gtk3 PATCH] sl#4276: Writing the icon-files for .xo files on a permanent mount-point, and not /tmp. mount-point.

2012-12-11 Thread Manuel Quiñones
2012/12/11 Gonzalo Odiard gonz...@laptop.org: In the meantime, have the icons cached in a directory is no so bad. Maybe we can do it in /tmp/ to get it deleted at startup without need more Yes, I think using /tmp is the way to go. And the Journal is doing that for the same icon in the palette

Re: [Sugar-devel] [sugar-toolkit-gtk3 PATCH] sl#4276: Writing the icon-files for .xo files on a permanent mount-point, and not /tmp. mount-point.

2012-12-11 Thread Daniel Narvaez
On 11 December 2012 14:19, Manuel Quiñones ma...@laptop.org wrote: 2012/12/11 Gonzalo Odiard gonz...@laptop.org: In the meantime, have the icons cached in a directory is no so bad. Maybe we can do it in /tmp/ to get it deleted at startup without need more Yes, I think using /tmp is the way

[Sugar-devel] [sugar-toolkit-gtk3 PATCH] sl#4276: Writing the icon-files for .xo files on a permanent mount-point, and not /tmp. mount-point.

2012-12-10 Thread Ajay Garg
This issue happens, when .xo files need to be rendered in the listview in non-journal locations. In such cases, these files have no activity or bundle_id fields in their metadata. Thus, the current way to know the icon-file-name for such .xo files was to expand the zipped files, and write out

Re: [Sugar-devel] [sugar-toolkit-gtk3 PATCH] sl#4276: Writing the icon-files for .xo files on a permanent mount-point, and not /tmp. mount-point.

2012-12-10 Thread Manuel Kaufmann
On Mon, Dec 10, 2012 at 4:09 PM, Ajay Garg a...@activitycentral.com wrote: Thus, now as the solution, we write the icon-files (maximum of one file per activity) at ~/.sugar/default/icon_files. Now, the icons are rendered correctly then. I didn't check the patch yet, but I don't see anything

Re: [Sugar-devel] [sugar-toolkit-gtk3 PATCH] sl#4276: Writing the icon-files for .xo files on a permanent mount-point, and not /tmp. mount-point.

2012-12-10 Thread James Cameron
How are the .svg files in /icon_files removed? -- James Cameron http://quozl.linux.org.au/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel

Re: [Sugar-devel] [sugar-toolkit-gtk3 PATCH] sl#4276: Writing the icon-files for .xo files on a permanent mount-point, and not /tmp. mount-point.

2012-12-10 Thread Ajay Garg
Manuel, James :: In my current approach, a file in icon_files folder is not removed ever, once it is written. This solves the following two purposes :: a) Space optimization :: === No need to write multiple files for the same activity icon. Earlier, many icon-files (containing

Re: [Sugar-devel] [sugar-toolkit-gtk3 PATCH] sl#4276: Writing the icon-files for .xo files on a permanent mount-point, and not /tmp. mount-point.

2012-12-10 Thread Manuel Quiñones
Hi Ajay, first, thanks for helping on this. 2012/12/10 Ajay Garg a...@activitycentral.com: This issue happens, when .xo files need to be rendered in the listview in non-journal locations. In such cases, these files have no activity or bundle_id fields in their metadata. Thus, the current

Re: [Sugar-devel] [sugar-toolkit-gtk3 PATCH] sl#4276: Writing the icon-files for .xo files on a permanent mount-point, and not /tmp. mount-point.

2012-12-10 Thread James Cameron
On Tue, Dec 11, 2012 at 01:47:36AM +0530, Ajay Garg wrote: In my current approach, a file in icon_files folder is not removed ever, once it is written. So I can attack a user (denial of service) by providing an .xo file with a very very large .svg file in it, and there is nothing the user can

Re: [Sugar-devel] [sugar-toolkit-gtk3 PATCH] sl#4276: Writing the icon-files for .xo files on a permanent mount-point, and not /tmp. mount-point.

2012-12-10 Thread Ajay Garg
On Tue, Dec 11, 2012 at 2:07 AM, Manuel Quiñones ma...@laptop.org wrote: Hi Ajay, first, thanks for helping on this. My pleasure :) 2012/12/10 Ajay Garg a...@activitycentral.com: This issue happens, when .xo files need to be rendered in the listview in non-journal locations. In

Re: [Sugar-devel] [sugar-toolkit-gtk3 PATCH] sl#4276: Writing the icon-files for .xo files on a permanent mount-point, and not /tmp. mount-point.

2012-12-10 Thread Ajay Garg
Well, I can't think how to overcome this :D If this is indeed an issue, I can only begin to think the catastrophe that this could cause in the earlier implementation (writing multiple files. per-activity-per-rendering-in-listview). On Tue, Dec 11, 2012 at 2:09 AM, James Cameron qu...@laptop.org

Re: [Sugar-devel] [sugar-toolkit-gtk3 PATCH] sl#4276: Writing the icon-files for .xo files on a permanent mount-point, and not /tmp. mount-point.

2012-12-10 Thread James Cameron
On Tue, Dec 11, 2012 at 02:22:07AM +0530, Ajay Garg wrote: Well, I can't think how to overcome this :D When an .xo entry is removed from the journal, check for and delete a corresponding /icon_files/ directory entry. If this is indeed an issue, I can only begin to think the catastrophe that

Re: [Sugar-devel] [sugar-toolkit-gtk3 PATCH] sl#4276: Writing the icon-files for .xo files on a permanent mount-point, and not /tmp. mount-point.

2012-12-10 Thread Manuel Quiñones
2012/12/10 Ajay Garg a...@activitycentral.com: On Tue, Dec 11, 2012 at 2:07 AM, Manuel Quiñones ma...@laptop.org wrote: Hi Ajay, first, thanks for helping on this. My pleasure :) 2012/12/10 Ajay Garg a...@activitycentral.com: This issue happens, when .xo files need to be rendered

Re: [Sugar-devel] [sugar-toolkit-gtk3 PATCH] sl#4276: Writing the icon-files for .xo files on a permanent mount-point, and not /tmp. mount-point.

2012-12-10 Thread Gonzalo Odiard
... So I can attack a user (denial of service) by providing an .xo file with a very very large .svg file in it, and there is nothing the user can do ... in Sugar ... to escape from the situation. It is an added security vulnerability. So, Nak. As an example,

Re: [Sugar-devel] [sugar-toolkit-gtk3 PATCH] sl#4276: Writing the icon-files for .xo files on a permanent mount-point, and not /tmp. mount-point.

2012-12-10 Thread Gonzalo Odiard
Are you sure about this assumption? How can you explain that the icons are visible in the palette and in the details view? I tested with a stick which has a .xo file inside. 1. ls /tmp - no svg files 2. open Journal - I can see this:

Re: [Sugar-devel] [sugar-toolkit-gtk3 PATCH] sl#4276: Writing the icon-files for .xo files on a permanent mount-point, and not /tmp. mount-point.

2012-12-10 Thread James Cameron
On Mon, Dec 10, 2012 at 11:44:52PM -0300, Gonzalo Odiard wrote: Right now, sugar is decompressing the icon anyway, then, there are no too much change. Yes, not too much, only double the effect of the attack. -- James Cameron http://quozl.linux.org.au/

Re: [Sugar-devel] [sugar-toolkit-gtk3 PATCH] sl#4276: Writing the icon-files for .xo files on a permanent mount-point, and not /tmp. mount-point.

2012-12-10 Thread Ajay Garg
On Tue, Dec 11, 2012 at 2:55 AM, James Cameron qu...@laptop.org wrote: On Tue, Dec 11, 2012 at 02:22:07AM +0530, Ajay Garg wrote: Well, I can't think how to overcome this :D When an .xo entry is removed from the journal, check for and delete a corresponding /icon_files/ directory entry.

Re: [Sugar-devel] [sugar-toolkit-gtk3 PATCH] sl#4276: Writing the icon-files for .xo files on a permanent mount-point, and not /tmp. mount-point.

2012-12-10 Thread Manuel Quiñones
2012/12/10 Gonzalo Odiard gonz...@laptop.org: Are you sure about this assumption? How can you explain that the icons are visible in the palette and in the details view? I tested with a stick which has a .xo file inside. 1. ls /tmp - no svg files 2. open Journal - I can see this:

Re: [Sugar-devel] [sugar-toolkit-gtk3 PATCH] sl#4276: Writing the icon-files for .xo files on a permanent mount-point, and not /tmp. mount-point.

2012-12-10 Thread James Cameron
On Tue, Dec 11, 2012 at 08:41:06AM +0530, Ajay Garg wrote: Seems a hard think (implementation-wise), as :: I agree. Perhaps instead add a regular cleanup during Sugar startup. -- James Cameron http://quozl.linux.org.au/ ___ Sugar-devel mailing list

Re: [Sugar-devel] [sugar-toolkit-gtk3 PATCH] sl#4276: Writing the icon-files for .xo files on a permanent mount-point, and not /tmp. mount-point.

2012-12-10 Thread Ajay Garg
On Tue, Dec 11, 2012 at 10:22 AM, James Cameron qu...@laptop.org wrote: On Tue, Dec 11, 2012 at 08:41:06AM +0530, Ajay Garg wrote: Seems a hard think (implementation-wise), as :: I agree. Perhaps instead add a regular cleanup during Sugar startup. Done, via

Re: [Sugar-devel] [sugar-toolkit-gtk2] Add management of summary property to the activity.info file - v2

2012-09-29 Thread Manuel Kaufmann
On Thu, Sep 20, 2012 at 12:34 PM, godi...@sugarlabs.org wrote: +self._summary = None +self._local_summary = None Sorry to bother you, I have two questions: * What each of these variable mean? * What are the difference between them? -- Kaufmann Manuel Blog:

Re: [Sugar-devel] [sugar-toolkit-gtk2] Add management of summary property to the activity.info file - v2

2012-09-29 Thread Gonzalo Odiard
summary is the original English field we are adding in activity.info local_summary is the string translated to the language in use in Sugar. Gonzalo On Sat, Sep 29, 2012 at 3:24 PM, Manuel Kaufmann humi...@gmail.com wrote: On Thu, Sep 20, 2012 at 12:34 PM, godi...@sugarlabs.org wrote: +

Re: [Sugar-devel] [sugar-toolkit-gtk3] Set default python encoding to utf-8

2012-09-26 Thread Simon Schampijer
Thanks, pushed as: 5fdad9481ba7079a6a718159ebe7eb8e5367c46e Gonzalo will open a ticket for tracking testing, and one for the Python3 follow up. Simon On 08/27/2012 04:09 PM, godi...@sugarlabs.org wrote: From: Gonzalo Odiard godi...@gmail.com As spoted by Daniel Narvaez in [1], pygi does

Re: [Sugar-devel] [sugar-toolkit-gtk3] Make icon_name api consistent between the different toolbuttons

2012-09-20 Thread Simon Schampijer
Thanks for the patch. I did change the method name to set_icon_name to clearly overwrite that. Otherwise you would have been still able to do button.set_icon and button.set_icon_name. Pushed with these changes, Simon On 09/19/2012 10:25 PM, godi...@sugarlabs.org wrote: From: Gonzalo

[Sugar-devel] [sugar-toolkit-gtk2] Add management of summary property to the activity.info file - v2

2012-09-20 Thread godiard
From: Gonzalo Odiard godi...@gmail.com This summary is translatable aas the name and will be displayed in the activivity list in the home view. Signed-off-by: Gonzalo Odiard gonz...@laptop.org v2: remove installation_time because is not used anymore --- src/sugar3/activity/bundlebuilder.py |

[Sugar-devel] [sugar-toolkit-gtk3] Add management of summary property to the activity.info file

2012-09-19 Thread godiard
From: Gonzalo Odiard godi...@gmail.com This summary is translatable aas the name and will be displayed in the activivity list in the home view. Signed-off-by: Gonzalo Odiard gonz...@laptop.org --- src/sugar3/activity/bundlebuilder.py | 9 + src/sugar3/bundle/activitybundle.py | 15

Re: [Sugar-devel] [sugar-toolkit-gtk3] Set getter an setter in icon_name property - SL #3849

2012-09-19 Thread Simon Schampijer
Hi Gonzalo, thanks for this great writeup! On 09/19/2012 09:13 PM, Gonzalo Odiard wrote: Today we explored with Simon different alternatives: - override the icon-name property and fallback to what we do in set_named_icon - override the icon-name property and print a warning to use

[Sugar-devel] [sugar-toolkit-gtk3] Make icon_name api consistent between the different toolbuttons

2012-09-19 Thread godiard
From: Gonzalo Odiard godi...@gmail.com As discused in the mailing list [1] the api to set the icon in sugar ToolButton, RadioToolButton and ToggleToolButton is inconsistent, and with the port to gtk3 differences are visible as a wrong size (SL #3849) Signed-off-by: Gonzalo Odiard

[Sugar-devel] [sugar-toolkit-gtk3] Set getter an setter in icon_name property - SL #3849

2012-09-18 Thread godiard
From: Gonzalo Odiard godi...@gmail.com With g-i bindings, setting the property don't change the size and the button is bigger than should be. Now we have two properties for the same, icon_name and named_icon, maybe one should be deprecated. Signed-off-by: Gonzalo Odiard gonz...@laptop.org ---

Re: [Sugar-devel] [sugar-toolkit-gtk3] Set getter an setter in icon_name property - SL #3849

2012-09-18 Thread Manuel Quiñones
Thanks Gonzalo. Yes this fixes the regression, which was affecting Paint, and may affect other ports so I vote for adding this instead of deprecating the API. So now both: radial_button = RadioToolButton(named_icon='view-radial') and: radial_button = RadioToolButton()

Re: [Sugar-devel] [sugar-toolkit-gtk3] Set default python encoding to utf-8

2012-09-14 Thread Gonzalo Odiard
This patch is not included and haven't received comments. Any particular reason? There are ported activities needing this change. Gonzalo On Mon, Aug 27, 2012 at 11:09 AM, godi...@sugarlabs.org wrote: From: Gonzalo Odiard godi...@gmail.com As spoted by Daniel Narvaez in [1], pygi does not

Re: [Sugar-devel] [sugar-toolkit-gtk3] Set default python encoding to utf-8

2012-09-14 Thread S. Daniel Francis
I'd say: +1 to your change 2012/9/14 Gonzalo Odiard gonz...@laptop.org: This patch is not included and haven't received comments. Any particular reason? There are ported activities needing this change. Gonzalo On Mon, Aug 27, 2012 at 11:09 AM, godi...@sugarlabs.org wrote: From: Gonzalo

[Sugar-devel] [sugar-toolkit-gtk3] Set default python encoding to utf-8

2012-08-27 Thread godiard
From: Gonzalo Odiard godi...@gmail.com As spoted by Daniel Narvaez in [1], pygi does not set the default encoding anymore as the old gtk did. This change break ported activities. The change in gtk was discussed upstream here [2] A better solution will be implemented when we port to python 3, when

[Sugar-devel] [sugar-toolkit PATCH] Introduce a new alert, that takes arbitrary number of buttons.

2012-08-17 Thread Ajay Garg
Whenever any of these buttons is clicked, the corresponding response_id is received in the response callback-function attached to this alert. This patch adds the Multi-Select facility, to easy copying/erasing multiple items in one go (after selecting the required target entries). Note that,

Re: [Sugar-devel] [sugar-toolkit-gtk3] Replace signal used in UnfullscreenButton to enable use with touch - SL #3798

2012-08-14 Thread Simon Schampijer
On 08/09/2012 10:27 PM, Manuel Quiñones wrote: Thanks Gonzalo, Thanks Gonzalo. I was intrigued by that fact and looked a bit at the issue. 2012/8/9 godi...@sugarlabs.org: From: Gonzalo Odiard godi...@gmail.com Use clicked instead of button-pressed, because this is not triggered by touch

Re: [Sugar-devel] [sugar-toolkit-gtk3] Replace signal used in UnfullscreenButton to enable use with touch - SL #3798

2012-08-14 Thread Gonzalo Odiard
I am fine to go with 'clicked' as Gonzalo suggested but would be nice to know the details as well. Regards, Simon The following info can be related: In gtk3, a patch to check emulating_pointer before use touch as button_press/release:

[Sugar-devel] [sugar-toolkit-gtk3] Replace signal used in UnfullscreenButton to enable use with touch - SL #3798

2012-08-09 Thread godiard
From: Gonzalo Odiard godi...@gmail.com Use clicked instead of button-pressed, because this is not triggered by touch device. Signed-off-by: Gonzalo Odiard gonz...@laptop.org --- src/sugar3/graphics/window.py | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

Re: [Sugar-devel] [sugar-toolkit-gtk3] Replace signal used in UnfullscreenButton to enable use with touch - SL #3798

2012-08-09 Thread Manuel Quiñones
Thanks Gonzalo, 2012/8/9 godi...@sugarlabs.org: From: Gonzalo Odiard godi...@gmail.com Use clicked instead of button-pressed, because this is not triggered by touch device. Makes sense, clicked is more general than button-pressed. From the docs, is emitted when the button has been

Re: [Sugar-devel] [sugar-toolkit-gtk3] Finish the port of ColorToolButton to gtk3

2012-08-08 Thread Manuel Quiñones
2012/8/8 Gonzalo Odiard godi...@sugarlabs.org: * API changed in the drag and drop code in Gtk * Changes in the way to get color information from the theme. I would also add in the message that this is because Gtk.Style was deprecated by Gtk.StyleContext. If you mention it the next time,

Re: [Sugar-devel] [sugar-toolkit-gtk3] Solve errors in ColorToolButton to enable activities to use it

2012-08-08 Thread Manuel Quiñones
Thanks, 2012/8/8 godi...@sugarlabs.org: From: Gonzalo Odiard godi...@gmail.com This patch solves the following problems: * API changed in the drag and drop code in Gtk. Drag and drop is not working yet (SL #3796) I added a # FIXME in the code too, but the code needed to enable drag

Re: [Sugar-devel] [sugar-toolkit-gtk3] Solve errors in ColorToolButton to enable activities to use it

2012-08-08 Thread Manuel Quiñones
2012/8/8 Manuel Quiñones ma...@laptop.org: Thanks, 2012/8/8 godi...@sugarlabs.org: From: Gonzalo Odiard godi...@gmail.com This patch solves the following problems: * API changed in the drag and drop code in Gtk. Drag and drop is not working yet (SL #3796) I added a # FIXME in the

Re: [Sugar-devel] [sugar-toolkit-gtk3] Solve errors in ColorToolButton to enable activities to use it

2012-08-08 Thread Manuel Quiñones
Pushed as f70075323cfd80413b0fdf53fe41561eae4dd6da 2012/8/8 Manuel Quiñones ma...@laptop.org: 2012/8/8 Manuel Quiñones ma...@laptop.org: Thanks, 2012/8/8 godi...@sugarlabs.org: From: Gonzalo Odiard godi...@gmail.com This patch solves the following problems: * API changed in the drag and

[Sugar-devel] [sugar-toolkit-gtk3] Finish the port of ColorToolButton to gtk3

2012-08-07 Thread godiard
From: Gonzalo Odiard godi...@gmail.com This patch solves the following problems: * API changed in the drag and drop code in Gtk * Changes in the way to get color information from the theme. * The internal button was not visible. Signed-of-by: Gonzalo Odiard gonz...@laptop.org ---

Re: [Sugar-devel] [sugar-toolkit-gtk3] Finish the port of ColorToolButton to gtk3

2012-08-07 Thread Gonzalo Odiard
This patch is needed by Paint port to Gtk3, but can be tested applying the following patch to HelloWorld activity: diff --git a/activity.py b/activity.py index 2252983..96ee5d3 100644 --- a/activity.py +++ b/activity.py @@ -28,6 +28,8 @@ from sugar3.activity.widgets import TitleEntry from

Re: [Sugar-devel] [sugar-toolkit-gtk3] Finish the port of ColorToolButton to gtk3

2012-08-07 Thread Gonzalo Odiard
* API changed in the drag and drop code in Gtk * Changes in the way to get color information from the theme. I would also add in the message that this is because Gtk.Style was deprecated by Gtk.StyleContext. If you mention it the next time, the review can be faster too :) Be free to

[Sugar-devel] sugar-toolkit-gtk3's Sphinx documentation

2012-07-05 Thread Manuel Kaufmann
Hello, I think it would be really great to have something similar to this: * http://mkaufmann.com.ar/~humitos/sugar-toolkit-gtk3/ What do you think? This is what I did to get that kind of documentation sudo yum install python-sphinx sphinx-apidoc --doc-author=Manuel Kaufmann --full

Re: [Sugar-devel] sugar-toolkit-gtk3's Sphinx documentation

2012-07-05 Thread Daniel Narvaez
Hello Manuel, I think this is a good direction. Of course we will need better documentation in the code itself. I've been willing to write more of a manual for the toolkit using reStructured and this would integrate perfectly with it. Only suggestion pick a nicer theme like sphinxdoc :) Once we

Re: [Sugar-devel] sugar-toolkit-gtk3's Sphinx documentation

2012-07-05 Thread Manuel Kaufmann
On Thu, Jul 5, 2012 at 8:59 AM, Daniel Narvaez dwnarv...@gmail.com wrote: I think this is a good direction. Of course we will need better documentation in the code itself. I've been willing to write more of a manual for the toolkit using reStructured and this would integrate perfectly with it.

Re: [Sugar-devel] sugar-toolkit-gtk3's Sphinx documentation

2012-07-05 Thread Manuel Quiñones
2012/7/5 Manuel Kaufmann humi...@gmail.com: Hello, I think it would be really great to have something similar to this: * http://mkaufmann.com.ar/~humitos/sugar-toolkit-gtk3/ What do you think? So yes, I think effort in this direction is appreciated. The current documentation for the

Re: [Sugar-devel] sugar-toolkit-gtk3's Sphinx documentation

2012-07-05 Thread Gary Martin
Hi Manuel, On 5 Jul 2012, at 12:30, Manuel Kaufmann humi...@gmail.com wrote: Hello, I think it would be really great to have something similar to this: * http://mkaufmann.com.ar/~humitos/sugar-toolkit-gtk3/ What do you think? Looks pretty :) My quick and dirty solution for browsable

Re: [Sugar-devel] sugar-toolkit-gtk3's Sphinx documentation

2012-07-05 Thread Samuel Greenfeld
Sugarlabs already has a sphinx instance, although it is a bit out of date: http://doc.sugarlabs.org/sphinx/ It also has a epydoc instance: http://doc.sugarlabs.org/epydocs/ (a.k.a api.sugarlabs.org) I previously kept a Doxygen parsing of the Sugar toolkit, largely because I know how to make nice

Re: [Sugar-devel] [sugar-toolkit PATCH] sl#3317: Batch Operations on Journal Entries (Copy, Erase)

2012-02-06 Thread Sascha Silbe
Excerpts from Ajay Garg's message of 2012-02-05 21:47:47 +0100: The patch summary (subject line) doesn't describe what this patch does, only in what context it is useful. Also, please note that sugar-toolkit (GTK2) is in maintenance mode; API changes need to be targeted at sugar-toolkit-gtk3.

[Sugar-devel] [sugar-toolkit PATCH] sl#3317: Batch Operations on Journal Entries (Copy, Erase)

2012-02-05 Thread Ajay Garg
A new function has been added, which provides the ability to have a callback executed, after the alert is shown. Note that, in usual cases (that is, prior addition of this function), the alert is shown; and the action taken only after user clicks one of the action-buttons (eg. 'OK', 'Cancel',

[Sugar-devel] sugar-toolkit-gtk3 maintainers: Daniel Drake, Simon Schampijer

2011-12-13 Thread Sascha Silbe
Hello everyone! During todays Development Team meeting [1], we we agreed that Daniel Drake will maintain the new sugar-toolkit-gtk3 together with Simon Schampijer, leaving me free to focus on the existing Glucose modules (also together with Simon). Good luck to the new (and old) maintainers!

Re: [Sugar-devel] sugar-toolkit-gtk3 maintainers: Daniel Drake, Simon Schampijer

2011-12-13 Thread Daniel Drake
On Tue, Dec 13, 2011 at 11:55 AM, Sascha Silbe sascha-ml-reply-to-201...@silbe.org wrote: During todays Development Team meeting [1], we we agreed that Daniel Drake will maintain the new sugar-toolkit-gtk3 together with Simon Schampijer, leaving me free to focus on the existing Glucose modules

Re: [Sugar-devel] sugar-toolkit-gtk3 patches

2011-12-12 Thread Simon Schampijer
On 05/12/11 20:24, Sascha Silbe wrote: Hi Simon et al., sugar-toolkit-gtk3 is starting to get into shape (branch silbe-rework-20111205). Remaining issues: [...] 3. a6513e6: Switch sugarext to be an introspectable library (Simon Schampijer) Some links explaining what this means and

Re: [Sugar-devel] sugar-toolkit-gtk3 patches

2011-12-09 Thread Daniel Drake
On Mon, Dec 5, 2011 at 5:24 PM, Sascha Silbe sascha-ml-reply-to-201...@silbe.org wrote: Hi Simon et al., sugar-toolkit-gtk3 is starting to get into shape (branch silbe-rework-20111205). Remaining issues: 1. 7431584: Restructure for new /usr/bin/sugar-activity behaviour   (Daniel Drake)  

Re: [Sugar-devel] sugar-toolkit-gtk3 patches

2011-12-07 Thread Benjamin Berg
Hello, On Tue, 2011-12-06 at 00:24 +0100, Sascha Silbe wrote: sugar-toolkit-gtk3 is starting to get into shape (branch silbe-rework-20111205). Remaining issues: Nice! Several patches also lack a Signed-off-by from their respective author (Daniel Drake, Simon Schampijer, Benjamin Berg, Raul

[Sugar-devel] sugar-toolkit-gtk3 patches

2011-12-05 Thread Sascha Silbe
Hi Simon et al., sugar-toolkit-gtk3 is starting to get into shape (branch silbe-rework-20111205). Remaining issues: 1. 7431584: Restructure for new /usr/bin/sugar-activity behaviour (Daniel Drake) This patch, back-ported to the GTK2 sugar-toolkit, and it's sugar counterpart should be

[Sugar-devel] [sugar-toolkit] Add new languages: quz and aym

2011-11-24 Thread Bernie Innocenti
Signed-off-by: Bernie Innocenti ber...@codewiz.org --- configure.ac |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 41b7a1f..37b3187 100644 --- a/configure.ac +++ b/configure.ac @@ -27,7 +27,7 @@ AC_SUBST(PYGTK_DEFSDIR) # Setup

[Sugar-devel] sugar-toolkit-gtk3 plans

2011-10-29 Thread Daniel Drake
Hi, We have started to implement GTK3 support in sugar-toolkit/sugar-artwork and have been faced with some decisions which have met a lot of discussion in the group. Some of this is simply expanding on the plans so far, which did not dive down into the gory details which we now face:

Re: [Sugar-devel] sugar-toolkit-gtk3 plans

2011-10-29 Thread Sascha Silbe
Excerpts from Daniel Drake's message of 2011-10-29 12:12:54 +0200: If we get things into good shape, we are planning to commit all this to master tomorrow evening. We have already made lots of progress including a somewhat functional theme and a major palette-related headache solved. Code and

[Sugar-devel] [sugar-toolkit PATCH] set window icon

2010-08-05 Thread Sascha Silbe
Set the window icon to the activity icon for improved look-and-feel when using non-Sugar ways of switching windows (e.g. by enabling the metacity key bindings). Tested on XO-1.5 running Debian Squeeze. Setting the icon takes 0.1s (0.058s, 0.026s, 0.021s). Signed-off-by: Sascha Silbe

Re: [Sugar-devel] [sugar-toolkit PATCH] set window icon

2010-08-05 Thread James Cameron
On Thu, Aug 05, 2010 at 09:26:04PM +, Sascha Silbe wrote: Set the window icon to the activity icon for improved look-and-feel when using non-Sugar ways of switching windows (e.g. by enabling the metacity key bindings). Tested on XO-1.5 running Debian Squeeze. Setting the icon takes 0.1s

[Sugar-devel] sugar-toolkit and sugar-base branched for 0.86

2009-11-20 Thread Tomeu Vizoso
Hi, have just created the sucrose-0.86 branch in sugar-toolkit and sugar-base. Development for 0.86 will happen in sucrose-0.86 and for 0.88 in master. Regards, Tomeu -- «Sugar Labs is anyone who participates in improving and using Sugar. What Sugar Labs does is determined by the