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

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

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

revision 3366 by schoenebeck, Wed Nov 15 16:21:20 2017 UTC revision 3458 by persson, Thu Jan 31 18:43:09 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 457  Serialization::Archive* MacrosSetup::get Line 457  Serialization::Archive* MacrosSetup::get
457  }  }
458    
459  static Glib::ustring indexToAccKey(uint index) {  static Glib::ustring indexToAccKey(uint index) {
460      if (index >= 12) return "";      if (index >= 19) return "";
461      return "F" + ToString(index+1);      return "F" + ToString(index+1);
462  }  }
463    
# Line 752  bool MacrosSetup::onWindowDeleteP(GdkEve Line 752  bool MacrosSetup::onWindowDeleteP(GdkEve
752    
753      //gchar* msg = g_strdup_printf(_("Apply changes to macro \"%s\" before closing?"),      //gchar* msg = g_strdup_printf(_("Apply changes to macro \"%s\" before closing?"),
754      //                             m_macroOriginal->Name.c_str());      //                             m_macroOriginal->Name.c_str());
755      gchar* msg = g_strdup_printf(_("Apply changes to macro list before closing?"));      gchar* msg = g_strdup(_("Apply changes to macro list before closing?"));
756      Gtk::MessageDialog dialog(*this, msg, false, Gtk::MESSAGE_WARNING, Gtk::BUTTONS_NONE);      Gtk::MessageDialog dialog(*this, msg, false, Gtk::MESSAGE_WARNING, Gtk::BUTTONS_NONE);
757      g_free(msg);      g_free(msg);
758      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.3366  
changed lines
  Added in v.3458

  ViewVC Help
Powered by ViewVC