[geany/geany] cfa334: Fix using the current document on 'Close Other Doc...

enrico.troeger at uvena.de enrico.troeger at xxxxx
Sun Nov 20 15:10:21 UTC 2011


  Branch: refs/heads/master
  Home:   https://github.com/geany/geany

  Commit: cfa334de74cc7e1d0c5a8fea81ebeb258a79525a
      https://github.com/geany/geany/commit/cfa334de74cc7e1d0c5a8fea81ebeb258a79525a
  Author: Enrico Tröger <enrico.troeger at uvena.de>
  Date:   2011-11-20 (Sun, 20 Nov 2011)

  Changed paths:
    M src/callbacks.c
  M src/notebook.c

  Log Message:
  -----------
  Fix using the current document on 'Close Other Documents' from the GtkNotebook tab menu

Instead we should use that tab which is under mouse cursor where the user clicked (this might be a
different one than the current document). To be able to do so, we need to handle the right-click signal
per tab not on the GtkNotebook tab area to identify the tab under the mouse cursor.


  Commit: 39606dd17cafb2392db9cb9daa318db9996146e8
      https://github.com/geany/geany/commit/39606dd17cafb2392db9cb9daa318db9996146e8
  Author: Enrico Tröger <enrico.troeger at uvena.de>
  Date:   2011-11-20 (Sun, 20 Nov 2011)

  Changed paths:
    M src/notebook.c

  Log Message:
  -----------
  Add Close menu item to the notebook tab menu

This is especially useful if tab close buttons are disabled.


Compare: https://github.com/geany/geany/compare/7aa9160...39606dd



More information about the Commits mailing list