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

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

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

revision 1677 by persson, Sun Feb 10 08:50:35 2008 UTC revision 1831 by persson, Tue Feb 3 19:38:19 2009 UTC
# Line 1  Line 1 
1  /*  /*
2   * Copyright (C) 2006-2008 Andreas Persson   * Copyright (C) 2006-2009 Andreas Persson
3   *   *
4   * This program is free software; you can redistribute it and/or   * This program is free software; you can redistribute it and/or
5   * modify it under the terms of the GNU General Public License as   * modify it under the terms of the GNU General Public License as
# Line 82  RegionChooser::RegionChooser() : Line 82  RegionChooser::RegionChooser() :
82      cursor_is_resize = false;      cursor_is_resize = false;
83      h1 = REGION_BLOCK_HEIGHT;      h1 = REGION_BLOCK_HEIGHT;
84    
85      // properties of the virtual keyboard      // properties of the virtual keyboard
86      {      {
87          const char* choices[] = { "normal", "chord", NULL };          const char* choices[] = { _("normal"), _("chord"), NULL };
88          static const virt_keyboard_mode_t values[] = {          static const virt_keyboard_mode_t values[] = {
89              VIRT_KEYBOARD_MODE_NORMAL,              VIRT_KEYBOARD_MODE_NORMAL,
90              VIRT_KEYBOARD_MODE_CHORD              VIRT_KEYBOARD_MODE_CHORD
# Line 767  sigc::signal<void>& RegionChooser::signa Line 767  sigc::signal<void>& RegionChooser::signa
767  void RegionChooser::show_region_properties()  void RegionChooser::show_region_properties()
768  {  {
769      if (!region) return;      if (!region) return;
770      Gtk::Dialog dialog("Region Properties", true /*modal*/);      Gtk::Dialog dialog(_("Region Properties"), true /*modal*/);
771      // add "Keygroup" checkbox      // add "Keygroup" checkbox
772      Gtk::CheckButton checkBoxKeygroup("Member of a Keygroup (Exclusive Group)");      Gtk::CheckButton checkBoxKeygroup(_("Member of a Keygroup (Exclusive Group)"));
773      checkBoxKeygroup.set_active(region->KeyGroup);      checkBoxKeygroup.set_active(region->KeyGroup);
774      dialog.get_vbox()->pack_start(checkBoxKeygroup);      dialog.get_vbox()->pack_start(checkBoxKeygroup);
775      checkBoxKeygroup.show();      checkBoxKeygroup.show();

Legend:
Removed from v.1677  
changed lines
  Added in v.1831

  ViewVC Help
Powered by ViewVC