You are not logged in.

1

Saturday, February 21st 2004, 5:31pm

The MSN picture size...

Hello,

I really like Kopete, but since the 0.8rc2 version, I wonder why the MSN contact's picture is so small...

I know we can see it bigger by pointing the curser over it... but I think it would be better if it was always at its original size...

Is this a bug ? or is this a normal feature ?

--> Is there a way to display it bigger ?

Thanks a lot.

2

Monday, February 23rd 2004, 8:13pm

Hi !

Same problem or request !

Make the picture bigger ! without on over. ;o)

Thanks !!

Kopete is a very great apps !!!! Thanks to all dev ! ;o)

3

Wednesday, February 25th 2004, 4:28pm

patch

i've made a patch to fix this issue i really dislike how small the picture is shown, this is the patch:

[code:1]
--- kopete-0.8.0/kopete/protocols/msn/msnmessagemanager.cpp 2004-02-02 17:07:35.000000000 -0300
+++ kopete-0.8.0msnpicturebig/kopete/protocols/msn/msnmessagemanager.cpp 2004-02-25 12:16:10.000000000 -0300
@@ -75,13 +75,17 @@
m_image = new QLabel( 0L, "kde toolbar widget" );
new KWidgetAction( m_image, i18n( "MSN Display Picture" ), 0, 0, 0, actionCollection(), "msnDisplayPicture" );
if ( c->displayPicture() )
- {
+ { m_image->setPixmap(c->displayPicture()->name());
+ /*
// FIXME: don't duplicate this code with the slotDisplayPictureChanged - Martijn
// FIXME: don't hardcode the 22x22 geometry, but adjust to the toolbar's height - Martijn
// FIXME: make the tooltip center on the image rather than stay out of the way - Martijn
- QImage scaledImg = QPixmap( c->displayPicture()->name() ).convertToImage().smoothScale( 22, 22 );
+ QImage scaledImg = QPixmap( (c->displayPicture()->name()).convertToImage() );
+ //.convertToImage() );
+ //.smoothScale( 22, 22 );
m_image->setPixmap( scaledImg );
- QToolTip&#58;&#58;add&#40; m_image, "<qt><img src=\"" + c->displayPicture&#40;&#41;->name&#40;&#41; + "\"></qt>" &#41;;
+
+ QToolTip&#58;&#58;add&#40; m_image, "<qt><img src=\"" + c->displayPicture&#40;&#41;->name&#40;&#41; + "\"></qt>" &#41;;*/
&#125;
&#125;
else
@@ -500,12 +504,13 @@
&#123;
if &#40; c->displayPicture&#40;&#41; &#41;
&#123;
- // FIXME&#58; don't duplicate this code with the c'tor - Martijn
+ m_image->setPixmap&#40;c->displayPicture&#40;&#41;->name&#40;&#41;&#41;;
+ /*// FIXME&#58; don't duplicate this code with the c'tor - Martijn
// FIXME&#58; don't hardcode the 22x22 geometry, but adjust to the toolbar's height - Martijn
// FIXME&#58; make the tooltip center on the image rather than stay out of the way - Martijn
QImage scaledImg = QPixmap&#40; c->displayPicture&#40;&#41;->name&#40;&#41; &#41;.convertToImage&#40;&#41;.smoothScale&#40; 22, 22 &#41;;
m_image->setPixmap&#40; scaledImg &#41;;
- QToolTip&#58;&#58;add&#40; m_image, "<qt><img src=\"" + c->displayPicture&#40;&#41;->name&#40;&#41; + "\"></qt>" &#41;;
+ QToolTip&#58;&#58;add&#40; m_image, "<qt><img src=\"" + c->displayPicture&#40;&#41;->name&#40;&#41; + "\"></qt>" &#41;;*/
&#125;
else
&#123;
[/code:1]