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

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

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

revision 2610 by schoenebeck, Sun Jun 8 19:09:26 2014 UTC revision 2845 by persson, Sun Sep 20 10:18:22 2015 UTC
# Line 32  static bool isEvent(const Glib::ustring& Line 32  static bool isEvent(const Glib::ustring&
32  }  }
33    
34  ScriptEditor::ScriptEditor() :  ScriptEditor::ScriptEditor() :
35      m_applyButton(Gtk::Stock::APPLY), m_cancelButton(Gtk::Stock::CANCEL)      m_applyButton(_("_Apply"), true),
36        m_cancelButton(_("_Cancel"), true)
37  {  {
38      m_script = NULL;      m_script = NULL;
39    
# Line 51  ScriptEditor::ScriptEditor() : Line 52  ScriptEditor::ScriptEditor() :
52      {      {
53          Pango::FontDescription fdesc;          Pango::FontDescription fdesc;
54          fdesc.set_family("monospace");          fdesc.set_family("monospace");
55    #if defined(__APPLE__)
56            fdesc.set_size(12 * PANGO_SCALE);
57    #else
58          fdesc.set_size(10 * PANGO_SCALE);          fdesc.set_size(10 * PANGO_SCALE);
59    #endif
60  #if GTKMM_MAJOR_VERSION < 3  #if GTKMM_MAJOR_VERSION < 3
61          m_textView.modify_font(fdesc);          m_textView.modify_font(fdesc);
62  #else  #else

Legend:
Removed from v.2610  
changed lines
  Added in v.2845

  ViewVC Help
Powered by ViewVC