|
|
607f76 |
diff -up network-manager-applet-0.9.11.0/src/libnm-gtk/nm-wifi-dialog.c.foo network-manager-applet-0.9.11.0/src/libnm-gtk/nm-wifi-dialog.c
|
|
|
607f76 |
--- network-manager-applet-0.9.11.0/src/libnm-gtk/nm-wifi-dialog.c.foo 2014-11-19 17:55:09.395729128 -0600
|
|
|
607f76 |
+++ network-manager-applet-0.9.11.0/src/libnm-gtk/nm-wifi-dialog.c 2014-11-19 17:55:42.237330288 -0600
|
|
|
607f76 |
@@ -1134,25 +1134,29 @@ internal_init (NMAWifiDialog *self,
|
|
|
28a0fd |
|
|
|
28a0fd |
tmp = g_strdup_printf (_("Passwords or encryption keys are required to access the Wi-Fi network '%s'."),
|
|
|
28a0fd |
esc_ssid ? esc_ssid : "<unknown>");
|
|
|
28a0fd |
- gtk_window_set_title (GTK_WINDOW (self), _("Wi-Fi Network Authentication Required"));
|
|
|
28a0fd |
label = g_strdup_printf ("%s\n\n%s",
|
|
|
28a0fd |
_("Authentication required by Wi-Fi network"),
|
|
|
28a0fd |
tmp);
|
|
|
28a0fd |
g_free (esc_ssid);
|
|
|
28a0fd |
g_free (tmp);
|
|
|
607f76 |
} else if (priv->operation == OP_CREATE_ADHOC) {
|
|
|
28a0fd |
- gtk_window_set_title (GTK_WINDOW (self), _("Create New Wi-Fi Network"));
|
|
|
28a0fd |
label = g_strdup_printf ("%s\n\n%s",
|
|
|
28a0fd |
_("New Wi-Fi network"),
|
|
|
28a0fd |
_("Enter a name for the Wi-Fi network you wish to create."));
|
|
|
607f76 |
} else if (priv->operation == OP_CONNECT_HIDDEN) {
|
|
|
28a0fd |
- gtk_window_set_title (GTK_WINDOW (self), _("Connect to Hidden Wi-Fi Network"));
|
|
|
28a0fd |
label = g_strdup_printf ("%s\n\n%s",
|
|
|
28a0fd |
_("Hidden Wi-Fi network"),
|
|
|
28a0fd |
_("Enter the name and security details of the hidden Wi-Fi network you wish to connect to."));
|
|
|
607f76 |
} else
|
|
|
607f76 |
g_assert_not_reached ();
|
|
|
28a0fd |
|
|
|
28a0fd |
+ /* The primary text should always tell the story, not the title. And since
|
|
|
28a0fd |
+ * the dialog is always on top, we can skip the taskbar.
|
|
|
28a0fd |
+ */
|
|
|
28a0fd |
+ gtk_window_set_title (GTK_WINDOW (self), "");
|
|
|
28a0fd |
+ gtk_window_set_keep_above (GTK_WINDOW (self), TRUE);
|
|
|
28a0fd |
+ gtk_window_set_skip_taskbar_hint (GTK_WINDOW (self), TRUE);
|
|
|
28a0fd |
+
|
|
|
28a0fd |
widget = GTK_WIDGET (gtk_builder_get_object (priv->builder, "caption_label"));
|
|
|
28a0fd |
gtk_label_set_markup (GTK_LABEL (widget), label);
|
|
|
28a0fd |
g_free (label);
|