diff options
author | waker <wakeroid@gmail.com> | 2012-04-24 21:21:21 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2012-04-24 21:21:21 +0200 |
commit | d997cb30404b1d6876b66f2b346852c265c38479 (patch) | |
tree | 51846067997fdc15d60dcf5b7540ea56431c0a30 /plugins | |
parent | 2bc3805d6b6d6fbcf3a8284f00ada82ce71fa909 (diff) |
fixed gtk_message_dialog_format_secondary_text bug
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/shellexecui/shellexecui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/shellexecui/shellexecui.c b/plugins/shellexecui/shellexecui.c index a64a108b..04661bdd 100644 --- a/plugins/shellexecui/shellexecui.c +++ b/plugins/shellexecui/shellexecui.c @@ -136,7 +136,7 @@ on_remove_button_clicked (GtkButton *button, GTK_MESSAGE_WARNING, GTK_BUTTONS_YES_NO, _("Delete")); gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (confirm_dlg), - _("This action will delete the selected shell command. Are you sure?")); + "%s", _("This action will delete the selected shell command. Are you sure?")); gtk_window_set_transient_for(GTK_WINDOW (confirm_dlg), GTK_WINDOW (conf_dlg)); gtk_window_set_title (GTK_WINDOW (confirm_dlg), _("Confirm Remove")); int response = gtk_dialog_run (GTK_DIALOG (confirm_dlg)); @@ -260,7 +260,7 @@ validate_command_edit () { GTK_MESSAGE_WARNING, GTK_BUTTONS_OK, _("Invalid Values")); gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (invalid_dlg), - message); + "%s", message); gtk_window_set_transient_for(GTK_WINDOW (invalid_dlg), GTK_WINDOW (conf_dlg)); gtk_window_set_title (GTK_WINDOW (invalid_dlg), _("Invalid Values")); gtk_dialog_run (GTK_DIALOG (invalid_dlg)); |