Skip to content

Commit 15e73a5

Browse files
committed
nemo-query-editor.c: Don't show the bar separator if the search
box isn't being shown. The separator acts as a border to the content below it. The visibility binding was accidentally removed in 3541baa Fixes linuxmint/cinnamon#10161.
1 parent ae8a77e commit 15e73a5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/nemo-query-editor.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,9 @@ nemo_query_editor_init (NemoQueryEditor *editor)
561561

562562
separator = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);
563563
gtk_box_pack_start (GTK_BOX (editor), separator, FALSE, FALSE, 0);
564-
gtk_widget_show (separator);
564+
g_object_bind_property (priv->infobar, "visible",
565+
separator, "visible",
566+
G_BINDING_DEFAULT | G_BINDING_SYNC_CREATE);
565567

566568
priv->focus_chain = g_list_append (NULL, priv->file_entry);
567569
priv->focus_chain = g_list_append (priv->focus_chain, priv->content_entry);

0 commit comments

Comments
 (0)