[Tkabber-dev] r2082 - trunk/tkabber-plugins/otr

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Thu Jan 23 18:43:47 MSK 2014


Author: sergei
Date: 2014-01-23 18:43:47 +0400 (Thu, 23 Jan 2014)
New Revision: 2082

Modified:
   trunk/tkabber-plugins/otr/otr.tcl
Log:
	* Fixed gridding.


Modified: trunk/tkabber-plugins/otr/otr.tcl
===================================================================
--- trunk/tkabber-plugins/otr/otr.tcl	2014-01-23 14:41:17 UTC (rev 2081)
+++ trunk/tkabber-plugins/otr/otr.tcl	2014-01-23 14:43:47 UTC (rev 2082)
@@ -175,16 +175,17 @@
 	    }
 	    if {[::xmpp::xml::getAttr $attrs warn] == 1} {
 		Label $lb -image otr/notprivate
+		grid $lb -row 1 -column 4 -sticky e
 	    } else {
 		once_only $xlib $from
 		switch -- $ctx(msgstate,$xlib,$from) {
 		    MSGSTATE_ENCRYPTED -
 		    MSGSTATE_FINISHED {
 			Label $lb -image [msgstate:icon $xlib $from]
+			grid $lb -row 1 -column 4 -sticky e
 		    }
 		}
 	    }
-	    grid $lb -row 1 -column 4 -sticky e
 	    break
 	}
     }



More information about the Tkabber-dev mailing list