--- kmyfirewall/core/kmfnetwork.cpp.orig 2008-05-01 21:12:54.000000000 +0200 +++ kmyfirewall/core/kmfnetwork.cpp 2008-05-01 21:13:05.000000000 +0200 @@ -108,7 +108,7 @@ kdDebug() << "Creating Localhost" << endl; KMFTarget * localhost = new KMFTarget( m_myNetwork, "My Local Comuter", i18n("My Local Comuter"), this ); localhost->setGuiName( i18n("My Local Computer") ); - localhost->setDescription( i18n("Local copmuter running KMyFirewall") ); + localhost->setDescription( i18n("Local computer running KMyFirewall") ); localhost->setAddress( Constants::Localhost_IP ); localhost->setName( Constants::Localhost_Name ); localhost->setReadOnly( true ); @@ -126,7 +126,7 @@ m_err = new KMFError; // setName( i18n("Unamed Ruleset") ); m_url.setFileName( i18n( "Untitled" ) ); - m_myNetwork->setGuiName( i18n("Gloabl Network") ); + m_myNetwork->setGuiName( i18n("Global Network") ); m_myNetwork->setDescription( i18n("This is the global zone that contains all valid IP addresses.") ); m_myNetwork->setZone( IPAddress( 0,0,0,0 ), 0 ); m_myNetwork->setReadOnly( true ); --- kmyfirewall/kmfwidgets/kmfsystemsettingslinux.cpp.orig 2008-05-02 10:50:24.000000000 +0200 +++ kmyfirewall/kmfwidgets/kmfsystemsettingslinux.cpp 2008-05-02 10:51:05.000000000 +0200 @@ -57,8 +57,14 @@ this, SLOT( slotSettingChanged() ) ); connect( m_cob_distribution, SIGNAL( activated( const QString& ) ), this, SLOT( slotDistributionChanged() ) ); -} - + + m_url_ipt_path->setEnabled( false ); + m_url_mod_path->setEnabled( false ); + m_url_init_path->setEnabled( false ); + m_url_runlevel_path->setEnabled( false ); + m_cob_distribution->setEnabled( false ); +} + KMFSystemSettingsLinux::~KMFSystemSettingsLinux() { } @@ -77,6 +83,11 @@ kdDebug() << "KMFInterfaceWidget::updateView() - ERROR: m_target == 0 " << endl; return; } + m_url_ipt_path->setEnabled( true ); + m_url_mod_path->setEnabled( true ); + m_url_init_path->setEnabled( true ); + m_url_runlevel_path->setEnabled( true ); + m_cob_distribution->setEnabled( true ); KMFTargetConfig *conf = m_target->config(); kdDebug() << "KMFInterfaceWidget::updateView() - config: " << endl; --- kmyfirewall/kmfwidgets/kmfinterfacewidget.cpp.orig 2008-05-02 10:26:05.000000000 +0200 +++ kmyfirewall/kmfwidgets/kmfinterfacewidget.cpp 2008-05-02 10:39:23.000000000 +0200 @@ -53,6 +53,10 @@ m_cb_int_name->insertItem( "tap" ); m_cb_int_name->insertItem( "gre" ); m_cb_int_name->insertItem( "lo" ); + m_cb_int_name->setEnabled( false ); + m_sb_int_num->setEnabled( false ); + m_b_add_int->setEnabled( false ); + m_b_del_int->setEnabled( false ); } KMFInterfaceWidget::~KMFInterfaceWidget() {} @@ -68,6 +72,10 @@ if ( ! m_target ) { return; } + m_cb_int_name->setEnabled( true ); + m_sb_int_num->setEnabled( true ); + m_b_add_int->setEnabled( true ); + m_b_del_int->setEnabled( true ); KMFTargetConfig *conf = m_target->config(); kdDebug() << "Load Config:" << endl; kdDebug() << conf->toString() << endl; --- templates/04_web_server_template.tkmfrs.orig 2008-05-02 10:56:32.000000000 +0200 +++ templates/04_web_server_template.tkmfrs 2008-05-02 10:58:22.000000000 +0200 @@ -1,9 +1,9 @@ - + - + --- templates/03_nat_router_template.tkmfrs.orig 2008-05-02 10:56:46.000000000 +0200 +++ templates/03_nat_router_template.tkmfrs 2008-05-02 10:58:12.000000000 +0200 @@ -1,9 +1,9 @@ - + - + --- templates/02_workstation_template.tkmfrs.orig 2008-05-02 10:56:12.000000000 +0200 +++ templates/02_workstation_template.tkmfrs 2008-05-02 10:57:59.000000000 +0200 @@ -1,9 +1,9 @@ - + - +