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 |
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 |
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(); |