[Sugar-devel] [PATCH sugar] Frame: new behavior for revealing/hiding the Frame with the mouse

2012-08-17 Thread Simon Schampijer
After discussing with Gary I prepared this patch to change the
interaction with the Frame in the following manner:

- you can reveal the Frame by going with the cursor in one of the
  hot corners

- you can hide the Frame by going with the cursor in one of the
  hot corners (and the Frame is visible)

- the Frame is not hidden on mouse out (leaving the Frame)

- (as before) you can hide/reveal the Frame with the designated keys

- the Frame is hidden when you switch between activities
  (todo: hide as well when resume in the Palette is clicked)

- the Frame is hidden when a zoom level is selected

- (as before) you can use 'alt-tab' to cycle through the
  running activities

- drag  drop is currently not working, SL #3811

v2: fixed cycling through running activities

Signed-off-by: Simon Schampijer si...@laptop.org
---
 src/jarabe/frame/activitiestray.py |  2 ++
 src/jarabe/frame/frame.py  | 53 ++
 src/jarabe/frame/zoomtoolbar.py|  6 +
 src/jarabe/view/tabbinghandler.py  |  2 +-
 4 files changed, 22 insertions(+), 41 deletions(-)

diff --git a/src/jarabe/frame/activitiestray.py 
b/src/jarabe/frame/activitiestray.py
index 9590bce..d386b3b 100644
--- a/src/jarabe/frame/activitiestray.py
+++ b/src/jarabe/frame/activitiestray.py
@@ -287,6 +287,8 @@ class ActivitiesTray(HTray):
 window = home_activity.get_window()
 if window:
 window.activate(gtk.get_current_event_time())
+frame = jarabe.frame.get_view()
+frame.hide()
 
 def __remove_invite_cb(self, icon, invite):
 self._invites.remove_invite(invite)
diff --git a/src/jarabe/frame/frame.py b/src/jarabe/frame/frame.py
index 7407e18..ee112a1 100644
--- a/src/jarabe/frame/frame.py
+++ b/src/jarabe/frame/frame.py
@@ -57,29 +57,12 @@ class _Animation(animator.Animation):
 class _MouseListener(object):
 def __init__(self, frame):
 self._frame = frame
-self._hide_sid = 0
 
 def mouse_enter(self):
-self._show_frame()
-
-def mouse_leave(self):
-if self._frame.mode == Frame.MODE_MOUSE:
-self._hide_frame()
-
-def _show_frame(self):
-if self._hide_sid != 0:
-gobject.source_remove(self._hide_sid)
-self._frame.show(Frame.MODE_MOUSE)
-
-def _hide_frame_timeout_cb(self):
-self._frame.hide()
-return False
-
-def _hide_frame(self):
-if self._hide_sid != 0:
-gobject.source_remove(self._hide_sid)
-self._hide_sid = gobject.timeout_add(
-  _FRAME_HIDING_DELAY, self._hide_frame_timeout_cb)
+if self._frame.visible:
+self._frame.hide()
+else:
+self._frame.show()
 
 
 class _KeyListener(object):
@@ -88,23 +71,16 @@ class _KeyListener(object):
 
 def key_press(self):
 if self._frame.visible:
-if self._frame.mode == Frame.MODE_KEYBOARD:
-self._frame.hide()
+self._frame.hide()
 else:
-self._frame.show(Frame.MODE_KEYBOARD)
+self._frame.show()
 
 
 class Frame(object):
-MODE_MOUSE = 0
-MODE_KEYBOARD = 1
-MODE_NON_INTERACTIVE = 2
-
 def __init__(self):
 logging.debug('STARTUP: Loading the frame')
-self.mode = None
 
 self._palette_group = palettegroup.get_group('frame')
-self._palette_group.connect('popdown', self._palette_group_popdown_cb)
 
 self._left_panel = None
 self._right_panel = None
@@ -143,6 +119,9 @@ class Frame(object):
 visible = property(is_visible, None)
 
 def hide(self):
+if not self.visible:
+return
+
 if self._animator:
 self._animator.stop()
 
@@ -150,16 +129,12 @@ class Frame(object):
 self._animator.add(_Animation(self, 0.0))
 self._animator.start()
 
-self.mode = None
-
-def show(self, mode):
+def show(self):
 if self.visible:
 return
 if self._animator:
 self._animator.stop()
 
-self.mode = mode
-
 self._animator = animator.Animator(0.5)
 self._animator.add(_Animation(self, 1.0))
 self._animator.start()
@@ -180,6 +155,7 @@ class Frame(object):
 zoom_toolbar = ZoomToolbar()
 panel.append(zoom_toolbar, expand=False)
 zoom_toolbar.show()
+zoom_toolbar.connect('level-clicked', self._level_clicked_cb)
 
 activities_tray = ActivitiesTray()
 panel.append(activities_tray)
@@ -208,7 +184,6 @@ class Frame(object):
 def _create_left_panel(self):
 panel = ClipboardPanelWindow(self, gtk.POS_LEFT)
 
-self._connect_to_panel(panel)
 panel.connect('drag-motion', self._drag_motion_cb)
 panel.connect('drag-leave', self._drag_leave_cb)
 
@@ -216,7 +191,6 @@ class Frame(object):
 
 def _create_panel(self, orientation):
 panel = FrameWindow(orientation)
-

Re: [Sugar-devel] [PATCH sugar] Frame: new behavior for revealing/hiding the Frame with the mouse

2012-08-17 Thread Simon Schampijer

On 08/17/2012 12:48 AM, Manuel Quiñones wrote:

I've tested an earlier patch for this and now I reviewed it.  This is
a much more solid interaction with the frame, and less error prone.

All looks good.  Please commit.


Thanks Manuel for testing and the review. I have fixed the 'cycling 
through activities' in v2 of the patch.


Something we have to look at as a follow-up would be the Frame 
'animation'. When you switch between the Home View and the Neighborhood 
View for example you see the Frame disappear and then the toolbar is 
drawn. And in general the Frame animation should really be smoother...


Regards,
   Simon

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [PATCH sugar] Create a default unencrypted keyring, OLPC #10290

2012-08-17 Thread Simon Schampijer

On 06/11/2012 07:11 PM, Simon Schampijer wrote:

Follow-up: Upstream seem to work on the possibility to use the XDG dirs,
so one can specify an alternative path.

https://bugzilla.gnome.org/show_bug.cgi?id=613644

Thanks to Marco for pointing that out,
Simon


The enhancement to use the XDG dirs for storing keys has landed now. 
Would be great if someone could follow up on that and give feedback to 
Stef on his approach.


Regards,
   Simon

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [PATCH] Use the gdk window to get the depth of the preview pixmap - SL#3804

2012-08-17 Thread Manuel Quiñones
This prevents harcoding the depth, and uses the one from the gdk
window.  For this, the preview has to be done after the window is
realized, so the code is wrapped in the expose-event callback.

Also add a white background to the preview, otherwise artifacts appear
for previews smaller than the preview box.

Signed-off-by: Manuel Quiñones ma...@laptop.org
---
 src/jarabe/journal/expandedentry.py | 22 +++---
 1 file changed, 15 insertions(+), 7 deletions(-)

diff --git a/src/jarabe/journal/expandedentry.py 
b/src/jarabe/journal/expandedentry.py
index e0c603f..d0c7166 100644
--- a/src/jarabe/journal/expandedentry.py
+++ b/src/jarabe/journal/expandedentry.py
@@ -194,11 +194,18 @@ class ExpandedEntry(gtk.EventBox):
 return date
 
 def _create_preview(self):
-width = style.zoom(320)
-height = style.zoom(240)
 box = gtk.EventBox()
 box.modify_bg(gtk.STATE_NORMAL, style.COLOR_WHITE.get_gdk_color())
 
+box.connect('expose-event', self.__expose_event_cb)
+box.connect_after('button-release-event',
+  self._preview_box_button_release_event_cb)
+return box
+
+def __expose_event_cb(self, box, event):
+width = style.zoom(320)
+height = style.zoom(240)
+
 if len(self._metadata.get('preview', ''))  4:
 if self._metadata['preview'][1:4] == 'PNG':
 preview_data = self._metadata['preview']
@@ -214,8 +221,11 @@ class ExpandedEntry(gtk.EventBox):
 surface = cairo.ImageSurface.create_from_png(png_file)
 png_width = surface.get_width()
 png_height = surface.get_height()
-pixmap = gtk.gdk.Pixmap(None, png_width, png_height, 24)
+gdk_window = self.get_toplevel().window
+pixmap = gtk.gdk.Pixmap(gdk_window, png_width, png_height, -1)
 cr = pixmap.cairo_create()
+cr.set_source_rgb(1, 1, 1)
+cr.paint()
 cr.set_source_surface(surface, 0, 0)
 cr.scale(width / png_width, height / png_height)
 cr.paint()
@@ -230,15 +240,13 @@ class ExpandedEntry(gtk.EventBox):
 
 if has_preview:
 box.add(im)
+im.show()
 else:
 label = gtk.Label()
 label.set_text(_('No preview'))
 label.set_size_request(width, height)
 box.add(label)
-
-box.connect_after('button-release-event',
-  self._preview_box_button_release_event_cb)
-return box
+label.show()
 
 def _create_technical(self):
 vbox = gtk.VBox()
-- 
1.7.11.2

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] A query regarding building sugar-artwork rpm.

2012-08-17 Thread Ajay Garg
Any ideas anyone, please?

I would recommend once reviewing the patch present at
http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120816/7da4caa5/attachment.obj

which by the way, works perfectly in dx3 (in the sense that newly added
files ARE included).


Thanks and Regards,
Ajay



On Thu, Aug 16, 2012 at 5:07 PM, Ajay Garg a...@activitycentral.com wrote:

 Thanks Peter for the reply.

 On Thu, Aug 16, 2012 at 5:01 PM, Peter Robinson pbrobin...@gmail.comwrote:

 On Thu, Aug 16, 2012 at 12:25 PM, Ajay Garg a...@activitycentral.com
 wrote:
  Hi all.
 
  I have been wanting to build some rpms for Sugar-on-F17 , after
 applying the
  multi-select patches.
  Regarding this, I have been able to build the sugar and
 sugar-toolkit
  rpms, after applying the patches.
 
  Thanks a ton to Manuel Quiñones, who helped me in figuring out how to do
  this; I was completely blank otherwise :P
 
 
 
  But, I am stuck at the sugar-artwork rpm.
  Following is the approach I followed ::
 
 
  a)
  Downloaded
 
 http://kojipkgs.fedoraproject.org//packages/sugar-artwork/0.96.5/1.fc17/src/sugar-artwork-0.96.5-1.fc17.src.rpm
  (same step as for sugar and sugar-toolkit).
 
 
  b)
  rpm -ivh  sugar-artwork-0.96.5-1.fc17.src.rpm
  (same step as for sugar and sugar-toolkit).
 
 
  c)
  Added the patch-info to ~/rpmbuild/SPECS/sugar-artwork.spec
  (same step as for sugar and sugar-toolkit).
 
 
  d)
  Copied the patch to ~/rpmbuild/SOURCES
  (same step as for sugar and sugar-toolkit).
 
 
  e)
  Built the rpm. It was successful.
  (same step as for sugar and sugar-toolkit).
 
 
  f)
  However, when I apply the rpm via sudo rpm --force --upgrade, it
 seems to
  succeed; however no newly-expected files are seen.
  (HOWEVER, THINGS WORKED FINE FOR sugar AND sugar-toolkit).
 
 
 
  I can't seem to figure out the source of error; as all steps (except the
  last, f.), seem to work as expected.
  For brevity, I am attaching the sugar-artwork patch.
 
 
  I will be grateful for any information, as to what I may be doing wrong.

 Could you provide a diff to the spec file from the original base one?
 It's hard to tell what your doing wrong if I can't see what you're
 doing.


 Sure; please find attached the diff file.
 I guess the fault is not here, as this is the most minimal diff possible.






 I also suggest you modify the Release variable to distinguish between
 the original and the one you build, it will make it easier for you and
 you don't need to do a --force then.


 Yep. Anyways, right now I am just testing :)





 Peter


 Regards,
 Ajay

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Fwd: Re: [opensuse-edu] Update Sugar packages

2012-08-17 Thread Thomas Gilliard

Looks like sugar is being updated in opensuse


 Original Message 
Subject:Re: [opensuse-edu] Update Sugar packages
Date:   Fri, 17 Aug 2012 22:55:13 +0800
From:   Xin Wang dram.w...@gmail.com
To: Jigish Gohil cyber...@opensuse.org
CC: opensuse-...@opensuse.org



2012/8/17 Jigish Gohil cyber...@opensuse.org:

On Fri, Aug 17, 2012 at 5:56 PM, Xin Wang dram.w...@gmail.com wrote:

Hi all,

A while back I updated Sugar packages (Glucose and Fructose)  to
latest version (0.96), it is hosted at my home project on OBS [1].

I have did some test, and now I would like to merge changes back into X11:Sugar.

Because 0.96 partially require GTK 3.0, it seems unlikely to support
11.4, even support for 12.1 will need many effort. I tend to only
build 0.96 for 12.2 and Factory.

I'm not sure which project should I submit merging request to,
X11:Sugar [2] or X11:Sugar:Unstable [3]?

What else I need to pay attention to?


Hi Xin

I've added you and litekok as maintainers to both Sugar projects, you
are also a bugowner as no one else is working on sugar packages on
openSUSE at the moment.



OK, thanks.


Let me know the status of packages, if the entire sugar stack is
complete and usable, if so then we may include it again in openSUSE
Edu Li-f-e media.



It's great if Sugar can be included in Edu Li-f-e.

If new Edu Li-f-e is based on 12.2, I'll focus on 12.2 firstly.

I have updated Glucose and Fructose part of Sugar, those packages are
quite usable, though some more tests is needed. For now, only known
bug is Etoys failed to run in X86_64 platform, I'll try to fix it.

When does new version of Edu Li-f-e scheduled to release? If time
allows, I'll try to update other activity packages in X11:Sugar.


Thanks,


Thank you for your contribution

-J



[1] https://build.opensuse.org/project/show?project=home%3Adramwang%3Asugar
[2] https://build.opensuse.org/project/show?project=X11%3ASugar
[3] https://build.opensuse.org/project/show?project=X11%3ASugar%3AUnstable





--
Xin Wang (http://dram.me/)
--
To unsubscribe, e-mail: opensuse-edu+unsubscr...@opensuse.org
To contact the owner, e-mail: opensuse-edu+ow...@opensuse.org





___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [PATCH] Use the gdk window to get the depth of the preview pixmap - SL#3804

2012-08-17 Thread Simon Schampijer

On 08/17/2012 03:06 PM, Manuel Quiñones wrote:

This prevents harcoding the depth, and uses the one from the gdk
window.  For this, the preview has to be done after the window is
realized, so the code is wrapped in the expose-event callback.

Also add a white background to the preview, otherwise artifacts appear
for previews smaller than the preview box.

Signed-off-by: Manuel Quiñones ma...@laptop.org


Great, thanks for that one. Code looks good, and I tested on the XO and 
jhbuild. Please push.


Simon

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [PATCH sugar] Debug log before and after running ssh-keygen

2012-08-17 Thread Daniel Narvaez
From: Daniel Narvaez dwnarv...@gmail.com

It can take several seconds to generate keys on a slow/busy system
and I suspect this is causing intermittent failures in the buildbot
tests. Given the potential length of the operation it seems to be
generally useful to have these logs.
---
 src/jarabe/intro/window.py |3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/jarabe/intro/window.py b/src/jarabe/intro/window.py
index a6a2a29..15765f9 100644
--- a/src/jarabe/intro/window.py
+++ b/src/jarabe/intro/window.py
@@ -62,11 +62,14 @@ def create_profile(name, color=None):
 logging.warning('Existing public key %s.pub moved to %s.pub.broken',
 keypath, keypath)
 
+logging.debug(Generating user keypair)
+
 cmd = ssh-keygen -q -t dsa -f %s -C '' -N '' % (keypath, )
 (s, o) = commands.getstatusoutput(cmd)
 if s != 0:
 logging.error('Could not generate key pair: %d %s', s, o)
 
+logging.debug(User keypair generated)
 
 class _Page(gtk.VBox):
 __gproperties__ = {
-- 
1.7.10.2

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [PATCH sugar] Debug log before and after running ssh-keygen

2012-08-17 Thread Manuel Quiñones
Hi Daniel,

sounds good and doesn't harm.

2012/8/17 Daniel Narvaez dwnarv...@gmail.com:
 From: Daniel Narvaez dwnarv...@gmail.com

 It can take several seconds to generate keys on a slow/busy system
 and I suspect this is causing intermittent failures in the buildbot
 tests. Given the potential length of the operation it seems to be
 generally useful to have these logs.

Acked-by: Manuel Quiñones ma...@laptop.org

 ---
  src/jarabe/intro/window.py |3 +++
  1 file changed, 3 insertions(+)

 diff --git a/src/jarabe/intro/window.py b/src/jarabe/intro/window.py
 index a6a2a29..15765f9 100644
 --- a/src/jarabe/intro/window.py
 +++ b/src/jarabe/intro/window.py
 @@ -62,11 +62,14 @@ def create_profile(name, color=None):
  logging.warning('Existing public key %s.pub moved to %s.pub.broken',
  keypath, keypath)

 +logging.debug(Generating user keypair)
 +
  cmd = ssh-keygen -q -t dsa -f %s -C '' -N '' % (keypath, )
  (s, o) = commands.getstatusoutput(cmd)
  if s != 0:
  logging.error('Could not generate key pair: %d %s', s, o)

 +logging.debug(User keypair generated)

  class _Page(gtk.VBox):
  __gproperties__ = {
 --
 1.7.10.2

 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel



-- 
.. manuq ..
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[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, the corresponding sugar and sugar-artwork patches also need to 
be applied,
for this feature to work.





Courtesy Gary Martin, this feature has been made fully robust and bullet-proof.


In particular, following things are intended via this patch ::

a)
Solves the basic purpose ( of course :P )


b)
There should be no sequence of events, that renders the UI in unusable state.


c)
There should be no moment, wherein the user may act impatient, and may 
cause an undesirable sequence of actions (may/may-not be leading to
an unusable state).


d)
Speed optimisation, as far, and as logically, as possible.


Again, all credit goes to Gary, for having rendered this feature such 
robustness !!!






===






The only issue that may be hit while testing this feature, is the bug ::
http://bugs.sugarlabs.org/ticket/3813

which actually, has nothing to do with this feature as per say; it occurs even 
with
this patch unapplied.



 src/sugar/graphics/alert.py |   12 
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/sugar/graphics/alert.py b/src/sugar/graphics/alert.py
index b5aa0c0..e6d339c 100644
--- a/src/sugar/graphics/alert.py
+++ b/src/sugar/graphics/alert.py
@@ -487,3 +487,15 @@ class NotifyAlert(Alert):
 self._response(gtk.RESPONSE_OK)
 return False
 return True
+
+
+class NButtonAlert(Alert):
+def __init__(self, **kwargs):
+Alert.__init__(self, **kwargs)
+
+def _populate_buttons(self, buttons_info_list):
+for button_info in buttons_info_list:
+icon_name, response_code, button_text = button_info
+icon = Icon(icon_name=icon_name)
+self.add_button(response_code, button_text, icon)
+icon.show()
-- 
1.7.4.4

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [sugar-artwork PATCH] Multi-Select icons.

2012-08-17 Thread Ajay Garg
Thanks to Anish. This patch was built exclusively by him.




This patch adds the Multi-Select facility, to easy copying/erasing multiple
items in one go (after selecting the required target entries).

Note that, the corresponding sugar and sugar-toolkit patches also need to 
be applied,
for this feature to work.





Courtesy Gary Martin, this feature has been made fully robust and bullet-proof.


In particular, following things are intended via this patch ::

a)
Solves the basic purpose ( of course :P )


b)
There should be no sequence of events, that renders the UI in unusable state.


c)
There should be no moment, wherein the user may act impatient, and may 
cause an undesirable sequence of actions (may/may-not be leading to
an unusable state).


d)
Speed optimisation, as far, and as logically, as possible.


Again, all credit goes to Gary, for having rendered this feature such 
robustness !!!






===






The only issue that may be hit while testing this feature, is the bug ::
http://bugs.sugarlabs.org/ticket/3813

which actually, has nothing to do with this feature as per say; it occurs even 
with
this patch unapplied.


 icons/scalable/actions/Makefile.am  |2 +
 icons/scalable/actions/select-all.svg   |   80 +++
 icons/scalable/actions/select-none.svg  |   72 
 icons/scalable/emblems/Makefile.am  |4 +-
 icons/scalable/emblems/emblem-checked.svg   |   38 +
 icons/scalable/emblems/emblem-unchecked.svg |   10 +++
 6 files changed, 205 insertions(+), 1 deletions(-)
 mode change 100644 = 100755 icons/scalable/actions/Makefile.am
 create mode 100644 icons/scalable/actions/select-all.svg
 create mode 100644 icons/scalable/actions/select-none.svg
 create mode 100644 icons/scalable/emblems/emblem-checked.svg
 create mode 100644 icons/scalable/emblems/emblem-unchecked.svg

diff --git a/icons/scalable/actions/Makefile.am 
b/icons/scalable/actions/Makefile.am
old mode 100644
new mode 100755
index b589fb5..8ceaffd
--- a/icons/scalable/actions/Makefile.am
+++ b/icons/scalable/actions/Makefile.am
@@ -68,6 +68,8 @@ icon_DATA =   \
media-seek-forward.svg  \
row-insert.svg  \
row-remove.svg  \
+   select-all.svg  \
+   select-none.svg \
system-logout.svg   \
system-restart.svg  \
system-search.svg   \
diff --git a/icons/scalable/actions/select-all.svg 
b/icons/scalable/actions/select-all.svg
new file mode 100644
index 000..f1c29a9
--- /dev/null
+++ b/icons/scalable/actions/select-all.svg
@@ -0,0 +1,80 @@
+?xml version=1.0 encoding=UTF-8 standalone=no?
+svg
+   xmlns:osb=http://www.openswatchbook.org/uri/2009/osb;
+   xmlns:dc=http://purl.org/dc/elements/1.1/;
+   xmlns:cc=http://creativecommons.org/ns#;
+   xmlns:rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#;
+   xmlns:svg=http://www.w3.org/2000/svg;
+   xmlns=http://www.w3.org/2000/svg;
+   xmlns:sodipodi=http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd;
+   xmlns:inkscape=http://www.inkscape.org/namespaces/inkscape;
+   enable-background=new 0 0 55 54.696
+   height=54.696px
+   version=1.1
+   viewBox=0 0 55 54.696
+   width=55px
+   x=0px
+   xml:space=preserve
+   y=0px
+   id=svg2
+   inkscape:version=0.48.1 r9760
+   sodipodi:docname=select-all.svgmetadata
+ id=metadata13rdf:RDFcc:Work
+ rdf:about=dc:formatimage/svg+xml/dc:formatdc:type
+   rdf:resource=http://purl.org/dc/dcmitype/StillImage; /dc:title 
//cc:Work/rdf:RDF/metadatadefs
+ id=defs11linearGradient
+   id=linearGradient5208
+   osb:paint=solidstop
+ style=stop-color:#00;stop-opacity:1;
+ offset=0
+ id=stop5210 //linearGradientlinearGradient
+   id=linearGradient3758
+   osb:paint=solidstop
+ style=stop-color:#00;stop-opacity:1;
+ offset=0
+ id=stop3760 //linearGradient/defssodipodi:namedview
+ pagecolor=#ff
+ bordercolor=#66
+ borderopacity=1
+ objecttolerance=10
+ gridtolerance=10
+ guidetolerance=10
+ inkscape:pageopacity=0
+ inkscape:pageshadow=2
+ inkscape:window-width=1366
+ inkscape:window-height=693
+ id=namedview9
+ showgrid=false
+ inkscape:zoom=5.4300132
+ inkscape:cx=21.684358
+ inkscape:cy=27.348
+ inkscape:window-x=0
+ inkscape:window-y=25
+ inkscape:window-maximized=1
+ inkscape:current-layer=svg2 /rect
+ 
style=fill:none;stroke:#ff;stroke-width:3.0;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none
+ id=rect5214
+ width=36.219181
+ height=42.29937
+ x=9.3664637
+ 

Re: [Sugar-devel] Thanks Buddy !!!

2012-08-17 Thread Anish Mangal
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thx, for the kind words, I really appreciate it!

Although, I'm not going away from Sugar/OLPC anytime soon :-P, just my
involvement will be more as a volunteer with whatever time I can find.

Cheers and Happy hacking!
Anish

On Friday 17 August 2012 03:05 AM, Ajay Garg wrote:
 
 
 On Thu, Aug 16, 2012 at 8:28 PM, Chris Leonard
 cjlhomeaddr...@gmail.com mailto:cjlhomeaddr...@gmail.com
 wrote:
 
 On Thu, Aug 16, 2012 at 3:34 AM, Ajay Garg
 a...@activitycentral.com mailto:a...@activitycentral.com
 wrote:
 I would like to take this opportunity, in front of all the
 members
 of our
 small family ( well.. ok, not so small a family :P ), to thank
 the
 person,
 who has been responsible for my rejuvenation, and is the reason
 for my today's well-being state. He is, of course, Anish.
 
 
 A year back, Anish was the one who picked me up when I was
 completely, morally and mentally devastated. He said just one
 thing :: Ajay,
 please
 come back on track. I know your abilities. That was the thing
 that gave me
 the kick; and today, here I am -- lucky to be coding for
 inevitable, core
 requirements; and fully enjoying my work here at AC.
 
 
 I would also like to thank you all, for providing me the support,
 and (specifically AC) treating me so well.
 
 
 But as I say, the lion's share of my thanks, has to go to Anish
 :)
 
 
 Today, as Anish goes away to pursure his Masters, I recall all
 those fun
 moments we had in college, and thereafter. Lately, our weekly
 meet-up at our office at a Cafe Coffee Day
 outlet in
 Delhi, had become a topic of fun and laughter amongst ourselves,
 and friends
 :D I will surely miss those weekly fun moments ... !!!
 
 
 Thanks Anish for everything ... Congratulations again for another
 feather in the cap ... And lastly - the most important thing -
 have fun :D :D :D
 
 
 
 Regards, Ajay
 
 
 
 
 Ajay,
 
 You're story reminds me of another told by a character on an
 American television drama called West Wing:
 
 This guy's walking down the street when he falls in a hole. The 
 walls are so steep he can't get out. A doctor passes by and the guy
 shouts up, 'Hey you. Can you help me out?' The doctor writes a
 prescription, throws it down in the hole and moves on. Then a
 priest comes along and the guy shouts up, 'Father, I'm down in this
 hole can you help me out?' The priest writes out a prayer, throws
 it down in the hole and moves on Then a friend walks by, 'Hey, Joe,
 it's me can you help me out?' And the friend jumps in the hole. Our
 guy says, 'Are you stupid? Now we're both down here.' The friend
 says, 'Yeah, but I've been down here before and I know the way
 out.'
 
 Anish sounds like that sort of friend that will jump down into
 that hole and lead you out, which is a good friend indeed.
 
 
 Indeed. A great friend !!
 
 
 
 
 We seldom take enough time to acknowledge the mutual support we 
 provide to each other as a community, I'm glad Ajay has taken the
 time to tell his story.
 
 Anish,
 
 It has been a great pleasure to work with you on improving the 
 i18n/L10n of Dextrose, and I know your studies will command all of 
 your attention; however, I will not say good bye, but only au 
 revoir and best of luck in your new endeavour.
 
 
 Indeed. A goodbye has a tendency to cause forgetfulness. But Anish
 can never be forgotten.
 
 Phir milenge .. :)
 
 
 
 Regards, Ajay
 
 
 
 
 
 
 cjl Sugar Labs Translation Team Coordinator
 
 


- -- 
Anish Mangal
Dextrose Project Manager
Activity Central
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJQLof2AAoJEBoxUdDHDZVpbeEH+QFBV8IrtfyokJ3HettGMj9X
C1EuNSIOpoQ55UCQMfq8jbUC/osE16fZBQ0ey/wRtfskWxIW3meVl2JkyBqf0vzG
1oRV5UucodyemMCowXR+9DF8vKKN2F8ZuD+fULtDt5vM/IEU2KHXKuzivlIupaqo
Pl8RPVhvyzzW7R7xWlp71uJPLdbflt57yfkRG/vcJqXr6X30BGrmBK5PlgAafeSY
uWMoBVnAiGNk5AvyBfCgWbEmxorrAbCQvrnBIzcUG7svMyyhsra8P/lF+3LXcr2v
RSWE/p1awL7DB1M7kbPBUJbNYIe89OnillSWFKkY5z2789t45kxkQ2yaPPk6l+c=
=okes
-END PGP SIGNATURE-
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Thanks Buddy !!!

2012-08-17 Thread Ajay Garg
On Fri, Aug 17, 2012 at 11:35 PM, Anish Mangal an...@activitycentral.comwrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Thx, for the kind words, I really appreciate it!

 Although, I'm not going away from Sugar/OLPC anytime soon :-P,


Of course !!! We never said a goodbye :P





 just my
 involvement will be more as a volunteer with whatever time I can find.


That will be MORE THAN useful 
No doubt about that.




 Cheers and Happy hacking!
 Anish



Regards,
Ajay




 On Friday 17 August 2012 03:05 AM, Ajay Garg wrote:
 
 
  On Thu, Aug 16, 2012 at 8:28 PM, Chris Leonard
  cjlhomeaddr...@gmail.com mailto:cjlhomeaddr...@gmail.com
  wrote:
 
  On Thu, Aug 16, 2012 at 3:34 AM, Ajay Garg
  a...@activitycentral.com mailto:a...@activitycentral.com
  wrote:
  I would like to take this opportunity, in front of all the
  members
  of our
  small family ( well.. ok, not so small a family :P ), to thank
  the
  person,
  who has been responsible for my rejuvenation, and is the reason
  for my today's well-being state. He is, of course, Anish.
 
 
  A year back, Anish was the one who picked me up when I was
  completely, morally and mentally devastated. He said just one
  thing :: Ajay,
  please
  come back on track. I know your abilities. That was the thing
  that gave me
  the kick; and today, here I am -- lucky to be coding for
  inevitable, core
  requirements; and fully enjoying my work here at AC.
 
 
  I would also like to thank you all, for providing me the support,
  and (specifically AC) treating me so well.
 
 
  But as I say, the lion's share of my thanks, has to go to Anish
  :)
 
 
  Today, as Anish goes away to pursure his Masters, I recall all
  those fun
  moments we had in college, and thereafter. Lately, our weekly
  meet-up at our office at a Cafe Coffee Day
  outlet in
  Delhi, had become a topic of fun and laughter amongst ourselves,
  and friends
  :D I will surely miss those weekly fun moments ... !!!
 
 
  Thanks Anish for everything ... Congratulations again for another
  feather in the cap ... And lastly - the most important thing -
  have fun :D :D :D
 
 
 
  Regards, Ajay
 
 
 
 
  Ajay,
 
  You're story reminds me of another told by a character on an
  American television drama called West Wing:
 
  This guy's walking down the street when he falls in a hole. The
  walls are so steep he can't get out. A doctor passes by and the guy
  shouts up, 'Hey you. Can you help me out?' The doctor writes a
  prescription, throws it down in the hole and moves on. Then a
  priest comes along and the guy shouts up, 'Father, I'm down in this
  hole can you help me out?' The priest writes out a prayer, throws
  it down in the hole and moves on Then a friend walks by, 'Hey, Joe,
  it's me can you help me out?' And the friend jumps in the hole. Our
  guy says, 'Are you stupid? Now we're both down here.' The friend
  says, 'Yeah, but I've been down here before and I know the way
  out.'
 
  Anish sounds like that sort of friend that will jump down into
  that hole and lead you out, which is a good friend indeed.
 
 
  Indeed. A great friend !!
 
 
 
 
  We seldom take enough time to acknowledge the mutual support we
  provide to each other as a community, I'm glad Ajay has taken the
  time to tell his story.
 
  Anish,
 
  It has been a great pleasure to work with you on improving the
  i18n/L10n of Dextrose, and I know your studies will command all of
  your attention; however, I will not say good bye, but only au
  revoir and best of luck in your new endeavour.
 
 
  Indeed. A goodbye has a tendency to cause forgetfulness. But Anish
  can never be forgotten.
 
  Phir milenge .. :)
 
 
 
  Regards, Ajay
 
 
 
 
 
 
  cjl Sugar Labs Translation Team Coordinator
 
 


 - --
 Anish Mangal
 Dextrose Project Manager
 Activity Central
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.12 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iQEcBAEBAgAGBQJQLof2AAoJEBoxUdDHDZVpbeEH+QFBV8IrtfyokJ3HettGMj9X
 C1EuNSIOpoQ55UCQMfq8jbUC/osE16fZBQ0ey/wRtfskWxIW3meVl2JkyBqf0vzG
 1oRV5UucodyemMCowXR+9DF8vKKN2F8ZuD+fULtDt5vM/IEU2KHXKuzivlIupaqo
 Pl8RPVhvyzzW7R7xWlp71uJPLdbflt57yfkRG/vcJqXr6X30BGrmBK5PlgAafeSY
 uWMoBVnAiGNk5AvyBfCgWbEmxorrAbCQvrnBIzcUG7svMyyhsra8P/lF+3LXcr2v
 RSWE/p1awL7DB1M7kbPBUJbNYIe89OnillSWFKkY5z2789t45kxkQ2yaPPk6l+c=
 =okes
 -END PGP SIGNATURE-

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [PATCH sugar] Debug log before and after running ssh-keygen

2012-08-17 Thread Daniel Narvaez
Wow that was quick, thanks!

On 17 August 2012 19:12, Manuel Quiñones ma...@laptop.org wrote:
 Hi Daniel,

 sounds good and doesn't harm.

 2012/8/17 Daniel Narvaez dwnarv...@gmail.com:
 From: Daniel Narvaez dwnarv...@gmail.com

 It can take several seconds to generate keys on a slow/busy system
 and I suspect this is causing intermittent failures in the buildbot
 tests. Given the potential length of the operation it seems to be
 generally useful to have these logs.

 Acked-by: Manuel Quiñones ma...@laptop.org

 ---
  src/jarabe/intro/window.py |3 +++
  1 file changed, 3 insertions(+)

 diff --git a/src/jarabe/intro/window.py b/src/jarabe/intro/window.py
 index a6a2a29..15765f9 100644
 --- a/src/jarabe/intro/window.py
 +++ b/src/jarabe/intro/window.py
 @@ -62,11 +62,14 @@ def create_profile(name, color=None):
  logging.warning('Existing public key %s.pub moved to %s.pub.broken',
  keypath, keypath)

 +logging.debug(Generating user keypair)
 +
  cmd = ssh-keygen -q -t dsa -f %s -C '' -N '' % (keypath, )
  (s, o) = commands.getstatusoutput(cmd)
  if s != 0:
  logging.error('Could not generate key pair: %d %s', s, o)

 +logging.debug(User keypair generated)

  class _Page(gtk.VBox):
  __gproperties__ = {
 --
 1.7.10.2

 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel



 --
 .. manuq ..



-- 
Daniel Narvaez
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Fwd: Re: [opensuse-edu] Update Sugar packages

2012-08-17 Thread Xin Wang
Thank you for helping to spread.

Although we are almost there, some additional work is needed, any help
is appreciated. :)

2012/8/18 Thomas Gilliard satel...@bendbroadband.com

 Looks like sugar is being updated in opensuse


  Original Message 
 Subject: Re: [opensuse-edu] Update Sugar packages
 Date: Fri, 17 Aug 2012 22:55:13 +0800
 From: Xin Wang dram.w...@gmail.com
 To: Jigish Gohil cyber...@opensuse.org
 CC: opensuse-...@opensuse.org


 2012/8/17 Jigish Gohil cyber...@opensuse.org:
  On Fri, Aug 17, 2012 at 5:56 PM, Xin Wang dram.w...@gmail.com wrote:
  Hi all,
 
  A while back I updated Sugar packages (Glucose and Fructose)  to
  latest version (0.96), it is hosted at my home project on OBS [1].
 
  I have did some test, and now I would like to merge changes back into
  X11:Sugar.
 
  Because 0.96 partially require GTK 3.0, it seems unlikely to support
  11.4, even support for 12.1 will need many effort. I tend to only
  build 0.96 for 12.2 and Factory.
 
  I'm not sure which project should I submit merging request to,
  X11:Sugar [2] or X11:Sugar:Unstable [3]?
 
  What else I need to pay attention to?
 
  Hi Xin
 
  I've added you and litekok as maintainers to both Sugar projects, you
  are also a bugowner as no one else is working on sugar packages on
  openSUSE at the moment.
 

 OK, thanks.

  Let me know the status of packages, if the entire sugar stack is
  complete and usable, if so then we may include it again in openSUSE
  Edu Li-f-e media.
 

 It's great if Sugar can be included in Edu Li-f-e.

 If new Edu Li-f-e is based on 12.2, I'll focus on 12.2 firstly.

 I have updated Glucose and Fructose part of Sugar, those packages are
 quite usable, though some more tests is needed. For now, only known
 bug is Etoys failed to run in X86_64 platform, I'll try to fix it.

 When does new version of Edu Li-f-e scheduled to release? If time
 allows, I'll try to update other activity packages in X11:Sugar.

  Thanks,
 
  Thank you for your contribution
 
  -J
 
 
  [1]
  https://build.opensuse.org/project/show?project=home%3Adramwang%3Asugar
  [2] https://build.opensuse.org/project/show?project=X11%3ASugar
  [3]
  https://build.opensuse.org/project/show?project=X11%3ASugar%3AUnstable
 



 --
 Xin Wang (http://dram.me/
 )
 --
 To unsubscribe, e-mail: opensuse-edu+unsubscr...@opensuse.org
 To contact the owner, e-mail: opensuse-edu+ow...@opensuse.org






 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel




--
Xin Wang (http://dram.me/)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel