By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release. View | Details | Raw Unified | Return to bug 1245
Collapse All | Expand All

(-)tdebase/kcontrol/tdm/tdm-shut.cpp (-1 / +10 lines)
Lines 45-51 Link Here
45
{
45
{
46
      TQString wtstr;
46
      TQString wtstr;
47
47
48
49
      TQGroupBox *group0 = new TQGroupBox( i18n("Allow Shutdown"), this );
48
      TQGroupBox *group0 = new TQGroupBox( i18n("Allow Shutdown"), this );
50
49
51
      sdlcombo = new TQComboBox( FALSE, group0 );
50
      sdlcombo = new TQComboBox( FALSE, group0 );
Lines 101-106 Link Here
101
      TQWhatsThis::add( bm_label, wtstr );
100
      TQWhatsThis::add( bm_label, wtstr );
102
      TQWhatsThis::add( bm_combo, wtstr );
101
      TQWhatsThis::add( bm_combo, wtstr );
103
102
103
      tsbox = new TQCheckBox( i18n("Restart X-Server with session exit"), this );
104
      connect( tsbox, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()) );
105
      wtstr = i18n("Whether the login manager should restart the local X-Server after a session exit instead of resetting. Use this when the X-Server leaks memory, crashes the system on reset attempts, or otherwise exhibits display issues.");
106
      TQWhatsThis::add( tsbox, wtstr );
107
104
      TQBoxLayout *main = new TQVBoxLayout( this, 10 );
108
      TQBoxLayout *main = new TQVBoxLayout( this, 10 );
105
      TQGridLayout *lgroup0 = new TQGridLayout( group0, 1, 1, 10);
109
      TQGridLayout *lgroup0 = new TQGridLayout( group0, 1, 1, 10);
106
      TQGridLayout *lgroup1 = new TQGridLayout( group1, 1, 1, 10);
110
      TQGridLayout *lgroup1 = new TQGridLayout( group1, 1, 1, 10);
Lines 109-114 Link Here
109
      main->addWidget(group0);
113
      main->addWidget(group0);
110
      main->addWidget(group1);
114
      main->addWidget(group1);
111
      main->addWidget(group4);
115
      main->addWidget(group4);
116
      main->addWidget(tsbox);
112
      main->addStretch();
117
      main->addStretch();
113
118
114
      lgroup0->addRowSpacing(0, group0->fontMetrics().height()/2);
119
      lgroup0->addRowSpacing(0, group0->fontMetrics().height()/2);
Lines 149-154 Link Here
149
    shutdown_lined->button()->setEnabled(false);
154
    shutdown_lined->button()->setEnabled(false);
150
155
151
    bm_combo->setEnabled(false);
156
    bm_combo->setEnabled(false);
157
    tsbox->setEnabled(false);
152
}
158
}
153
159
154
void TDMSessionsWidget::writeSD(TQComboBox *combo)
160
void TDMSessionsWidget::writeSD(TQComboBox *combo)
Lines 166-171 Link Here
166
{
172
{
167
    config->setGroup("X-:*-Core");
173
    config->setGroup("X-:*-Core");
168
    writeSD(sdlcombo);
174
    writeSD(sdlcombo);
175
    config->writeEntry( "TerminateServer", tsbox->isChecked() );
169
176
170
    config->setGroup("X-*-Core");
177
    config->setGroup("X-*-Core");
171
    writeSD(sdrcombo);
178
    writeSD(sdrcombo);
Lines 194-199 Link Here
194
{
201
{
195
  config->setGroup("X-:*-Core");
202
  config->setGroup("X-:*-Core");
196
  readSD(sdlcombo, "All");
203
  readSD(sdlcombo, "All");
204
  tsbox->setChecked(config->readBoolEntry("TerminateServer", false));
205
197
206
198
  config->setGroup("X-*-Core");
207
  config->setGroup("X-*-Core");
199
  readSD(sdrcombo, "Root");
208
  readSD(sdrcombo, "Root");
(-)tdebase/kcontrol/tdm/tdm-shut.h (+1 lines)
Lines 56-61 Link Here
56
	TQLabel		*sdllabel, *sdrlabel;
56
	TQLabel		*sdllabel, *sdrlabel;
57
	KURLRequester	*restart_lined, *shutdown_lined;
57
	KURLRequester	*restart_lined, *shutdown_lined;
58
	KBackedComboBox	*bm_combo;
58
	KBackedComboBox	*bm_combo;
59
	TQCheckBox	*tsbox;
59
};
60
};
60
61
61
62

Return to bug 1245