[prev in list] [next in list] [prev in thread] [next in thread] 

List:       olpc-sugar
Subject:    Re: [Sugar-devel] [SPAM?]: Re: [PATCH sugar v2] Add Control Panel for proxy settings
From:       Walter Bender <walter.bender () gmail ! com>
Date:       2012-01-30 12:57:44
Message-ID: CADf7C8u6BhnP59a=DXPfp7P3NyXB8KKF+CdJVFG6NaeBUmBvFA () mail ! gmail ! com
[Download RAW message or body]

On Mon, Jan 30, 2012 at 6:56 AM, Simon Schampijer <simon@schampijer.de> wro=
te:
> On 01/30/2012 10:26 AM, Simon Schampijer wrote:
>>
>> Hi Gary,
>>
>> thanks for the feedback!
>>
>> On 01/29/2012 05:46 PM, Gary Martin wrote:
>>>
>>> Hi Simon,
>>>
>>> On 28 Jan 2012, at 14:20, Simon Schampijer<simon@schampijer.de> wrote:
>>>
>>>> On 01/28/2012 01:44 PM, Simon Schampijer wrote:
>>>>>
>>>>> On 01/26/2012 07:15 PM, Simon Schampijer wrote:
>>>>>>
>>>>>> On 01/24/2012 09:56 PM, Sascha Silbe wrote:
>>>>>>>
>>>>>>> From: Aleksey Lim<alsroot@activitycentral.org>
>>>>>>>
>>>>>>> Both individual users and deployments need to be able to set a
>>>>>>> proxy for
>>>>>>> Sugar and activities to use. While we'd like the system to work
>>>>>>> that all
>>>>>>> out automatically (e.g. using WPAD [1]), this often isn't possible.
>>>>>>> Common
>>>>>>> reasons include legacy ("inherited") setups and network uplinks
>>>>>>> simply
>>>>>>> being
>>>>>>> out of control of the user respectively deployment.
>>>>>>>
>>>>>>> For consistency between Sugar and Gnome (and to the benefit of
>>>>>>> existing users
>>>>>>> who currently switch to Gnome to change proxy settings), the
>>>>>>> layout of
>>>>>>> the
>>>>>>> Gnome proxy settings dialog has been mirrored as much as possible.
>>>>>>>
>>>>>>> [1] https://en.wikipedia.org/wiki/Web_Proxy_Autodiscovery_Protocol
>>>>>>>
>>>>>>> Signed-off-by: Anish Mangal<anish@sugarlabs.org>
>>>>>>> [replaced description; merged fix-up patches from Aleksey; style
>>>>>>> fixes;
>>>>>>> added WPAD hint; fixed needs_restart defaults bug]
>>>>>>> Signed-off-by: Sascha Silbe<silbe@activitycentral.com>
>>>>>>> ---
>>>>>>
>>>>>>
>>>>>> When applying the patch me and Manuel get: "fatal: corrupt patch at
>>>>>> line
>>>>>> 414"
>>>>>>
>>>>>> Regards,
>>>>>> Simon
>>>>>
>>>>>
>>>>> I removed the icon which caused the bug and now the patch does apply.
>>>>>
>>>>> Regards,
>>>>> Simon
>>>>
>>>>
>>>> I still think merging the proxy option inside the network section of
>>>> the Control Panel makes more sense than having a separate section.
>>>> Here is how the network section looks in GNOME3 [1][2][3].
>>>>
>>>> And here is a short cody-mockup that shows how it could look like in
>>>> Sugar [4][5] (I am running the XO settings).
>>>>
>>>> If we re-arrange the text of the wireless sub-section and
>>>> collaboration sub-section a bit I think we can even get away with
>>>> scrolling there.
>>>
>>>
>>> Yes, it's better to try and keep these network related settings in the
>>> one CP module. I'm also fine with it triggering scrolling when needed
>>> as these settings are already very technical/admin in nature. Re your
>>> mockup, think the new proxy section should go a the bottom of the
>>> list, below the existing collaboration server entry.
>>
>>
>> Yes, sounds good to put the proxy setting on the bottom. Will code the
>> section up today and send new mockups.
>>
>> Regards,
>> Simon
>
>
> Following the recommendations in [1] I have been applying a workaround in
> GTK2 to get a better wrapping for the labels *. This leads to the followi=
ng
> control panel [2] (much better than [3]). So adding the option will show =
the
> 'main'-section on an XO without scrolling, reducing the 'we need an extra
> section because of scrolling' argument to a minimum, scrolling should only
> be needed when there is a non-None proxy [4].
>
> Regards,
> =A0 Simon
>
>
> * have to check what the situation is like in GTK3
>
> [1] http://www.16software.com/blog/dynamic-label-wrapping-in-gtk
> [2] https://dev.laptop.org/~erikos/designs/proxy_none_2.png
> [3] https://dev.laptop.org/~erikos/designs/proxy_none.png
> [4] https://dev.laptop.org/~erikos/designs/proxy_automatic_2.png
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel

Maybe I can use [1] to fix a long-standing issue I have had with label
wrapping in TA as well :) Well let you know how it works.


-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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic