[Github-comments] [geany] If more tags are found during tag definition/declaration goto, let user select which one to use (#406)

Colomban Wendling notifications at xxxxx
Sat Feb 13 22:09:25 UTC 2016


> +
> +static void create_goto_popup(void)
> +{
> +	GtkWidget *frame, *scroller;
> +	GtkListStore *store;
> +	GtkTreeSelection *selection;
> +	GtkTreeViewColumn *column;
> +	GtkCellRenderer *renderer;
> +
> +	tag_goto_popup = g_object_new(GTK_TYPE_WINDOW, "type", GTK_WINDOW_TOPLEVEL, NULL);
> +	gtk_widget_set_can_focus(tag_goto_popup, TRUE);
> +	gtk_window_set_type_hint(GTK_WINDOW(tag_goto_popup), GDK_WINDOW_TYPE_HINT_DIALOG);
> +	gtk_window_set_decorated(GTK_WINDOW(tag_goto_popup), FALSE);
> +	gtk_window_set_transient_for(GTK_WINDOW(tag_goto_popup), GTK_WINDOW(main_widgets.window));
> +	gtk_window_set_destroy_with_parent(GTK_WINDOW(tag_goto_popup), TRUE);
> +	gtk_window_set_position(GTK_WINDOW(tag_goto_popup), GTK_WIN_POS_CENTER_ON_PARENT);

…or at least pass some of those as gobject construction props

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/406/files#r52834373
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160213/d2c41bdf/attachment.html>


More information about the Github-comments mailing list