Ubuntu Pastebin

Paste from Marco Trevisan (3v1n0) at Tue, 15 Dec 2015 14:40:40 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
=== modified file 'unity-shared/TextInput.cpp'
--- unity-shared/TextInput.cpp  2015-11-06 11:40:31 +0000
+++ unity-shared/TextInput.cpp  2015-12-15 14:38:05 +0000
@@ -232,6 +232,7 @@
   }
 
   warning_->SetVisible(caps_lock_on() || num_lock_on());
+  warning_->SetOpacity((num_lock_on() && !caps_lock_on()) ? 0.3 : 1.0);
   warning_tooltip_.Release();
   QueueRelayout();
   QueueDraw();
Download as text