summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 79b04cd)
raw | patch | inline | side by side (parent: 79b04cd)
author | Jon A. Cruz <jon@joncruz.org> | |
Sat, 3 Apr 2010 08:07:41 +0000 (01:07 -0700) | ||
committer | Jon A. Cruz <jon@joncruz.org> | |
Sat, 3 Apr 2010 08:07:41 +0000 (01:07 -0700) |
src/ui/dialog/glyphs.cpp | patch | blob | history |
index 6cced05c5a7a4e220a8df3d2217ad778e072e9e2..8677bcda2c4a1169a008f0230f2fc0eafa6eb1c3 100644 (file)
--- a/src/ui/dialog/glyphs.cpp
+++ b/src/ui/dialog/glyphs.cpp
scriptCombo->append_text(it->second);
}
- scriptCombo->set_active_text(getScriptToName()[G_UNICODE_SCRIPT_INVALID_CODE]);
+ scriptCombo->set_active_text(getScriptToName()[G_UNICODE_SCRIPT_COMMON]); // default to a smaller set
scriptSelectConn = scriptCombo->signal_changed().connect(sigc::mem_fun(*this, &GlyphsPanel::rebuild));
table->attach( *Gtk::manage(scriptCombo),
//double sp_font_selector_get_size (SPFontSelector *fsel);
#if GLIB_CHECK_VERSION(2,14,0)
- GUnicodeScript script = G_UNICODE_SCRIPT_INVALID_CODE;
+ GUnicodeScript script = G_UNICODE_SCRIPT_COMMON;
Glib::ustring scriptName = scriptCombo->get_active_text();
std::map<GUnicodeScript, Glib::ustring> items = getScriptToName();
for (std::map<GUnicodeScript, Glib::ustring>::iterator it = items.begin(); it != items.end(); ++it) {