summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-02-29 15:37:03 +0300
committermonsta <[email protected]>2016-02-29 15:54:56 +0300
commit58fd36cfb445a580f3613291756f80b1ec8f376b (patch)
treeebf8e9a806b095ac375214a7eee306380319c128
parent67f2a369d1bc9a3b834d3e49a8508ae41bcc1ede (diff)
downloadmate-system-monitor-58fd36cfb445a580f3613291756f80b1ec8f376b.tar.bz2
mate-system-monitor-58fd36cfb445a580f3613291756f80b1ec8f376b.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 7789059..bc92929 100644
--- a/src/procdialogs.cpp
+++ b/src/procdialogs.cpp
@@ -336,6 +336,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;
}