summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-02-29 15:37:03 +0300
committermonsta <[email protected]>2016-03-21 15:41:13 +0300
commite6ebc74fdb77fff1db6af96cfae471fc26122800 (patch)
tree39df6642250f88f407b5e94541b07f7691677035
parent9dd791b9bf46d155727cf07dddb25571a9a2cf75 (diff)
downloadmate-system-monitor-e6ebc74fdb77fff1db6af96cfae471fc26122800.tar.bz2
mate-system-monitor-e6ebc74fdb77fff1db6af96cfae471fc26122800.tar.xz
prefs dialog: fix refresh rate not saving in some cases
from https://git.gnome.org/browse/gnome-system-monitor/commit/?id=abc1f5b47efa2dcd5f0e9c378283e9d9e6ac9fdf cases are described in https://bugzilla.gnome.org/show_bug.cgi?id=543315
-rw-r--r--src/procdialogs.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/procdialogs.cpp b/src/procdialogs.cpp
index 95b2527..58f06e3 100644
--- a/src/procdialogs.cpp
+++ b/src/procdialogs.cpp
@@ -343,6 +343,7 @@ public:
static gboolean callback(GtkWidget *widget, GdkEventFocus *event, gpointer data)
{
SpinButtonUpdater* updater = static_cast<SpinButtonUpdater*>(data);
+ gtk_spin_button_update(GTK_SPIN_BUTTON(widget));
updater->update(GTK_SPIN_BUTTON(widget));
return FALSE;
}