summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2004-02-26 09:31:23 (UTC)
committer mickeyl <mickeyl>2004-02-26 09:31:23 (UTC)
commitd26a7814b7b454583a136a78aeb7016467ec9ff8 (patch) (side-by-side diff)
tree1520794c87c956c6d6e7701e26600fa9f2321da9
parentb339031e14a607ff18e404e0395b1c2782b92fdc (diff)
downloadopie-d26a7814b7b454583a136a78aeb7016467ec9ff8.zip
opie-d26a7814b7b454583a136a78aeb7016467ec9ff8.tar.gz
opie-d26a7814b7b454583a136a78aeb7016467ec9ff8.tar.bz2
UI FIX: Indicate that the setting "Show applications in subpopups" is only
relevant if "Show tabs in O-Menu" is checked by enabling/disabling dynamically.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/settings/launcher/menusettings.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/core/settings/launcher/menusettings.cpp b/core/settings/launcher/menusettings.cpp
index faa7cf4..dc8e993 100644
--- a/core/settings/launcher/menusettings.cpp
+++ b/core/settings/launcher/menusettings.cpp
@@ -66,3 +66,3 @@ MenuSettings::MenuSettings ( QWidget *parent, const char *name )
- m_menusubpopup = new QCheckBox ( tr( "Show Applications in subpopups" ), this );
+ m_menusubpopup = new QCheckBox ( tr( "Show Applications in Subpopups" ), this );
lay-> addWidget ( m_menusubpopup );
@@ -123,4 +123,7 @@ void MenuSettings::init ( )
cfg. setGroup ( "Menu" );
- m_menutabs-> setChecked ( cfg. readBoolEntry ( "LauncherTabs", true ));
- m_menusubpopup-> setChecked ( cfg. readBoolEntry ( "LauncherSubPopup", true ));
+ m_menutabs->setChecked( cfg.readBoolEntry( "LauncherTabs", true ) );
+ m_menusubpopup->setChecked( cfg.readBoolEntry( "LauncherSubPopup", true ) );
+ m_menusubpopup->setEnabled( m_menutabs->isChecked() );
+ connect( m_menutabs, SIGNAL( stateChanged( int ) ), m_menusubpopup, SLOT( setEnabled( bool ) ) );
+
}