Re: [Sugar-devel] Download Manager ProgressBar [DESIGN]

2016-02-01 Thread James Cameron
A ToolButton normally has an Icon.

Instead of the Icon, assign the ProgressIcon?

As nobody else may have done this, you may need to find and fix any
bugs in ProgressIcon or ToolButton that prevent it.

On Mon, Feb 01, 2016 at 11:31:28PM +0530, Utkarsh Tiwari wrote:
> Is there any way to use a ProgressIcon as a Toolbutton ?
> 
> On 2/1/16, Sam P.  wrote:
> > Hello!
> >
> > Maybe just a large down arrow and fill it vertically?  See
> > 'emblem-downloads' or 'transfer-from' in sugar-artwork.
> >
> > Thanks,
> > Sam
> >
> >
> > On Mon, Feb 1, 2016 at 9:15 AM, Utkarsh Tiwari 
> > wrote:
> >
> >> How should the Icon for "Download Button" look like? Could you please
> >> provide me some artwork for reference. ?
> >>
> >> On 2/1/16, Utkarsh Tiwari  wrote:
> >> > Omg! I have been looking all over internet on how to integrate a
> >> > Gtk.ProgressBar into Gtk.Toolbutton and I even tried using
> >> > Gtk.CssProvider styler to scale down the progressbar to a button :D
> >> > Now that(ProgressIcon.py) sounds really cool!
> >> >
> >> > Thank you :) You made my work a bit easier ;)
> >> >
> >> > On 2/1/16, James Cameron  wrote:
> >> >> ProgressBar from Gtk is overkill, we already have a ProgressIcon
> >> >> in Sugar.
> >> >>
> >> >> In sugar-toolkit-gtk3:
> >> >>
> >> >> Look at progressicon.py, you will see it does not use a ProgressBar,
> >> >> but has a __draw_cb method connected to the "draw" signal.
> >> >>
> >> >> Look at toolbutton.py, you will see it wraps ToolButton do_draw
> >> >> method.
> >> >>
> >> >> On Mon, Feb 01, 2016 at 12:10:25AM +0530, Utkarsh Tiwari wrote:
> >> >>> "The button to be a blend of ProgressIcon and ToolButton". How to
> >> >>> convert a Gtk.ProgressBar to a Browse ToolButton?
> >> >>>
> >> >>> On 1/27/16, James Cameron  wrote:
> >> >>> > No.
> >> >>> >
> >> >>> > The position marked by your cursor seems to be inside the URL entry
> >> >>> > box.
> >> >>> >
> >> >>> > I said between the URL entry box and the back button.
> >> >>> >
> >> >>> > Review the Browse source code that defines these objects.
> >> >>> >
> >> >>> > On Wed, Jan 27, 2016 at 11:39:03AM +0530, Utkarsh Tiwari wrote:
> >> >>> >> Is this the exact expected location you were talking about the
> >> >>> >> 'download button' as shown in the screenshot below?
> >> >>> >>
> >> >>> >> http://imgur.com/T0hirTZ
> >> >>> >>
> >> >>> >> On 1/27/16, James Cameron  wrote:
> >> >>> >> > Thanks for working on this.
> >> >>> >> >
> >> >>> >> > Our Sugar human interface guidelines and existing code base
> >> >>> >> > don't
> >> >>> >> > have
> >> >>> >> > decorated floating windows or window management.  Your proposal
> >> >>> >> > would
> >> >>> >> > not scale to multiple downloads.
> >> >>> >> >
> >> >>> >> > You might ask for design suggestions on this mailing list.
> >> >>> >> >
> >> >>> >> > I've resisted making design suggestions on this problem because
> >> >>> >> > I
> >> >>> >> > don't want to constrain the good ideas that may come up.
> >> >>> >> >
> >> >>> >> > To get the design conversation started ...
> >> >>> >> >
> >> >>> >> > When the first download begins, show a button at the top between
> >> >>> >> > the
> >> >>> >> > URL entry box and the back button.
> >> >>> >> >
> >> >>> >> > The button to be a blend of ProgressIcon and ToolButton, with
> >> >>> >> > the
> >> >>> >> > progress fill to show average progress of all downloads.
> >> >>> >> >
> >> >>> >> > When the button is pressed a download tab is to be shown in the
> >> >>> >> > canvas, which lists downloads and progress.
> >> >>> >> >
> >> >>> >> > The download tab can be closed like any other tab.
> >> >>> >> >
> >> >>> >> > The button is to be be hidden before any downloads are started,
> >> >>> >> > shown
> >> >>> >> > on start of first download, and only hidden if the download tab
> >> >>> >> > is
> >> >>> >> > closed when there are no downloads still active.
> >> >>> >> >
> >> >>> >> > On Tue, Jan 26, 2016 at 06:08:32PM +0530, Utkarsh Tiwari wrote:
> >> >>> >> >> Hi,
> >> >>> >> >>
> >> >>> >> >>  I am trying to integrate the "Download ProgressBar" in the
> >> >>> >> >> download
> >> >>> >> >> manager. Here is the screenshot of the prototype on which I am
> >> >>> >> >> currently
> >> >>> >> >> working -> [1]http://imgur.com/WUJL8eX
> >> >>> >> >>
> >> >>> >> >> Since the download progress bar is popping over the browse
> >> >>> >> >> activity,
> >> >>> >> >> is
> >> >>> >> >> it
> >> >>> >> >> feasible?
> >> >>> >> >>
> >> >>> >> >> regards,
> >> >>> >> >> Utkarsh Tiwari
> >> >>> >> >>
> >> >>> >> >> References:
> >> >>> >> >>
> >> >>> >> >> [1] http://imgur.com/WUJL8eX
> >> >>> >> >
> >> >>> >> >> ___
> >> >>> >> >> Sugar-devel mailing list
> >> >>> >> >> Sugar-devel@lists.sugarlabs.org
> >> >>> >> >> http://lists.sugarlabs.org/listinfo/sugar-devel
> >> >>> >> >
> >> >>> >> >
> >> >>> >> 

Re: [Sugar-devel] Help us translating sugar

2016-02-01 Thread Martin Abente
Many thanks to those who contacted me offering for help, just a couple
recommendations:

1. Create your account in our platform [1].
2. Contact me to provide the name of your user and the languages are you
willing to translate.
3. Please use our platform to do the actual translation. The .po files in
the code are not up to date, only those in our platform.

Refs:
[1] http://translate.sugarlabs.org/


On Mon, Feb 1, 2016 at 4:07 AM, James Cameron  wrote:

> Create an account on http://translate.sugarlabs.org/ and let it guide
> you through work that is waiting.
>
> To assist with core Sugar translation, focus on
> http://translate.sugarlabs.org/projects/sugar/
>
> On Mon, Feb 01, 2016 at 12:20:52PM +0530, Utkarsh Tiwari wrote:
> > Hi,
> >  I would like to come forward. Could you please guide me how to
> proceed ?
>
> --
> James Cameron
> http://quozl.netrek.org/
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Help us translating sugar

2016-02-01 Thread Tymon Radzik
Hello Martin,
I have translated entire sugar package to Polish language, so it is ready
to be attached into release :)
I'm gonna spread a word about this action to my friends, who also know
other languages.
Best regards,
Tymon

pon., 1.02.2016 o 03:10 użytkownik Martin Abente <
martin.abente.lah...@gmail.com> napisał:

> Hello everyone,
>
> I spent this weekend making sure that our translation platform [1] was
> running fine and I updated the templates for sugar and sugar-toolkit-gtk3
> projects. Compared to the last release, there are *only 97 new words *to
> be translated in sugar [2].
>
> I also completed the Spanish translations [3], but the more we complete
> the better, so *we need your help*! We have time until February 9th, so I
> can merge the changes and do basic QA at least before the 0.108 release.
>
> *Spread the word!*
>
> Thanks,
> Martin.
>
> Refs:
> [1] http://translate.sugarlabs.org/
> [2] http://translate.sugarlabs.org/projects/sugar/
> [3]
> https://github.com/sugarlabs/sugar/commit/8a08aa604df7434e9581bfaf021fa4305093cf9d
>
-- 
Z poważaniem,
Tymon Radzik
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Download Manager ProgressBar [DESIGN]

2016-02-01 Thread Utkarsh Tiwari
Is there any way to use a ProgressIcon as a Toolbutton ?

On 2/1/16, Sam P.  wrote:
> Hello!
>
> Maybe just a large down arrow and fill it vertically?  See
> 'emblem-downloads' or 'transfer-from' in sugar-artwork.
>
> Thanks,
> Sam
>
>
> On Mon, Feb 1, 2016 at 9:15 AM, Utkarsh Tiwari 
> wrote:
>
>> How should the Icon for "Download Button" look like? Could you please
>> provide me some artwork for reference. ?
>>
>> On 2/1/16, Utkarsh Tiwari  wrote:
>> > Omg! I have been looking all over internet on how to integrate a
>> > Gtk.ProgressBar into Gtk.Toolbutton and I even tried using
>> > Gtk.CssProvider styler to scale down the progressbar to a button :D
>> > Now that(ProgressIcon.py) sounds really cool!
>> >
>> > Thank you :) You made my work a bit easier ;)
>> >
>> > On 2/1/16, James Cameron  wrote:
>> >> ProgressBar from Gtk is overkill, we already have a ProgressIcon
>> >> in Sugar.
>> >>
>> >> In sugar-toolkit-gtk3:
>> >>
>> >> Look at progressicon.py, you will see it does not use a ProgressBar,
>> >> but has a __draw_cb method connected to the "draw" signal.
>> >>
>> >> Look at toolbutton.py, you will see it wraps ToolButton do_draw
>> >> method.
>> >>
>> >> On Mon, Feb 01, 2016 at 12:10:25AM +0530, Utkarsh Tiwari wrote:
>> >>> "The button to be a blend of ProgressIcon and ToolButton". How to
>> >>> convert a Gtk.ProgressBar to a Browse ToolButton?
>> >>>
>> >>> On 1/27/16, James Cameron  wrote:
>> >>> > No.
>> >>> >
>> >>> > The position marked by your cursor seems to be inside the URL entry
>> >>> > box.
>> >>> >
>> >>> > I said between the URL entry box and the back button.
>> >>> >
>> >>> > Review the Browse source code that defines these objects.
>> >>> >
>> >>> > On Wed, Jan 27, 2016 at 11:39:03AM +0530, Utkarsh Tiwari wrote:
>> >>> >> Is this the exact expected location you were talking about the
>> >>> >> 'download button' as shown in the screenshot below?
>> >>> >>
>> >>> >> http://imgur.com/T0hirTZ
>> >>> >>
>> >>> >> On 1/27/16, James Cameron  wrote:
>> >>> >> > Thanks for working on this.
>> >>> >> >
>> >>> >> > Our Sugar human interface guidelines and existing code base
>> >>> >> > don't
>> >>> >> > have
>> >>> >> > decorated floating windows or window management.  Your proposal
>> >>> >> > would
>> >>> >> > not scale to multiple downloads.
>> >>> >> >
>> >>> >> > You might ask for design suggestions on this mailing list.
>> >>> >> >
>> >>> >> > I've resisted making design suggestions on this problem because
>> >>> >> > I
>> >>> >> > don't want to constrain the good ideas that may come up.
>> >>> >> >
>> >>> >> > To get the design conversation started ...
>> >>> >> >
>> >>> >> > When the first download begins, show a button at the top between
>> >>> >> > the
>> >>> >> > URL entry box and the back button.
>> >>> >> >
>> >>> >> > The button to be a blend of ProgressIcon and ToolButton, with
>> >>> >> > the
>> >>> >> > progress fill to show average progress of all downloads.
>> >>> >> >
>> >>> >> > When the button is pressed a download tab is to be shown in the
>> >>> >> > canvas, which lists downloads and progress.
>> >>> >> >
>> >>> >> > The download tab can be closed like any other tab.
>> >>> >> >
>> >>> >> > The button is to be be hidden before any downloads are started,
>> >>> >> > shown
>> >>> >> > on start of first download, and only hidden if the download tab
>> >>> >> > is
>> >>> >> > closed when there are no downloads still active.
>> >>> >> >
>> >>> >> > On Tue, Jan 26, 2016 at 06:08:32PM +0530, Utkarsh Tiwari wrote:
>> >>> >> >> Hi,
>> >>> >> >>
>> >>> >> >>  I am trying to integrate the "Download ProgressBar" in the
>> >>> >> >> download
>> >>> >> >> manager. Here is the screenshot of the prototype on which I am
>> >>> >> >> currently
>> >>> >> >> working -> [1]http://imgur.com/WUJL8eX
>> >>> >> >>
>> >>> >> >> Since the download progress bar is popping over the browse
>> >>> >> >> activity,
>> >>> >> >> is
>> >>> >> >> it
>> >>> >> >> feasible?
>> >>> >> >>
>> >>> >> >> regards,
>> >>> >> >> Utkarsh Tiwari
>> >>> >> >>
>> >>> >> >> References:
>> >>> >> >>
>> >>> >> >> [1] http://imgur.com/WUJL8eX
>> >>> >> >
>> >>> >> >> ___
>> >>> >> >> Sugar-devel mailing list
>> >>> >> >> Sugar-devel@lists.sugarlabs.org
>> >>> >> >> http://lists.sugarlabs.org/listinfo/sugar-devel
>> >>> >> >
>> >>> >> >
>> >>> >> > --
>> >>> >> > James Cameron
>> >>> >> > http://quozl.netrek.org/
>> >>> >> > ___
>> >>> >> > Sugar-devel mailing list
>> >>> >> > Sugar-devel@lists.sugarlabs.org
>> >>> >> > http://lists.sugarlabs.org/listinfo/sugar-devel
>> >>> >> >
>> >>> >
>> >>> > --
>> >>> > James Cameron
>> >>> > http://quozl.netrek.org/
>> >>> >
>> >>
>> >> --
>> >> James Cameron
>> >> http://quozl.netrek.org/
>> >>
>> >
>> ___
>> Sugar-devel