Permalink
Browse files

small fixes

  • Loading branch information...
fiaxh committed Nov 1, 2017
1 parent 81e05e6 commit f6ac5bbd26638412a2289fd1d28ef12de1d7e8b5
Showing with 1 addition and 2 deletions.
  1. +0 −1 CMakeLists.txt
  2. +1 −1 main/src/ui/manage_accounts/dialog.vala
View
@@ -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)
@@ -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");

0 comments on commit f6ac5bb

Please sign in to comment.