GNOME Bugzilla – Bug 736470
Include screenshot-window-sizer extension
Last modified: 2014-09-17 05:18:36 UTC
See patch - with Software gaining traction, making it easier for maintainers to take screenshots of their applications looks like a good reason to me to move this into our set of officially supported extensions. (Might be late for this cycle though, even without translatable strings that would require a string break ...)
Created attachment 285903 [details] [review] screenshot-window-sizer: New extension Originally from hughsie's github[0], but way too useful to leave in a 3rd party repo :-) [0] https://github.com/hughsie/gnome-shell-extension-screenshot-window-sizer
Review of attachment 285903 [details] [review]: I agree that we should add this one. The code looks good to me just two small things. ::: extensions/screenshot-window-sizer/extension.js @@ +35,3 @@ +function hideMessage() { + Main.uiGroup.remove_actor(text); + text = null; Is that enough to free the memory? I'd do text.destroy() before setting it to null. @@ +55,3 @@ + Tweener.addTween(text, + { opacity: 0, + time: 2, Should be a constant.
Attachment 285903 [details] pushed as 1d5ab0f - screenshot-window-sizer: New extension