about summary refs log tree commit diff stats
path: root/src/ui/statusbar.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-09-16 22:23:59 +0100
committerJames Booth <boothj5@gmail.com>2014-09-16 22:23:59 +0100
commit16acb52ca3833c947bed07218caaf918b266fbed (patch)
treefceabfd4383c92e135334fb6319009784930f1ab /src/ui/statusbar.c
parentef8b8e637d36058c948aeac6837ccb555b993f31 (diff)
downloadprofani-tty-16acb52ca3833c947bed07218caaf918b266fbed.tar.gz
Show indicator when form has unsaved changes
Diffstat (limited to 'src/ui/statusbar.c')
-rw-r--r--src/ui/statusbar.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/ui/statusbar.c b/src/ui/statusbar.c
index 2d9ea533..0f3267b3 100644
--- a/src/ui/statusbar.c
+++ b/src/ui/statusbar.c
@@ -103,14 +103,7 @@ create_status_bar(void)
 void
 status_bar_update_virtual(void)
 {
-    GDateTime *now_time = g_date_time_new_now_local();
-    GTimeSpan elapsed = g_date_time_difference(now_time, last_time);
-
-    if (elapsed >= TIME_CHECK) {
-        _status_bar_draw();
-    }
-
-    g_date_time_unref(now_time);
+    _status_bar_draw();
 }
 
 void