|
|
@ -237,7 +237,7 @@ void ConfigureDialog::setIcons(){
|
|
|
|
pB_editAutosuspendGBlacklist->setIconSet(SmallIconSet("configure", TQIconSet::Automatic));
|
|
|
|
pB_editAutosuspendGBlacklist->setIconSet(SmallIconSet("configure", TQIconSet::Automatic));
|
|
|
|
pB_editAutodimmGBlacklist->setIconSet(SmallIconSet("configure", TQIconSet::Automatic));
|
|
|
|
pB_editAutodimmGBlacklist->setIconSet(SmallIconSet("configure", TQIconSet::Automatic));
|
|
|
|
|
|
|
|
|
|
|
|
tB_scheme->setItemIconSet( 0 ,SmallIcon("kscreensaver", TQIconSet::Automatic));
|
|
|
|
tB_scheme->setItemIconSet( 0 ,SmallIcon("tdescreensaver", TQIconSet::Automatic));
|
|
|
|
tB_scheme->setItemIconSet( 1 ,SmallIcon("display", TQIconSet::Automatic));
|
|
|
|
tB_scheme->setItemIconSet( 1 ,SmallIcon("display", TQIconSet::Automatic));
|
|
|
|
|
|
|
|
|
|
|
|
if(actions[0] == "Suspend to Disk")
|
|
|
|
if(actions[0] == "Suspend to Disk")
|
|
|
@ -669,7 +669,7 @@ void ConfigureDialog::setGeneralSettings() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (lockmethod == "automatic") comboB_lock->setCurrentItem(0);
|
|
|
|
if (lockmethod == "automatic") comboB_lock->setCurrentItem(0);
|
|
|
|
else if (lockmethod == "kscreensaver") comboB_lock->setCurrentItem(1);
|
|
|
|
else if (lockmethod == "tdescreensaver") comboB_lock->setCurrentItem(1);
|
|
|
|
else if (lockmethod == "xscreensaver") comboB_lock->setCurrentItem(2);
|
|
|
|
else if (lockmethod == "xscreensaver") comboB_lock->setCurrentItem(2);
|
|
|
|
else if (lockmethod == "xlock") comboB_lock->setCurrentItem(3);
|
|
|
|
else if (lockmethod == "xlock") comboB_lock->setCurrentItem(3);
|
|
|
|
else if (gnome_session && (lockmethod == "gnomescreensaver")) comboB_lock->setCurrentItem(4);
|
|
|
|
else if (gnome_session && (lockmethod == "gnomescreensaver")) comboB_lock->setCurrentItem(4);
|
|
|
@ -832,7 +832,7 @@ void ConfigureDialog::saveGeneralSettings() {
|
|
|
|
TQString selected_method = "";
|
|
|
|
TQString selected_method = "";
|
|
|
|
int _selected = comboB_lock->currentItem();
|
|
|
|
int _selected = comboB_lock->currentItem();
|
|
|
|
if(_selected == 0) selected_method = "automatic";
|
|
|
|
if(_selected == 0) selected_method = "automatic";
|
|
|
|
else if(_selected == 1) selected_method = "kscreensaver";
|
|
|
|
else if(_selected == 1) selected_method = "tdescreensaver";
|
|
|
|
else if(_selected == 2) selected_method = "xscreensaver";
|
|
|
|
else if(_selected == 2) selected_method = "xscreensaver";
|
|
|
|
else if(_selected == 3) selected_method = "xlock";
|
|
|
|
else if(_selected == 3) selected_method = "xlock";
|
|
|
|
else if(gnome_session && (_selected == 4)) selected_method = "gnomescreensaver";
|
|
|
|
else if(gnome_session && (_selected == 4)) selected_method = "gnomescreensaver";
|
|
|
|