Sophie

Sophie

distrib > Mandriva > 2006.0 > i586 > media > main-src > by-pkgid > a6bc312ce50b5c8d0c51736e58ac32bc > files > 100

kdebase-3.4.2-55mdk.src.rpm

--- kdebase-3.1/konsole/konsole/konsole.cpp--	2003-02-27 16:16:00.000000000 +0100
+++ kdebase-3.1/konsole/konsole/konsole.cpp	2003-02-27 16:18:23.000000000 +0100
@@ -486,7 +486,7 @@ void Konsole::makeGUI()
    if (bookmarkHandler)
       connect( bookmarkHandler, SIGNAL( openURL( const QString&, const QString& )),
             SLOT( enterURL( const QString&, const QString& )));
-   if (bookmarkHandlerSession)            
+   if (bookmarkHandlerSession)
       connect( bookmarkHandlerSession, SIGNAL( openURL( const QString&, const QString& )),
             SLOT( newSession( const QString&, const QString& )));
    if (m_bookmarks)
@@ -909,8 +909,8 @@ void Konsole::setColLin(int columns, int
   {
     if (defaultSize.isEmpty()) // not in config file : set default value
     {
-      defaultSize = sizeForCentralWidgetSize(te->calcSize(80,24));
-      notifySize(24,80); // set menu items (strange arg order !)
+      defaultSize = sizeForCentralWidgetSize(te->calcSize(80,25));
+      notifySize(25,80); // set menu items (strange arg order !)
     }
     resize(defaultSize);
   } else {
@@ -1077,7 +1077,7 @@ void Konsole::readProperties(KConfig* co
    {
       n_defaultKeytab=KeyTrans::find(config->readEntry("keytab","default"))->numb(); // act. the keytab for this session
       b_fullscreen = config->readBoolEntry("Fullscreen",false);
-      n_defaultFont = n_font = QMIN(config->readUnsignedNumEntry("font",3),TOPFONT);
+      n_defaultFont = n_font = QMIN(config->readUnsignedNumEntry("font",7),TOPFONT);
       n_scroll   = QMIN(config->readUnsignedNumEntry("scrollbar",TEWidget::SCRRIGHT),2);
       n_bell = QMIN(config->readUnsignedNumEntry("bellmode",TEWidget::BELLSYSTEM),2);
 
@@ -1086,8 +1086,9 @@ void Konsole::readProperties(KConfig* co
       QFont tmpFont("fixed");
       tmpFont.setFixedPitch(true);
       tmpFont.setStyleHint(QFont::TypeWriter);
+      tmpFont.setPointSize(12 );
       defaultFont = config->readFontEntry("defaultfont", &tmpFont);
-      setFont(QMIN(config->readUnsignedNumEntry("font",3),TOPFONT));
+      setFont(QMIN(config->readUnsignedNumEntry("font",7),TOPFONT));
 
       //set the schema
       s_kconfigSchema=config->readEntry("schema", "");