Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37786660
en ru br
Репозитории ALT
5.1: 3.5.10-alt20.M51.2
4.1: 3.5.10-alt16.M41.1
4.0: 3.5.9-alt1.M40.1
3.0: 3.4.1-alt12
+updates:3.4.1-alt12.1.M30
+backports:3.5.6-alt7.0.M30
www.altlinux.org/Changes

Группа :: Графические оболочки/KDE
Пакет: kdebase

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

Патч: kdebase-3.5.8-alt-launcherapplet-defaults.patch
Скачать


--- kdebase-3.5.8/kicker/applets/launcher/launcherapplet.kcfg~	2007-11-16 19:10:21 +0300
+++ kdebase-3.5.8/kicker/applets/launcher/launcherapplet.kcfg	2007-11-19 19:32:39 +0300
@@ -7,7 +7,7 @@
     <group name="General">
         <entry name="ConserveSpace" type="Bool">
             <label>Conserve Space</label>
-            <default>true</default>
+            <default>false</default>
         </entry>
         <entry name="DragEnabled" type="Bool">
             <label>Drag Enabled</label>
@@ -23,8 +23,33 @@
         </entry>
         <entry name="Buttons" type="StringList">
             <label>Buttons</label>
-            <default>kde-Home.desktop,kde-konsole.desktop,kde-KControl.desktop,kde-Help.desktop,kde-kwrite.desktop</default>
+	    <code>
+QStringList defBtns;
+QFile f(locate("data", "kicker/default-apps"));
+if (f.open(IO_ReadOnly))
+{
+    QTextStream is(&amp;f);
+
+    while (!is.eof())
+    {
+        QString strbtn(is.readLine().stripWhiteSpace());
+        if( !strbtn.isEmpty() )
+        	defBtns.append(strbtn);
+    }
+
+    f.close();
+}
+else
+{
+    defBtns.append("kde-konqbrowser.desktop");
+    defBtns.append("kde-Kontact.desktop");
+    defBtns.append("oowriter.desktop");
+    defBtns.append("oocalc.desktop");
+}
+	    </code>
+            <default code="true">defBtns</default>
         </entry>
+
         <entry name="VolatileButtons" type="StringList">
             <label>Volatile Buttons</label>
             <whatsthis>Buttons that can be removed dynamically if they become unpopular</whatsthis>
--- kdebase-3.5.8/kicker/applets/launcher/prefs.kcfgc~	2005-09-10 12:25:31 +0400
+++ kdebase-3.5.8/kicker/applets/launcher/prefs.kcfgc	2007-11-16 19:28:50 +0300
@@ -4,3 +4,4 @@ ClassName=Prefs
 Singleton=false
 Mutators=AutoAdjustMaxItems,Buttons,VolatileButtons,AutoAdjustMaxItems,AutoAdjustMinItems,AutoAdjustEnabled,IconDim,DragEnabled,ConserveSpace,ServiceInspos,ServiceNames,ServiceHistories
 # MemberVariables=public
+IncludeFiles=qfile.h
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin