Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1633554
 поиск   регистрация   авторизация 
 
Группа :: Графические оболочки/KDE
Пакет: kdebase

 Главная   Изменения   Спек   Патчи   Загрузить   Bugs and FR 

Патч: kdebase-3.2-konsolefont-alt.patch


--- kdebase-3.0/konsole/konsole/konsole_part.cpp~	Mon May 13 12:41:16 2002
+++ kdebase-3.0/konsole/konsole/konsole_part.cpp	Mon May 13 12:50:59 2002
@@ -134,14 +134,12 @@ void KonsoleFontSelectAction::slotActiva
 //////////////////////////////////////////////////////////////////////
 
 static const char * const fonts[] = {
- "13",
- "7",   // tiny font, never used
- "10",  // small font
- "13",  // medium
- "15",  // large
- "20", // huge
- "-misc-console-medium-r-normal--16-160-72-72-c-80-iso10646-1", // "Linux"
- "-misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1",    // "Unicode"
+ "15",
+ "10",   // tiny font, never used
+ "13",  // small font
+ "15",  // medium
+ "20",  // large
+ "24", // huge
  };
 
 #define TOPFONT (sizeof(fonts)/sizeof(char*))
@@ -377,9 +375,6 @@ void konsolePart::makeGUI()
      << i18n("&Large")
      << i18n("&Huge")
      << ""
-     << i18n("&Linux")
-     << i18n("&Unicode")
-     << ""
      << i18n("&Custom...");
      selectFont->setItems(it);
      selectFont->plug(m_options);
--- kdebase-3.0/konsole/konsole/konsole.cpp~	Mon May 13 15:16:35 2002
+++ kdebase-3.0/konsole/konsole/konsole.cpp	Mon May 13 15:14:03 2002
@@ -166,14 +166,12 @@ template class QPtrDict<KRadioAction>;
 
 
 static const char * const fonts[] = {
- "13",
- "7",   // tiny font, never used
- "10",  // small font
- "13",  // medium
- "15",  // large
- "20", // huge
- "-misc-console-medium-r-normal--16-160-72-72-c-80-iso10646-1", // "Linux"
- "-misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1",    // "Unicode"
+ "15",
+ "10",   // tiny font, never used
+ "13",  // small font
+ "15",  // medium
+ "20",  // large
+ "24", // huge
  };
 #define TOPFONT (sizeof(fonts)/sizeof(char*))
 #define DEFAULTFONT TOPFONT
@@ -638,9 +638,6 @@ void Konsole::makeGUI()
          << i18n("&Large")
          << i18n("&Huge")
          << ""
-         << i18n("L&inux")
-         << i18n("&Unicode")
-         << ""
          << i18n("&Custom...");
       selectFont->setItems(it);
       selectFont->plug(m_options);
 
design & coding: Vladimir Lettiev aka crux © 2004-2005