Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > 4fe0eac35e20eb2d09b83f78a19ab835 > files > 20

gwibber-3.0.0.1-2.fc13.src.rpm

diff -up gwibber-875bzr/ui/templates/navigation.mako.TEST gwibber-875bzr/ui/templates/navigation.mako
--- gwibber-875bzr/ui/templates/navigation.mako.TEST	2010-10-06 15:00:44.000000000 -0400
+++ gwibber-875bzr/ui/templates/navigation.mako	2010-10-07 12:29:33.481095835 -0400
@@ -75,10 +75,23 @@ def active(item):
             return false;
         });
 
-        $(".compact .stream").click(function() {
-            selectstream($(this));
-            document.location = generateStreamURL($(this));
+        $(".compact .stream").mousedown(function(event) {
+            switch (event.which) {
+              case 1:
+              selectstream($(this));
+              document.location = generateStreamURL($(this));
+              break;
+              case 2:
+              alert("     @..@  \n      (\\--/) \n   (.>__<.)\n   ^^^  ^^^\n\nRIBBIT!");
+              break;
+              case 3:
+              document.location = "gwibber:/close?transient=" + $(this).attr("transient");
+              return false;
+              break;
+              default:
+            }
         });
+
       });
     </script>