[PC-BSD Commits] r1386 - in pbibuild/pbi-source: PBCsource PBIsource PBItext

svn at pcbsd.org svn at pcbsd.org
Thu Feb 14 16:51:49 PST 2008


Author: kris
Date: 2008-02-14 16:51:48 -0800 (Thu, 14 Feb 2008)
New Revision: 1386

Modified:
   pbibuild/pbi-source/PBCsource/exedialog.ui
   pbibuild/pbi-source/PBIsource/pbi.ui.h
   pbibuild/pbi-source/PBItext/main.cpp
Log:

Fixed up the PBI creator to allow the proper Edutainment categories in KMenu
now



Modified: pbibuild/pbi-source/PBCsource/exedialog.ui
===================================================================
--- pbibuild/pbi-source/PBCsource/exedialog.ui	2008-02-14 20:26:35 UTC (rev 1385)
+++ pbibuild/pbi-source/PBCsource/exedialog.ui	2008-02-15 00:51:48 UTC (rev 1386)
@@ -308,11 +308,31 @@
                     </item>
                     <item>
                         <property name="text">
-                            <string>Edutainment</string>
+                            <string>Edutainment/Languages</string>
                         </property>
                     </item>
                     <item>
                         <property name="text">
+                            <string>Edutainment/Math</string>
+                        </property>
+                    </item>
+                    <item>
+                        <property name="text">
+                            <string>Edutainment/Misc</string>
+                        </property>
+                    </item>
+                    <item>
+                        <property name="text">
+                            <string>Edutainment/Science</string>
+                        </property>
+                    </item>
+                    <item>
+                        <property name="text">
+                            <string>Edutainment/Teaching</string>
+                        </property>
+                    </item>
+                    <item>
+                        <property name="text">
                             <string>Games</string>
                         </property>
                     </item>

Modified: pbibuild/pbi-source/PBIsource/pbi.ui.h
===================================================================
--- pbibuild/pbi-source/PBIsource/pbi.ui.h	2008-02-14 20:26:35 UTC (rev 1385)
+++ pbibuild/pbi-source/PBIsource/pbi.ui.h	2008-02-15 00:51:48 UTC (rev 1386)
@@ -753,8 +753,28 @@
 		 }
 		 if ( ExeKdeCat[exenum] == "Edutainment")
 		 {
-		       stream << "Categories=Qt;KDE;Edutainment;\n";
+		       stream << "Categories=Qt;KDE;Education;\n";
 		 }
+		 if ( ExeKdeCat[exenum] == "Edutainment/Languages")
+		 {
+		       stream << "Categories=Qt;KDE;Education;Languages;\n";
+		 }
+		 if ( ExeKdeCat[exenum] == "Edutainment/Math")
+		 {
+		       stream << "Categories=Qt;KDE;Education;Math;\n";
+		 }
+		 if ( ExeKdeCat[exenum] == "Edutainment/Misc")
+		 {
+		       stream << "Categories=Qt;KDE;Education;\n";
+		 }
+		 if ( ExeKdeCat[exenum] == "Edutainment/Science")
+		 {
+		       stream << "Categories=Qt;KDE;Education;Science;\n";
+		 }
+		 if ( ExeKdeCat[exenum] == "Edutainment/Teaching")
+		 {
+		       stream << "Categories=Qt;KDE;Education;Teaching;\n";
+		 }
 		 if ( ExeKdeCat[exenum] == "Games/Arcade")
 		 {
 		       stream << "Categories=Qt;KDE;Game;ArcadeGame;\n";

Modified: pbibuild/pbi-source/PBItext/main.cpp
===================================================================
--- pbibuild/pbi-source/PBItext/main.cpp	2008-02-14 20:26:35 UTC (rev 1385)
+++ pbibuild/pbi-source/PBItext/main.cpp	2008-02-15 00:51:48 UTC (rev 1386)
@@ -691,10 +691,30 @@
 		 {
 		       stream << "Categories=Qt;KDE;Editors;\n";
 		 }
-		 if ( ExeKdeCat[exenum] == "Edutainment")
-		 {
-		       stream << "Categories=Qt;KDE;Edutainment;\n";
-		 }
+                 if ( ExeKdeCat[exenum] == "Edutainment")
+                 {
+                       stream << "Categories=Qt;KDE;Education;\n";
+                 }
+                 if ( ExeKdeCat[exenum] == "Edutainment/Languages")
+                 {
+                       stream << "Categories=Qt;KDE;Education;Languages;\n";
+                 }
+                 if ( ExeKdeCat[exenum] == "Edutainment/Math")
+                 {
+                       stream << "Categories=Qt;KDE;Education;Math;\n";
+                 }
+                 if ( ExeKdeCat[exenum] == "Edutainment/Misc")
+                 {
+                       stream << "Categories=Qt;KDE;Education;\n";
+                 }
+                 if ( ExeKdeCat[exenum] == "Edutainment/Science")
+                 {
+                       stream << "Categories=Qt;KDE;Education;Science;\n";
+                 }
+                 if ( ExeKdeCat[exenum] == "Edutainment/Teaching")
+                 {
+                       stream << "Categories=Qt;KDE;Education;Teaching;\n";
+                 }
 		 if ( ExeKdeCat[exenum] == "Games/Arcade")
 		 {
 		       stream << "Categories=Qt;KDE;Game;ArcadeGame;\n";



More information about the Commits mailing list