[Github-comments] [geany/geany] Replace search dialog with search bar (#2220)

elextr notifications at xxxxx
Sun Jul 28 23:39:45 UTC 2019


elextr commented on this pull request.



> +	vbox = gtk_widget_get_ancestor(page, GTK_TYPE_VBOX);
+	GList *vbox_children = gtk_container_get_children(GTK_CONTAINER(vbox));
+	GtkWidget *sbox;
+	if (interface_prefs.search_bar_position == SEARCH_BAR_POSITION_TOP)
+	{
+		sbox = (GtkWidget*)vbox_children->data;
+	}
+	else
+	{
+		sbox = (GtkWidget*)((GList*)g_list_last(vbox_children))->data;
+	}
+	g_list_free(vbox_children);
+	return sbox;
+}
+
+void ui_emit_entry_what_to_search_in_search_bar_changed_if_visible(GeanyDocument *doc)

And now make it sensible.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2220#discussion_r308024072
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190728/d5b91c1e/attachment.html>


More information about the Github-comments mailing list