diff options
author | rbuj <[email protected]> | 2020-07-30 19:13:49 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-08-03 16:52:26 +0200 |
commit | 024fb9cbc9eae7043c577d63803ad8caee2e03d6 (patch) | |
tree | 5f0cc0f53f47b5ae73ab6a5559680167eec45f9b /cpufreq/src | |
parent | 5b06aece18a45af28a4b1d6911be5e27d61dfbed (diff) | |
download | mate-applets-024fb9cbc9eae7043c577d63803ad8caee2e03d6.tar.bz2 mate-applets-024fb9cbc9eae7043c577d63803ad8caee2e03d6.tar.xz |
cpufreq: Update cpufreq-preferences.ui
Diffstat (limited to 'cpufreq/src')
-rw-r--r-- | cpufreq/src/cpufreq-prefs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpufreq/src/cpufreq-prefs.c b/cpufreq/src/cpufreq-prefs.c index 0f425021..e7804f80 100644 --- a/cpufreq/src/cpufreq-prefs.c +++ b/cpufreq/src/cpufreq-prefs.c @@ -50,7 +50,7 @@ struct _CPUFreqPrefsPrivate { GtkWidget *show_unit; GtkWidget *show_perc; GtkWidget *cpu_combo; - GtkWidget *monitor_settings_box; + GtkWidget *monitor_settings_frame; GtkWidget *show_mode_combo; }; @@ -369,9 +369,9 @@ static void cpufreq_prefs_dialog_update_visibility (CPUFreqPrefs *prefs) { if (cpufreq_utils_get_n_cpus () > 1) - gtk_widget_show (prefs->priv->monitor_settings_box); + gtk_widget_show (prefs->priv->monitor_settings_frame); else - gtk_widget_hide (prefs->priv->monitor_settings_box); + gtk_widget_hide (prefs->priv->monitor_settings_frame); } static void @@ -532,7 +532,7 @@ cpufreq_prefs_dialog_create (CPUFreqPrefs *prefs) prefs->priv->show_unit = GTK_WIDGET (gtk_builder_get_object (builder, "prefs_show_unit")); prefs->priv->show_perc = GTK_WIDGET (gtk_builder_get_object (builder, "prefs_show_perc")); - prefs->priv->monitor_settings_box = GTK_WIDGET (gtk_builder_get_object (builder, "monitor_settings_box")); + prefs->priv->monitor_settings_frame = GTK_WIDGET (gtk_builder_get_object (builder, "monitor_settings_frame")); g_object_unref (builder); |