[Github-comments] [geany/geany] Replace search dialog with search bar (#2220)
js361014
notifications at xxxxx
Sun Jul 28 23:09:36 UTC 2019
js361014 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)
@codebrainz Done.
--
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_r308022612
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190728/7a053a76/attachment.html>
More information about the Github-comments
mailing list