small fixes

This commit is contained in:
fiaxh 2017-11-01 19:17:37 +01:00
parent 81e05e6645
commit f6ac5bbd26
2 changed files with 1 additions and 2 deletions

View file

@ -70,7 +70,6 @@ endif()
AddCFlagIfSupported(-Wall)
AddCFlagIfSupported(-Werror=format-security)
AddValaCFlagIfSupported(-Wno-deprecated-declarations)
AddValaCFlagIfSupported(-Wno-incompatible-pointer-types)
AddValaCFlagIfSupported(-Wno-pointer-sign)
AddValaCFlagIfSupported(-Wno-int-conversion)

View file

@ -129,7 +129,7 @@ public class Dialog : Gtk.Dialog {
Gtk.MessageDialog msg = new Gtk.MessageDialog (
this, Gtk.DialogFlags.DESTROY_WITH_PARENT | Gtk.DialogFlags.MODAL,
Gtk.MessageType.WARNING, Gtk.ButtonsType.OK_CANCEL,
_("Remove account %s?".printf(account_item.jid_label.get_text())));
_("Remove account %s?"), account_item.jid_label.get_text());
msg.secondary_text = "You won't be able to access your conversation history anymore."; // TODO remove history!
Button ok_button = msg.get_widget_for_response(ResponseType.OK) as Button;
ok_button.label = _("Remove");