Re: [Sugar-devel] SugarLabs server - web page

2012-01-04 Thread Alan Jhonn Aguiar Schwyn


Maybe.. cross information?
The spreadsheet now have: number of the latest version and in which Sugar runs..
https://docs.google.com/spreadsheet/ccc?key=0AntaXnq4oy2_dFJjNE9TemZUUGtzLVNEQnF4UlIwQkE

We should check whether each activity works in the sugar it says, and if 
possible, try on a XO...
Some activities runs on the new Sugar (0.94 or 0.96) but when was uploads, no 
had it option..
Date: Wed, 4 Jan 2012 07:15:11 -0800
From: satel...@bendbroadband.com
To: alan...@hotmail.com
CC: de...@lists.laptop.org; sugar-devel@lists.sugarlabs.org; 
a...@lists.sugarlabs.org; walter.ben...@gmail.com
Subject: Re: [Sugar-devel] SugarLabs server - web page



  



  
  
I did a preliminary cut on this topic last year:



http://wiki.sugarlabs.org/go/Features/Soas_V4/ASLOxo_Activity_Test_Table#Activity_Test_Results



It has not been updated 

"This page was last modified on 1 November 2010, at 12:14."



Tom Gilliard



On 01/03/2012 08:20 PM, Alan Jhonn Aguiar Schwyn wrote:

  
  
Hi,



Many times, I wondered, what activities had to Sugar page
  SL (SugarLabs). But when you are
looking for, not is easily to find the activities that are
  not public. Furthermore, when adding a
new activity, you do not know if there is already a similar
  (even the same) on the server.
So I started making a list of everything I had in the
  server:



http://download.sugarlabs.org/activities/





Is a simple system: a folder for an activity and after, in
  the web, with the same number: the
page of the activity.
For example: 
the activity "I know America" was in the server in: 
http://download.sugarlabs.org/activities/4464/
And in SugarLabs: http://activities.sugarlabs.org/en-US/sugar/addon/4464



When I check all the files, I encountered many interesting
  things..
Activities that did not even have a page on SL... Duplicate
  activities/files..
So we have supplemented the list with that information.
In the first column, see the "id" that is automatically
  generated on the server. In the second column
shows the name of the activity that is in that folder. In
  the spaces are blank, because there are no
such folders on the server. In the column "Notes" are cases
  in which there are empty folders.
The third column "Page" indicates the status of that
  activity in SL. Green means it is public.
Orange means it is as "Experimental". Red means there is no
  page for this activity!
With the same color, I try to show the duplicate files..



Who is the maintainer of the site / server?



File attached:




https://docs.google.com/spreadsheet/ccc?key=0AntaXnq4oy2_dFJjNE9TemZUUGtzLVNEQnF4UlIwQkE





Regards



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


  


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


Re: [Sugar-devel] [RELEASE] Abacus V31

2012-01-04 Thread Walter Bender
On Wed, Jan 4, 2012 at 5:56 AM, Peter Robinson  wrote:
> Hey Walter,
>
> It looks like the setup.py needs to be updated for the gtk3 bits. I'm
> getting the following error when building a rpm.
>
> + unset DISPLAY
> + python ./setup.py build
> Traceback (most recent call last):
>  File "./setup.py", line 2, in 
>    from sugar.activity import bundlebuilder
> ImportError: No module named sugar.activity
> RPM build errors:
>
> Full logs are
> http://koji.fedoraproject.org/koji/getfile?taskID=3617202&name=build.log

Erikos provided a patch. The version on d.sl.o  [1] should now be correct.

[1] http://download.sugarlabs.org/sources/honey/Abacus/Abacus-31.tar.bz2

thanks.

-walter
>
> Peter
>
> On Wed, Jan 4, 2012 at 12:10 AM, Walter Bender  
> wrote:
>> I've released v31 of Abacus [1]. This is a GTK-3 version of the
>> activity, intended for Sugar 0.96 use only.
>>
>> enjoy.
>>
>> -walter
>>
>> [1] http://download.sugarlabs.org/sources/honey/Abacus/Abacus-31.tar.bz2
>>
>> --
>> Walter Bender
>> Sugar Labs
>> http://www.sugarlabs.org



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


Re: [Sugar-devel] [PATCH browse] Adopt to WebKit API for title of the browser widget

2012-01-04 Thread Manuel Quiñones
2012/1/4 Simon Schampijer :
> The webkitgtk API [1] does return None if the title is not
> set. Adopt to that change.
>
> [1] 
> http://webkitgtk.org/reference/webkitgtk-webkitwebview.html#WebKitWebView--title
> ---
>  webactivity.py |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/webactivity.py b/webactivity.py
> index 9ccbe4c..e314566 100644
> --- a/webactivity.py
> +++ b/webactivity.py
> @@ -426,7 +426,7 @@ class WebActivity(activity.Activity):
>             browser = self._tabbed_view.current_browser
>
>             if not self._jobject.metadata['title_set_by_user'] == '1':
> -                if browser.props.title == '':
> +                if browser.props.title == None:
>                     self.metadata['title'] = _('Untitled')
>                 else:
>                     self.metadata['title'] = browser.props.title
> --
> 1.7.7.3

Tested, works as expected now.

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


Re: [Sugar-devel] SugarLabs server - web page

2012-01-04 Thread Thomas C Gilliard

I did a preliminary cut on this topic last year:

http://wiki.sugarlabs.org/go/Features/Soas_V4/ASLOxo_Activity_Test_Table#Activity_Test_Results

It has not been updated
"This page was last modified on 1 November 2010, at 12:14."

Tom Gilliard

On 01/03/2012 08:20 PM, Alan Jhonn Aguiar Schwyn wrote:

Hi,

Many times, I wondered, what activities had to Sugar page SL 
(SugarLabs). But when you are
looking for, not is easily to find the activities that are not public. 
Furthermore, when adding a
new activity, you do not know if there is already a similar (even the 
same) on the server.

So I started making a list of everything I had in the server:

http://download.sugarlabs.org/activities/

Is a simple system: a folder for an activity and after, in the web, 
with the same number: the

page of the activity.
For example:
the activity "I know America" was in the server in: 
http://download.sugarlabs.org/activities/4464/

And in SugarLabs: http://activities.sugarlabs.org/en-US/sugar/addon/4464

When I check all the files, I encountered many interesting things..
Activities that did not even have a page on SL... Duplicate 
activities/files..

So we have supplemented the list with that information.
In the first column, see the "id" that is automatically generated on 
the server. In the second column
shows the name of the activity that is in that folder. In the spaces 
are blank, because there are no
such folders on the server. In the column "Notes" are cases in which 
there are empty folders.
The third column "Page" indicates the status of that activity in SL. 
Green means it is public.
Orange means it is as "Experimental". Red means there is no page for 
this activity!

With the same color, I try to show the duplicate files..

Who is the maintainer of the site / server?

File attached:

https://docs.google.com/spreadsheet/ccc?key=0AntaXnq4oy2_dFJjNE9TemZUUGtzLVNEQnF4UlIwQkE

Regards

Alan


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


Re: [Sugar-devel] [ASLO] SugarLabs server - web page

2012-01-04 Thread Hernan Pachas
Hola Chris: totalmente de acuerdo.

Alan : Será posible agregar el link hacia los lugares donde se encuentra
cada actividad, dentro de la lista?

He navegado por :http://download.sugarlabs.org/activities/ y solo se
encuentran las actividades listas para descargar.

Para nosotros en Perú, será importante ubicar actividades que se encuentren
en español y conocer para que Sugar se han desarrollado. Con el link que
nos puedan proporcionar, podremos realizar el seguimiento de la actividad.

El trabajo de Alan, ayuda a filtrar la gran cantidad de actividades que se
encuentra en la web.

---hernan




El 4 de enero de 2012 09:57, Chris Leonard escribió:

> On Wed, Jan 4, 2012 at 9:46 AM, Hernan Pachas 
> wrote:
> > Sería muy positivo, agregar:
> >
> > IDIOMAS, de esa manera es más productivo saber que actividad se encuentra
> > disponible para determinado país.
> > Desarrollado para: indicar sobre que sugar se ejecuta la actividad.
> >
> > Saludos,
> >
> > ---hernán
>
>
> Hernán,
>
> Un enlace a donde se localiza dará la información más actualizada del
> estado de la traducción de activiidad. mantener una lista de forma
> manual sería más esfuerzo que vale la pena.
>
> cjl
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [ASLO] SugarLabs server - web page

2012-01-04 Thread Chris Leonard
On Wed, Jan 4, 2012 at 9:46 AM, Hernan Pachas  wrote:
> Sería muy positivo, agregar:
>
> IDIOMAS, de esa manera es más productivo saber que actividad se encuentra
> disponible para determinado país.
> Desarrollado para: indicar sobre que sugar se ejecuta la actividad.
>
> Saludos,
>
> ---hernán


Hernán,

Un enlace a donde se localiza dará la información más actualizada del
estado de la traducción de activiidad. mantener una lista de forma
manual sería más esfuerzo que vale la pena.

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


Re: [Sugar-devel] [ASLO] SugarLabs server - web page

2012-01-04 Thread Hernan Pachas
Sería muy positivo, agregar:

IDIOMAS, de esa manera es más productivo saber que actividad se encuentra
disponible para determinado país.
Desarrollado para: indicar sobre que sugar se ejecuta la actividad.

Saludos,

---hernán




2012/1/4 Chris Leonard 

> On Wed, Jan 4, 2012 at 8:56 AM, Walter Bender 
> wrote:
> >> Automatically?
> >>
> >> No.. I make it, manually...
> >
> > Wow. A lot of work. Thank you for the effort.
>
>
> Yes, thank you for the work.  We need to do this sort of quality
> control checking on the consistency of our resources more frequently.
> I do a lot of it on Pootle, but fortunately, it is pretty well set up
> for that sort of review.
>
> This particular listing is of great interest to me as getting more
> (most) ASLO activities set up for L10n in Pootle (or pointing people
> to their L10n hosting) is one of my personal goals for the Translation
> Team effort in the long to medium term.
>
> It would be a wonderful feature if the ASLO page for an Activity
> offered a link to where the localization is hosted.   This would
> enable users to become contributors to their favorite actitivies via
> L10n.  I would be happy to work with the Activity or Platform Teams to
> provide this information.  I contributed only yes or no for the L10n
> column on Alan's sheet, but it would be fairly simple for me to turn
> that into links.
>
> cjl
> Sugar Labs Translation Team
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [RELEASE] Abacus V31

2012-01-04 Thread Walter Bender
On Wed, Jan 4, 2012 at 5:56 AM, Peter Robinson  wrote:
> Hey Walter,
>
> It looks like the setup.py needs to be updated for the gtk3 bits. I'm
> getting the following error when building a rpm.
>
> + unset DISPLAY
> + python ./setup.py build
> Traceback (most recent call last):
>  File "./setup.py", line 2, in 
>    from sugar.activity import bundlebuilder
> ImportError: No module named sugar.activity
> RPM build errors:
>
> Full logs are
> http://koji.fedoraproject.org/koji/getfile?taskID=3617202&name=build.log
>
> Peter
>
> On Wed, Jan 4, 2012 at 12:10 AM, Walter Bender  
> wrote:
>> I've released v31 of Abacus [1]. This is a GTK-3 version of the
>> activity, intended for Sugar 0.96 use only.
>>
>> enjoy.
>>
>> -walter
>>
>> [1] http://download.sugarlabs.org/sources/honey/Abacus/Abacus-31.tar.bz2
>>
>> --
>> Walter Bender
>> Sugar Labs
>> http://www.sugarlabs.org

I need to build a gtk-3 environment in order to run the patched
setup.py in order to generate a new tarball for you. Will report back
when I get all of that setup. Meanwhile, if you could try patching
setup.py by hand to import from sugar3, in theory, that will solve the
problem.

-walter

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


Re: [Sugar-devel] [ASLO] SugarLabs server - web page

2012-01-04 Thread Chris Leonard
On Wed, Jan 4, 2012 at 8:56 AM, Walter Bender  wrote:
>> Automatically?
>>
>> No.. I make it, manually...
>
> Wow. A lot of work. Thank you for the effort.


Yes, thank you for the work.  We need to do this sort of quality
control checking on the consistency of our resources more frequently.
I do a lot of it on Pootle, but fortunately, it is pretty well set up
for that sort of review.

This particular listing is of great interest to me as getting more
(most) ASLO activities set up for L10n in Pootle (or pointing people
to their L10n hosting) is one of my personal goals for the Translation
Team effort in the long to medium term.

It would be a wonderful feature if the ASLO page for an Activity
offered a link to where the localization is hosted.   This would
enable users to become contributors to their favorite actitivies via
L10n.  I would be happy to work with the Activity or Platform Teams to
provide this information.  I contributed only yes or no for the L10n
column on Alan's sheet, but it would be fairly simple for me to turn
that into links.

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


Re: [Sugar-devel] [DESIGN] Browse: [+] for adding a new tab always at the far right?

2012-01-04 Thread Alan Jhonn Aguiar Schwyn

"Btw, Safari uses the same style, with a button at the far 
right for adding a new tab"Safari.. yes..But: Internet Explorer, Mozilla 
Firefox, Google Chrome.. no..Have the button at right of the last 
tab..Personally, I like in this place.. :-)___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [ASLO] SugarLabs server - web page

2012-01-04 Thread Walter Bender
On Wed, Jan 4, 2012 at 8:51 AM, Alan Jhonn Aguiar Schwyn
 wrote:
>
>> I don't know. I just noticed that one, which made me doubt the
>> accuracy of the data. Was it automatically compiled?
>>
>
> Automatically?
>
> No.. I make it, manually...

Wow. A lot of work. Thank you for the effort.

>
> Without permissions.. I only can read...

Isn't that all that is required?

regards.

-walter
>
> ___
> Devel mailing list
> de...@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>



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


Re: [Sugar-devel] [ASLO] SugarLabs server - web page

2012-01-04 Thread Alan Jhonn Aguiar Schwyn


> I don't know. I just noticed that one, which made me doubt the
> accuracy of the data. Was it automatically compiled?
> 

Automatically?
No.. I make it, manually...
Without permissions.. I only can read...
  ___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [ASLO] SugarLabs server - web page

2012-01-04 Thread Walter Bender
On Wed, Jan 4, 2012 at 8:35 AM, Alan Jhonn Aguiar Schwyn
 wrote:
>> I am confused. VisualMatch is "red" in your spreadsheet, but it has a
>> page. What am I not understanding?
>>
>
> I check again and find the error..
>
> Was fixed...
>
> Another problem to fix?

I don't know. I just noticed that one, which made me doubt the
accuracy of the data. Was it automatically compiled?

regards.

-walter
>
> ___
> ASLO mailing list
> a...@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/aslo
>



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


Re: [Sugar-devel] SugarLabs server - web page

2012-01-04 Thread Alan Jhonn Aguiar Schwyn

> I am confused. VisualMatch is "red" in your spreadsheet, but it has a
> page. What am I not understanding?
> 

I check again and find the error..
Was fixed...

Another problem to fix?   ___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [PATCH browse] Adopt to WebKit API for title of the browser widget

2012-01-04 Thread Simon Schampijer
The webkitgtk API [1] does return None if the title is not
set. Adopt to that change.

[1] 
http://webkitgtk.org/reference/webkitgtk-webkitwebview.html#WebKitWebView--title
---
 webactivity.py |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/webactivity.py b/webactivity.py
index 9ccbe4c..e314566 100644
--- a/webactivity.py
+++ b/webactivity.py
@@ -426,7 +426,7 @@ class WebActivity(activity.Activity):
 browser = self._tabbed_view.current_browser
 
 if not self._jobject.metadata['title_set_by_user'] == '1':
-if browser.props.title == '':
+if browser.props.title == None:
 self.metadata['title'] = _('Untitled')
 else:
 self.metadata['title'] = browser.props.title
-- 
1.7.7.3

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


Re: [Sugar-devel] SugarLabs server - web page

2012-01-04 Thread Walter Bender
On Tue, Jan 3, 2012 at 11:20 PM, Alan Jhonn Aguiar Schwyn
 wrote:
> Hi,
>
> Many times, I wondered, what activities had to Sugar page SL (SugarLabs).
> But when you are
> looking for, not is easily to find the activities that are not public.
> Furthermore, when adding a
> new activity, you do not know if there is already a similar (even the same)
> on the server.
> So I started making a list of everything I had in the server:
>
> http://download.sugarlabs.org/activities/
>
> Is a simple system: a folder for an activity and after, in the web, with the
> same number: the
> page of the activity.
> For example:
> the activity "I know America" was in the server
> in: http://download.sugarlabs.org/activities/4464/
> And in SugarLabs: http://activities.sugarlabs.org/en-US/sugar/addon/4464

Nice.

>
> When I check all the files, I encountered many interesting things..
> Activities that did not even have a page on SL... Duplicate
> activities/files..
> So we have supplemented the list with that information.
> In the first column, see the "id" that is automatically generated on the
> server. In the second column
> shows the name of the activity that is in that folder. In the spaces are
> blank, because there are no
> such folders on the server. In the column "Notes" are cases in which there
> are empty folders.
> The third column "Page" indicates the status of that activity in SL. Green
> means it is public.
> Orange means it is as "Experimental". Red means there is no page for this
> activity!

I am confused. VisualMatch is "red" in your spreadsheet, but it has a
page. What am I not understanding?

regards.

-walter
> With the same color, I try to show the duplicate files..
>
> Who is the maintainer of the site / server?
>
> File attached:
>
> https://docs.google.com/spreadsheet/ccc?key=0AntaXnq4oy2_dFJjNE9TemZUUGtzLVNEQnF4UlIwQkE
>
> Regards
>
> Alan



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


[Sugar-devel] [PATCH sugar] SugarAdhoc networks: make 'connect' option in Palette available

2012-01-04 Thread Simon Schampijer
The palette got only updated on device state changes so far,
but is not initialised on startup. The device state is now signaled
as well on bringup from the manager to the widget.
---
 src/jarabe/desktop/meshbox.py |2 +-
 src/jarabe/model/adhoc.py |1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/jarabe/desktop/meshbox.py b/src/jarabe/desktop/meshbox.py
index 2ce6163..2bf6334 100644
--- a/src/jarabe/desktop/meshbox.py
+++ b/src/jarabe/desktop/meshbox.py
@@ -606,10 +606,10 @@ class MeshBox(gtk.VBox):
 def add_adhoc_networks(self, device):
 if self._adhoc_manager is None:
 self._adhoc_manager = get_adhoc_manager_instance()
-self._adhoc_manager.start_listening(device)
 self._add_adhoc_network_icon(1)
 self._add_adhoc_network_icon(6)
 self._add_adhoc_network_icon(11)
+self._adhoc_manager.start_listening(device)
 self._adhoc_manager.autoconnect()
 
 def remove_adhoc_networks(self):
diff --git a/src/jarabe/model/adhoc.py b/src/jarabe/model/adhoc.py
index 09325ed..58ff1c0 100644
--- a/src/jarabe/model/adhoc.py
+++ b/src/jarabe/model/adhoc.py
@@ -82,6 +82,7 @@ class AdHocManager(gobject.GObject):
 self._device = device
 props = dbus.Interface(device, dbus.PROPERTIES_IFACE)
 self._device_state = props.Get(network.NM_DEVICE_IFACE, 'State')
+self._update_state()
 
 self._bus.add_signal_receiver(self.__device_state_changed_cb,
   signal_name='StateChanged',
-- 
1.7.7.3

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


Re: [Sugar-devel] [RELEASE] Abacus V31

2012-01-04 Thread Peter Robinson
Hey Walter,

It looks like the setup.py needs to be updated for the gtk3 bits. I'm
getting the following error when building a rpm.

+ unset DISPLAY
+ python ./setup.py build
Traceback (most recent call last):
  File "./setup.py", line 2, in 
from sugar.activity import bundlebuilder
ImportError: No module named sugar.activity
RPM build errors:

Full logs are
http://koji.fedoraproject.org/koji/getfile?taskID=3617202&name=build.log

Peter

On Wed, Jan 4, 2012 at 12:10 AM, Walter Bender  wrote:
> I've released v31 of Abacus [1]. This is a GTK-3 version of the
> activity, intended for Sugar 0.96 use only.
>
> enjoy.
>
> -walter
>
> [1] http://download.sugarlabs.org/sources/honey/Abacus/Abacus-31.tar.bz2
>
> --
> Walter Bender
> Sugar Labs
> http://www.sugarlabs.org
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Browse: [+] for adding a new tab always at the far right?

2012-01-04 Thread Manuel Quiñones
2012/1/4 Simon Schampijer :
> Hi,
>
> due to API changes in the GTK Notebook [1] we can add now an action widget
> to it (e.g. a button to add a new tab). So far our 'add-new-tab'-button in
> Browse was another special tab. We could simplify the Browse code a lot by
> using the action widget instead. Yay!
>
> There will be a visual difference with this approach, the Button will always
> be at the far right. I don't think this is a regression over the old design
> where the button was always next to the last tab, but thought I mentioned it
> here so Designers can scream now if they see any issue with this. Btw,
> Safari uses the same style, with a button at the far right for adding a new
> tab (once a tab is open).
>
> Attached is as well a screenshot that illustrates this (don't pay attention
> to the colors we are working on the the theme atm...).

After thinking for a while, I see this as a feature.  The '+' button
is always in the same place.

One difference to consider is that using this action widget, the '+'
is no more inside a tab, resembling "add tab" action.  But I think it
is still obvious, being in the same row as tabs.

And yes, the code simplification is great, current implementation of
the '+' is a bit hackish, and is giving errors in the logs.

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


[Sugar-devel] [DESIGN] Browse: [+] for adding a new tab always at the far right?

2012-01-04 Thread Simon Schampijer

Hi,

due to API changes in the GTK Notebook [1] we can add now an action 
widget to it (e.g. a button to add a new tab). So far our 
'add-new-tab'-button in Browse was another special tab. We could 
simplify the Browse code a lot by using the action widget instead. Yay!


There will be a visual difference with this approach, the Button will 
always be at the far right. I don't think this is a regression over the 
old design where the button was always next to the last tab, but thought 
I mentioned it here so Designers can scream now if they see any issue 
with this. Btw, Safari uses the same style, with a button at the far 
right for adding a new tab (once a tab is open).


Attached is as well a screenshot that illustrates this (don't pay 
attention to the colors we are working on the the theme atm...).


Regards,
   Simon

[1] 
http://developer.gnome.org/gtk3/3.0/GtkNotebook.html#gtk-notebook-set-action-widget
<>___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [PATCH browse] Improve session store and restore

2012-01-04 Thread Simon Schampijer

On 04/01/12 03:57, Manuel Quiñones wrote:

This is the review from Simon Schampijer of commit
14102bcd65f015dcbf12d1406df8ef7ffb64d13d .

* the sessionstore code is moved into Browser, we do have
   set_history_index/get_history_index already there, the TabbedView
   does use that path for their requests about the history

* Rename a few bits s/session/history and the return value from
   self.get_back_forward_list() Use back_forward_list as variable

* Fold _get_history and _set_history into their appropriate 'mother'
   methods

* Make set_history_index a bit cleaner, the API provided by webkitgtk
   does not seem to cleanly allow our usage like:
   get_current_item_index and go_to_back_forward_item(index) also the
   API does seem to miss a back_forward_list.get_length() (see the code
   we have to do in _items_history_as_list) there only exist a
   back_forward_list.get_back_length() and
   back_forward_list.get_forward_length().

Signed-off-by: Manuel Quiñones


Looks good, let's get it in!

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


Re: [Sugar-devel] Free Terminal?

2012-01-04 Thread Sean DALY
The first time I found & opened Terminal, I did an ls and saw that
there were comands prefaced with "sugar". I ran one out of curiosity,
and wiped out the Journal, which taught me the valuable lesson that
tinkering with the command line could destroy the environment...

Sean


On Tue, Jan 3, 2012 at 8:52 PM, Martin Langhoff
 wrote:
> On Tue, Dec 20, 2011 at 1:37 PM, Samuel Klein  wrote:
>> Terminal is currently hidden by default on many builds.  How about unhiding
>> it or replacing it with an activity that offers more of an intro to the
>> command line?
>> It is an important tool for understanding how your computer works.
>
> But it is also an _advanced_ tool, and a dangerous tool.
>
> It breaks one of the core principles of Sugar -- it is easy to _break_
> stuff. So it is fitting that it sits a bit hidden. Just like your
> swiss knife has the sharp blades folded in while in your pocket.
>
> cheers,
>
>
>
> m
> --
>  martin.langh...@gmail.com
>  mar...@laptop.org -- Software Architect - OLPC
>  - ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel