[gnome-system-monitor: 5/7] Fixed indentaion.
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-system-monitor: 5/7] Fixed indentaion.
- Date: Thu, 21 Jan 2021 07:59:41 +0000 (UTC)
commit 0bca3eede22c1f775082ae7169387fe5cc2a9f2a
Author: Pawel Chalkowski <chauek gmail com>
Date: Fri Jan 8 17:51:48 2021 +0100
Fixed indentaion.
src/application.cpp | 20 ++++++++++----------
src/application.h | 2 +-
2 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/src/application.cpp b/src/application.cpp
index 191934d0..72e852e0 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -33,11 +33,11 @@ cb_solaris_mode_changed (Gio::Settings& settings, Glib::ustring key, GsmApplicat
static void
cb_process_memory_in_iec_changed (Gio::Settings& settings, Glib::ustring key, GsmApplication* app) {
- app->config.process_memory_in_iec = settings.get_boolean(key);
- app->cpu_graph->clear_background();
- if (app->timeout) {
- proctable_update(app);
- }
+ app->config.process_memory_in_iec = settings.get_boolean(key);
+ app->cpu_graph->clear_background();
+ if (app->timeout) {
+ proctable_update(app);
+ }
}
static void
@@ -136,11 +136,11 @@ cb_timeouts_changed (Gio::Settings& settings, Glib::ustring key, GsmApplication*
static void
cb_data_points_changed(Gio::Settings& settings, Glib::ustring key, GsmApplication* app) {
- app->config.graph_data_points = settings.get_int (key);
- unsigned points = app->config.graph_data_points + 2;
- load_graph_change_num_points(app->cpu_graph, points);
- load_graph_change_num_points(app->mem_graph, points);
- load_graph_change_num_points(app->net_graph, points);
+ app->config.graph_data_points = settings.get_int (key);
+ unsigned points = app->config.graph_data_points + 2;
+ load_graph_change_num_points(app->cpu_graph, points);
+ load_graph_change_num_points(app->mem_graph, points);
+ load_graph_change_num_points(app->net_graph, points);
}
static void
diff --git a/src/application.h b/src/application.h
index c298f4c2..8961c5c4 100644
--- a/src/application.h
+++ b/src/application.h
@@ -43,7 +43,7 @@ struct ProcConfig
num_cpus(0),
solaris_mode(false),
process_memory_in_iec(true),
- logarithmic_scale(false),
+ logarithmic_scale(false),
draw_stacked(false),
draw_smooth(true),
resources_memory_in_iec(true),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]