I haven't looked at this in a while. Behavior originally intended is to "Actvate and focus" a document. The original inner conditional if (idx != ...) prevented both. Also, gtk_notebook_set_current_page most likely already performs necessary checks, so additional checks wastes processor cycles to produce incorrect behavior.


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/1234/c2381492560@github.com>