@scresto09 commented on this pull request.


In incdec/src/incdec-plugin.c:

> +	gtk_container_add(GTK_CONTAINER(geany->main_widgets->editor_menu), plugin_data._menu_item_sep);
+
+	plugin_data._menu_item_change_number = gtk_menu_item_new_with_mnemonic(_("_Increment or Decrement number"));
+        gtk_container_add(GTK_CONTAINER(geany->main_widgets->editor_menu), plugin_data._menu_item_change_number);
+
+	configuration_apply();
+
+        g_signal_connect(plugin_data._menu_item_change_number, "activate", G_CALLBACK(on_change_number_x), NULL);
+}
+
+
+void plugin_cleanup (void)
+{
+	if (plugin_data._dialog)
+	{
+		gtk_widget_destroy (GTK_WIDGET (plugin_data._dialog));

Ok I did it


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany-plugins/pull/1351/review/2572779901@github.com>