/[svn]/gigedit/trunk/src/gigedit/MacroEditor.cpp
ViewVC logotype

Diff of /gigedit/trunk/src/gigedit/MacroEditor.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3455 by schoenebeck, Wed Jan 2 16:39:20 2019 UTC revision 3456 by persson, Sun Jan 27 10:07:56 2019 UTC
# Line 1  Line 1 
1  /*  /*
2      Copyright (c) MMXVII Christian Schoenebeck      Copyright (c) MMXVII - MMXIX Christian Schoenebeck
3    
4      This file is part of "gigedit" and released under the terms of the      This file is part of "gigedit" and released under the terms of the
5      GNU General Public License version 2.      GNU General Public License version 2.
# Line 504  bool MacroEditor::onWindowDeleteP(GdkEve Line 504  bool MacroEditor::onWindowDeleteP(GdkEve
504    
505      //gchar* msg = g_strdup_printf(_("Apply changes to macro \"%s\" before closing?"),      //gchar* msg = g_strdup_printf(_("Apply changes to macro \"%s\" before closing?"),
506      //                             m_macroOriginal->Name.c_str());      //                             m_macroOriginal->Name.c_str());
507      gchar* msg = g_strdup_printf(_("Apply changes to macro before closing?"));      gchar* msg = g_strdup(_("Apply changes to macro before closing?"));
508      Gtk::MessageDialog dialog(*this, msg, false, Gtk::MESSAGE_WARNING, Gtk::BUTTONS_NONE);      Gtk::MessageDialog dialog(*this, msg, false, Gtk::MESSAGE_WARNING, Gtk::BUTTONS_NONE);
509      g_free(msg);      g_free(msg);
510      dialog.set_secondary_text(_("If you close without applying, your changes will be lost."));      dialog.set_secondary_text(_("If you close without applying, your changes will be lost."));

Legend:
Removed from v.3455  
changed lines
  Added in v.3456

  ViewVC Help
Powered by ViewVC