~ubuntu-branches/ubuntu/lucid/codelite/lucid

« back to all changes in this revision

Viewing changes to LiteEditor/editorsettingsterminal.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2009-02-10 02:27:55 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090210022755-m5692nfc1t5uf1w9
Tags: 1.0.2759+dfsg-0ubuntu1
* New upstream release (LP: #327216).
* debian/patches/series, debian/patches/00_fix-ia64-build.patch:
  + Dropped, applied upstream already.
* debian/patches/02_fix-desktop.patch,
  debian/patches/03_fix-sh.patch:
  + Refreshed to patch cleanly.
* debian/rules:
  + Make get-orig-source honour UPSTREAM_VERSION if set.
* debian/ctags-le.1,
  debian/codelite_indexer.1,
  debian/codelite.manpages:
  + Dropped ctags-le manpage, since ctags-le was replaced by
    codelite_indexer.
  + Added codelite_indexer manpage.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include "editorsettingsterminal.h"
 
2
#include "editor_config.h"
 
3
 
 
4
EditorSettingsTerminal::EditorSettingsTerminal( wxWindow* parent )
 
5
                : EditorSettingsTerminalBase( parent )
 
6
                , TreeBookNode<EditorSettingsTerminal>()
 
7
 
 
8
{
 
9
        OptionsConfigPtr options = EditorConfigST::Get()->GetOptions();
 
10
    m_textCtrlProgramConsoleCmd->SetValue(options->GetProgramConsoleCommand());
 
11
}
 
12
 
 
13
void EditorSettingsTerminal::Save(OptionsConfigPtr options)
 
14
{
 
15
        options->SetProgramConsoleCommand (m_textCtrlProgramConsoleCmd->GetValue());
 
16
}