GNOME Bugzilla – Bug 693780
Settings dialog window titles
Last modified: 2013-04-15 12:27:43 UTC
The title of the network connection settings dialogs should either: * match whatever is in the interface list in the network panel, or * correspond to the wi-fi network name or wired profile (if there is more than one profile) Currently, I get something different: * Wired - window title reads as "em1" (should be Wired) * VPN - window title reads "Red Hat" (should be "Red Hat VPN", as in the interface list)
Created attachment 241431 [details] [review] network: Allow setting title on connection editor We want the title to match whats in the device list, which sometimes does not match the connection id exactly. This API lets us do so.
Created attachment 241432 [details] [review] network: Set the connection editor title for VPN
Created attachment 241433 [details] [review] network: Set connection editor title for wired
Review of attachment 241431 [details] [review]: Looks good. ::: panels/network/connection-editor/net-connection-editor.c @@ +978,3 @@ +void +net_connection_editor_set_title (NetConnectionEditor *editor, + const gchar *title) Would we need to reset the title for some things? I'd special case a NULL title for that case.
Review of attachment 241432 [details] [review]: ::: panels/network/net-vpn.c @@ +413,3 @@ vpn->priv->connection, NULL, NULL, client, settings); + title = g_strdup_printf (_("%s VPN"), nm_connection_get_id (vpn->priv->connection)); Missing translator comments.
Review of attachment 241433 [details] [review]: Looks fine otherwise. ::: panels/network/net-device-ethernet.c @@ +281,3 @@ +show_details_for_wired (GtkButton *button, NetDeviceEthernet *device) +{ + show_details (button, device, _("Wired")); Translator comments missing
Attachment 241431 [details] pushed as 7618df7 - network: Allow setting title on connection editor Attachment 241432 [details] pushed as 58a09ae - network: Set the connection editor title for VPN Attachment 241433 [details] pushed as 2e626e0 - network: Set connection editor title for wired