mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-24 04:20:32 +01:00
2006-01-30 Robert Love <rml@novell.com>
* gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup does not parse the markup if it is not part of the format. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1405 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
1ca336c741
commit
b92d952a4d
2 changed files with 8 additions and 6 deletions
|
|
@ -1,4 +1,9 @@
|
|||
2006-01-27 Robert Love <rml@novell.com>
|
||||
2006-01-30 Robert Love <rml@novell.com>
|
||||
|
||||
* gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
|
||||
does not parse the markup if it is not part of the format.
|
||||
|
||||
2006-01-30 Robert Love <rml@novell.com>
|
||||
|
||||
* gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
|
||||
FALSE, we have no security options for this dialog, so we throw up
|
||||
|
|
|
|||
|
|
@ -174,12 +174,9 @@ static GtkWidget * get_label (GtkWidget *info_dialog, GladeXML *xml, const char
|
|||
static void nmwa_show_socket_err (GtkWidget *info_dialog, const char *err)
|
||||
{
|
||||
GtkWidget *error_dialog;
|
||||
char *msg;
|
||||
|
||||
msg = g_strdup_printf ("<span weight=\"bold\" size=\"larger\">%s</span>\n\n%s",
|
||||
_("Error displaying connection information: "), err);
|
||||
error_dialog = gtk_message_dialog_new_with_markup (GTK_WINDOW (info_dialog), 0, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, "%s", msg);
|
||||
g_free (msg);
|
||||
error_dialog = gtk_message_dialog_new_with_markup (GTK_WINDOW (info_dialog), 0, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK,
|
||||
"<span weight=\"bold\" size=\"larger\">%s</span>\n\n%s", _("Error displaying connection information:"), err);
|
||||
gtk_window_present (GTK_WINDOW (error_dialog));
|
||||
g_signal_connect_swapped (error_dialog, "response", G_CALLBACK (gtk_widget_destroy), error_dialog);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue