Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Open documents into new tab rather than new window #148
When I already have a ReText window open, I'd like to be able to double-click a file in the file explorer (Gnome Files) and have it open into a new tab on the existing window. Currently a new ReText window is opened instead. Thanks!
I'm using retext-5.0.2-2 on Fedora Linux 22.
Reported by: porjo38
Original Ticket: retext/tickets/148
This is non-trivial to fix and involves writing a lot of new code for inter-process communication. While I share your opinion (new tab is definitely better than new window), it may need to wait until I have a spare day for this.
Original comment by: mandriver
I am studying the code to see if I can do it.
I think that at https://github.com/retext-project/retext/blob/master/ReText/__main__.py#L92 I can see to emit the dbus signal when retext is started again.