After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 644498 - connection editor: add alternative entry points
connection editor: add alternative entry points
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Dan Williams
Dan Williams
Depends on:
Blocks: 644445
 
 
Reported: 2011-03-11 13:58 UTC by Matthias Clasen
Modified: 2011-03-15 05:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (22.27 KB, patch)
2011-03-11 13:58 UTC, Matthias Clasen
none Details | Review
improved dialog by Jon McCann (6.58 KB, text/plain)
2011-03-11 21:52 UTC, Matthias Clasen
  Details

Description Matthias Clasen 2011-03-11 13:58:14 UTC
Created attachment 183140 [details] [review]
patch

Here is a somewhat quick-n-dirty patch to make

nm-connection-editor --create --type <type>

show only the ui for creating a connection of the given type, and then exit

nm-connection-editor --create

show a dialog for choosing the type to create

nm-connection-editor --edit <uuid>

show the ui for editing the connection with the given uuid, and then exit


This is will be used as a stopgap measure to support creating and editing connections in the control-center network panel for GNOME 3.0.
Comment 1 Matthias Clasen 2011-03-11 21:52:09 UTC
Created attachment 183180 [details]
improved dialog by Jon McCann
Comment 2 Matthias Clasen 2011-03-12 04:27:59 UTC
Any comments on this, Dan ?
Comment 3 Dan Williams 2011-03-15 05:01:25 UTC
98899ba4470c90e8bf3c2c874d2c25bfac3d6878

Thanks!  Cleaned up and refactored a bunch, the options have changed somewhat:

create this type of connection:
--create --type 802-11-wireless
--create --type gsm

show the given connection type page
--type 802-11-wireless

edit a specific connection
--edit <uuid>