Re: OpenVPN gui change



On Sat, 2007-02-17 at 20:16 -0500, Jon Nettleton wrote:
> On Fri, 2007-02-16 at 15:33 -0500, Jon Nettleton wrote:
> > On Fri, 2007-02-16 at 14:03 -0500, Dan Williams wrote:
> > > On Thu, 2007-02-15 at 21:28 -0500, Jon Nettleton wrote:
> > > > I finally had a need to get OpenVPN running at home and figured I would
> > > > just use the NetworkManager-openvpn from Fedora Extras.  Well it worked,
> > > > but the config gui was a little painful on my 1024x768 sub noteboook.
> > > > 
> > > > I took a half an hour and created this patch that moves the optional
> > > > information to another tab.  Yes I know having tabs in tabs is bad, but
> > > > I don't have time to redesign the entire gui right now.  I also enabled
> > > > the port option that was in the code, but didn't have a gui
> > > > configuration entry ( I needed that functionality also.).  I probably
> > > > should have used the rport option, but again I don't have tons of time
> > > > to spend on this.  Here is the patch against 0.3.2
> > > > 
> > > > http://www.hekanetworks.com/~jnettlet/NetworkManager/NetworkManager-openvpn-port-ui.patch
> > > > 
> > > > For Fedora People running Core 6 here is an rpm. Note I also moved the
> > > > launcher from Internet to System Tools.
> > > > 
> > > > http://www.hekanetworks.com/~jnettlet/NetworkManager/NetworkManager-openvpn-0.3.3-2.fc6.i386.rpm
> > > > 
> > > > 
> > > > Hope this helps someone else out.
> > > 
> > > Damn that's ugly :)
> > 
> > You are right and it is bothering me now.  How is this?
> > 
> > http://www.hekanetworks.com/~jnettlet/NetworkManager/openvpnconfig.png
> > 
> > Turn all the verbosity into Tooltips
> > Moving Optional to its own tab gives enough room so you can fit all the X.509 and Password Dialogues on 1 page getting rid of the need for tabs down there.
> > Fixup the general padding and alignment.
> > 
> > If there are no objections I will finish the code to make this work, shouldn't take long.
> > 
> > Jon
> > 
> > 
> > > 
> > > But committed to stable branch because not much can possibly be worse
> > > than the dialog we have now.  Also with davidz's patch.  And just a
> > > note, we shouldn't be including the "invisible_char" thing in glade
> > > files since GTK does that automatically for us now.  Glade still sticks
> > > it into glade files though, so we get to manually remove it for now.
> > > 
> > > dan
> > > 
> > > 
> 
> For those interested I have submitted my final gui patches to bugzilla.
> I finished my openvpn patch and then realized that the vpnc dialog was
> designed the same way as openvpn was.  My OCD kicked in and had to
> create a patch to make the vpnc interface consistent.  
> 
> OpenVPN:
> http://bugzilla.gnome.org/show_bug.cgi?id=334800
> VPNC:
> http://bugzilla.gnome.org/show_bug.cgi?id=408819
> 
> Any comments or suggestions would be appreciated.

So I committed these; I'm not wild about the tab thing either, since if
it's required info it should just be there and not in a tab.  I think
the best solution is to have an "optional" button or a second step in
the wizard, but its clear that OpenVPN needs some way of being able to
set many of the 5,000,000 options from the dialog.  So what you've done
is quite a bit better that what's there, and I've committed the vpnc
stuff to trunk and stable, but the openvpn stuff doesn't apply to trunk.
Can you take a look at it and file a new bug for that?

Thanks!
Dan





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]