summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-03-02 11:22:41 +0300
committermonsta <[email protected]>2016-03-02 11:23:46 +0300
commit4cf84b34933740627b09723d416c1969d21e47c7 (patch)
tree97bfb4566066bb0e1763025ca3ec4bc0856c00ec /src
parenta7f24682fe36b79e9076ac30d41c326f5c5206e8 (diff)
downloadmate-system-monitor-4cf84b34933740627b09723d416c1969d21e47c7.tar.bz2
mate-system-monitor-4cf84b34933740627b09723d416c1969d21e47c7.tar.xz
process table: rename proctable_update_all func to proctable_update
Diffstat (limited to 'src')
-rw-r--r--src/callbacks.cpp4
-rw-r--r--src/procactions.cpp4
-rw-r--r--src/procman.cpp8
-rw-r--r--src/proctable.cpp2
-rw-r--r--src/proctable.h2
5 files changed, 10 insertions, 10 deletions
diff --git a/src/callbacks.cpp b/src/callbacks.cpp
index 87e6bdf..88dc577 100644
--- a/src/callbacks.cpp
+++ b/src/callbacks.cpp
@@ -451,7 +451,7 @@ gint
cb_user_refresh (GtkAction*, gpointer data)
{
ProcData * const procdata = static_cast<ProcData*>(data);
- proctable_update_all(procdata);
+ proctable_update (procdata);
return FALSE;
}
@@ -462,7 +462,7 @@ cb_timeout (gpointer data)
ProcData * const procdata = static_cast<ProcData*>(data);
guint new_interval;
- proctable_update_all (procdata);
+ proctable_update (procdata);
if (procdata->smooth_refresh->get(new_interval))
{
diff --git a/src/procactions.cpp b/src/procactions.cpp
index 2e71510..0236748 100644
--- a/src/procactions.cpp
+++ b/src/procactions.cpp
@@ -108,7 +108,7 @@ renice (ProcData *procdata, int nice)
cb_timeout,
procdata);
- proctable_update_all (procdata);
+ proctable_update (procdata);
}
@@ -187,5 +187,5 @@ kill_process (ProcData *procdata, int sig)
procdata->timeout = g_timeout_add (procdata->config.update_interval,
cb_timeout,
procdata);
- proctable_update_all (procdata);
+ proctable_update (procdata);
}
diff --git a/src/procman.cpp b/src/procman.cpp
index 65502ce..01ba3cc 100644
--- a/src/procman.cpp
+++ b/src/procman.cpp
@@ -93,7 +93,7 @@ tree_changed_cb (GSettings *settings, const gchar *key, gpointer data)
proctable_clear_tree (procdata);
- proctable_update_all (procdata);
+ proctable_update (procdata);
}
static void
@@ -102,7 +102,7 @@ solaris_mode_changed_cb(GSettings *settings, const gchar *key, gpointer data)
ProcData *procdata = static_cast<ProcData*>(data);
procdata->config.solaris_mode = g_settings_get_boolean(settings, key);
- proctable_update_all (procdata);
+ proctable_update (procdata);
}
@@ -125,7 +125,7 @@ view_as_changed_cb (GSettings *settings, const gchar *key, gpointer data)
procdata->config.whose_process = g_settings_get_int (settings, key);
procdata->config.whose_process = CLAMP (procdata->config.whose_process, 0, 2);
proctable_clear_tree (procdata);
- proctable_update_all (procdata);
+ proctable_update (procdata);
}
@@ -725,7 +725,7 @@ main (int argc, char *argv[])
create_main_window (procdata);
procman_debug("end create_main_window");
- // proctable_update_all (procdata);
+ // proctable_update (procdata);
init_volume_monitor (procdata);
diff --git a/src/proctable.cpp b/src/proctable.cpp
index d81b4bc..50d22fb 100644
--- a/src/proctable.cpp
+++ b/src/proctable.cpp
@@ -1043,7 +1043,7 @@ proctable_update_list (ProcData * const procdata)
void
-proctable_update_all (ProcData * const procdata)
+proctable_update (ProcData * const procdata)
{
char* string;
diff --git a/src/proctable.h b/src/proctable.h
index 7fac966..aca6e19 100644
--- a/src/proctable.h
+++ b/src/proctable.h
@@ -58,7 +58,7 @@ enum
GtkWidget* proctable_new (ProcData *data);
void proctable_update_table (ProcData *data);
-void proctable_update_all (ProcData *data);
+void proctable_update (ProcData *data);
void proctable_clear_tree (ProcData *data);
void proctable_free_table (ProcData *data);