diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2023-05-30 10:36:11 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2023-05-31 18:39:14 +0200 |
commit | 200485246bdfda2c77689408dcd407d106639e60 (patch) | |
tree | 1d9b30e03d92eade3e70005c7889f10740d60ffc /fiv-sidebar.c | |
parent | 2caebb7d19dea2d7df459006f88ce4951a1a9bf0 (diff) | |
download | fiv-200485246bdfda2c77689408dcd407d106639e60.tar.gz fiv-200485246bdfda2c77689408dcd407d106639e60.tar.xz fiv-200485246bdfda2c77689408dcd407d106639e60.zip |
Process some GFileMonitor events
So far, it's rather crude.
Diffstat (limited to 'fiv-sidebar.c')
-rw-r--r-- | fiv-sidebar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fiv-sidebar.c b/fiv-sidebar.c index 6525067..caf2d86 100644 --- a/fiv-sidebar.c +++ b/fiv-sidebar.c @@ -623,9 +623,9 @@ fiv_sidebar_new(FivIoModel *model) gtk_container_set_focus_vadjustment(GTK_CONTAINER(sidebar_port), gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(self))); - // TODO(p): There should be an extra signal to watch location changes only. + // TODO(p): Also connect to and process the subdirectories-changed signal. self->model = g_object_ref(model); - g_signal_connect_swapped(self->model, "subdirectories-changed", + g_signal_connect_swapped(self->model, "reloaded", G_CALLBACK(update_location), self); return GTK_WIDGET(self); |