Commit 83503c99 authored by Christian Hergert's avatar Christian Hergert

Merge branch 'wip/tintou/filechooserentry-notify-file' into 'master'

file-chooser-entry: notify on file change

See merge request !6
parents 00c71f0b 46c4b66d
......@@ -220,7 +220,9 @@ dzl_file_chooser_entry_changed (DzlFileChooserEntry *self,
g_assert (GTK_IS_ENTRY (entry));
file = file_expand (gtk_entry_get_text (entry));
g_set_object (&priv->file, file);
if (g_set_object (&priv->file, file))
g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_FILE]);
}
static void
......@@ -556,4 +558,6 @@ dzl_file_chooser_entry_set_file (DzlFileChooserEntry *self,
collapsed = file_collapse (file);
gtk_entry_set_text (priv->entry, collapsed);
g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_FILE]);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment