@andy5995 commented on this pull request.
> + GeanyDocument *doc = document_get_current();
+
+ if (doc != NULL && pin_list == NULL)
+ {
+ GtkWidget *label = gtk_label_new_with_mnemonic(doc->file_name);
+ gtk_widget_show(label);
+ gtk_box_pack_start(GTK_BOX(pinned_view_vbox), label, FALSE,
FALSE, 0);
+
gtk_notebook_set_current_page(GTK_NOTEBOOK(plugin->geany_data->main_widgets->sidebar_notebook),
page_number);
+ }
+}
+
+
+static gboolean pin_init(GeanyPlugin *plugin, gpointer pdata)
+{
+ GtkWidget *main_menu_item;
+ GSList *pin_list = NULL;
Thank you! I'm not good at reading code, but I got the general idea of what
needed to be done.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1308#discussion_r1489360787
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/pull/1308/review/[email protected]>