# HG changeset patch # User IBBoard # Date 1364070474 0 # Node ID d62ba69a5f904ae6170b31c655e0adff837e4268 Initial commit with code and sizing change, plus readme diff -r 000000000000 -r d62ba69a5f90 README.md --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/README.md Sat Mar 23 20:27:54 2013 +0000 @@ -0,0 +1,11 @@ +# Smaller Message Tray + +The Gnome Shell message tray in versions up to 3.6 were small and discrete. +Gnome Shell 3.6 changed this by growing the notification are to 48px high. +This extension halves the size of the height of the bar. + +Note: This extension will not resize the icons until the next shell restart +after it is enabled. To force a restart press Alt+F2, type "r" and press enter. +To make the icons big again, disable the extension and force a shell restart. + +Source: http://dev.ibboard.co.uk/repos/other/SmallerMessageTray/summary \ No newline at end of file diff -r 000000000000 -r d62ba69a5f90 extension.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/extension.js Sat Mar 23 20:27:54 2013 +0000 @@ -0,0 +1,16 @@ +const MessageTray = imports.ui.messageTray; + +let src; + +function init() { + src = MessageTray.Source.prototype; +} + +function enable() { + src.__OLD_SOURCE_ICON_SIZE = src.SOURCE_ICON_SIZE + src.SOURCE_ICON_SIZE = 24 +} + +function disable() { + src.SOURCE_ICON_SIZE = src.__OLD_SOURCE_ICON_SIZE +} \ No newline at end of file diff -r 000000000000 -r d62ba69a5f90 metadata.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/metadata.json Sat Mar 23 20:27:54 2013 +0000 @@ -0,0 +1,1 @@ +{"shell-version": ["3.6.3.1"], "uuid": "smaller.message.tray@ibboard.co.uk", "name": "Smaller Message Tray", "description": "Shrinks the message tray back to a pre-3.6 size"} \ No newline at end of file diff -r 000000000000 -r d62ba69a5f90 stylesheet.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/stylesheet.css Sat Mar 23 20:27:54 2013 +0000 @@ -0,0 +1,3 @@ +#message-tray { + height: 36px; +} \ No newline at end of file