GNOME Bugzilla – Bug 665960
Tab popup should be able to be used without activating the tab
Last modified: 2012-03-09 20:54:33 UTC
Created attachment 203216 [details] [review] tab popup Well you know that I like to have things working properly. I attached a patch that makes this work like firefox.
Review of attachment 203216 [details] [review]: Patch looks ok to me, but I do not like the from_action names... what about leaving save/save_as as they are now and add new _gedit_cmd_tab_* functions for the popup menu?
In fact we could move all the callbacks of the popup menu to a gedit-cmd-tab file so that window.c does not keep growing
If we want to move code away we could just go for a GeditNotebookPopupMenu class and get rid of all the popup menu stuff.
Created attachment 203423 [details] [review] tab popup v2 With the new class
I actually fixed this already.