summaryrefslogtreecommitdiffstats
path: root/kcontrol/randr
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-04-27 18:37:41 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-04-27 18:37:41 +0200
commit74b1fc6576fa920094463e6e4f1528bc7a25d6d0 (patch)
tree0eaf37372866eca87cc989b62ffae599e0338c9c /kcontrol/randr
parent62d43d23e6dc10a351e64b95724810a94ceb1f0a (diff)
downloadtdebase-74b1fc6576fa920094463e6e4f1528bc7a25d6d0.tar.gz
tdebase-74b1fc6576fa920094463e6e4f1528bc7a25d6d0.zip
Cleanup output clutter
Diffstat (limited to 'kcontrol/randr')
-rw-r--r--kcontrol/randr/tderandrtray.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kcontrol/randr/tderandrtray.cpp b/kcontrol/randr/tderandrtray.cpp
index e4372d77b..87346818c 100644
--- a/kcontrol/randr/tderandrtray.cpp
+++ b/kcontrol/randr/tderandrtray.cpp
@@ -60,7 +60,7 @@ KRandRSystemTray::KRandRSystemTray(TQWidget* parent, const char *name)
TQToolTip::add(this, i18n("Screen resize & rotate"));
my_parent = parent;
- //printf("Reading configuration...\n\r");
+ //printf("Reading configuration...\n");
globalKeys = new TDEGlobalAccel(TQT_TQOBJECT(this));
TDEGlobalAccel* keys = globalKeys;
#include "tderandrbindings.cpp"
@@ -465,7 +465,7 @@ void KRandRSystemTray::populateMenu(TDEPopupMenu* menu)
void KRandRSystemTray::slotResolutionChanged(int parameter)
{
if (currentScreen()->currentSize() == parameter) {
- //printf("This resolution is already in use; applying again...\n\r");
+ //printf("This resolution is already in use; applying again...\n");
currentScreen()->proposeSize(parameter);
currentScreen()->applyProposed();
return;
@@ -619,8 +619,8 @@ void KRandRSystemTray::slotCycleDisplays()
}
}
- //printf("Active: %d\n\r", current_on_index);
- //printf("Max: %d\n\r", max_index);
+ //printf("Active: %d\n", current_on_index);
+ //printf("Max: %d\n", max_index);
if ((current_on_index == -1) && (max_index == -1)) {
// There is no connected display available! ABORT
@@ -740,7 +740,7 @@ void KRandRSystemTray::addOutputMenu(TDEPopupMenu* menu)
}
output_name = output_info->name;
- //printf("ON: Found output %s\n\r", output_name);
+ //printf("ON: Found output %s\n", output_name);
lastIndex = menu->insertItem(i18n("%1 (Active)").arg(output_name));
menu->setItemChecked(lastIndex, true);
@@ -762,7 +762,7 @@ void KRandRSystemTray::addOutputMenu(TDEPopupMenu* menu)
}
output_name = output_info->name;
- //printf("CONNECTED, NOT ON: Found output %s\n\r", output_name);
+ //printf("CONNECTED, NOT ON: Found output %s\n", output_name);
lastIndex = menu->insertItem(i18n("%1 (Connected, Inactive)").arg(output_name));
menu->setItemChecked(lastIndex, false);
@@ -784,7 +784,7 @@ void KRandRSystemTray::addOutputMenu(TDEPopupMenu* menu)
}
output_name = output_info->name;
- //printf("DISCONNECTED, NOT ON: Found output %s\n\r", output_name);
+ //printf("DISCONNECTED, NOT ON: Found output %s\n", output_name);
lastIndex = menu->insertItem(i18n("%1 (Disconnected, Inactive)").arg(output_name));
menu->setItemChecked(lastIndex, false);
@@ -835,7 +835,7 @@ void KRandRSystemTray::slotOutputChanged(int parameter)
}
if (!randr_screen_info->outputs[parameter]->cur_crtc) {
- //printf("Screen was off, turning it on...\n\r");
+ //printf("Screen was off, turning it on...\n");
randr_screen_info->cur_crtc = randr_screen_info->outputs[parameter]->cur_crtc;
randr_screen_info->cur_output = randr_screen_info->outputs[parameter];
@@ -851,7 +851,7 @@ void KRandRSystemTray::slotOutputChanged(int parameter)
}
else {
if (num_outputs_on > 1) {
- //printf("Screen was on, turning it off...\n\r");
+ //printf("Screen was on, turning it off...\n");
randr_screen_info->cur_crtc = randr_screen_info->outputs[parameter]->cur_crtc;
randr_screen_info->cur_output = randr_screen_info->outputs[parameter];
randr_screen_info->cur_output->auto_set = 0;