From 7e7521cf2ffaccaa0c5ca080e949624f7edec487 Mon Sep 17 00:00:00 2001 From: Landry Breuil Date: Thu, 4 Dec 2014 20:40:46 +0100 Subject: [PATCH] connect the notify::show-memory-in-xbytes signal to a force_timeout_update() call --- src/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.c b/src/main.c index e218405..c93a109 100644 --- a/src/main.c +++ b/src/main.c @@ -201,6 +201,7 @@ int main (int argc, char *argv[]) g_signal_connect_after (settings, "notify::more-precision", G_CALLBACK (force_timeout_update), NULL); g_signal_connect_after (settings, "notify::full-command-line", G_CALLBACK (force_timeout_update), NULL); g_signal_connect (settings, "notify::show-status-icon", G_CALLBACK (show_hide_status_icon), NULL); + g_signal_connect (settings, "notify::show-memory-in-xbytes", G_CALLBACK (force_timeout_update), NULL); g_signal_connect (window, "destroy", G_CALLBACK (destroy_window), NULL); g_signal_connect (window, "delete-event", G_CALLBACK (delete_window), NULL);