[gnome-panel] [panel] Revert changes that shouldn't have been committed



commit 116252beafebab6c8564fc7745b1abf668a239ec
Author: Vincent Untz <vuntz gnome org>
Date:   Tue Sep 7 00:57:12 2010 +0200

    [panel] Revert changes that shouldn't have been committed

 gnome-panel/panel-default-setup.entries |   12 ++++++------
 gnome-panel/panel-object.schemas.in     |    6 ++----
 gnome-panel/panel-profile.c             |    4 +---
 3 files changed, 9 insertions(+), 13 deletions(-)
---
diff --git a/gnome-panel/panel-default-setup.entries b/gnome-panel/panel-default-setup.entries
index 182ba20..3604957 100644
--- a/gnome-panel/panel-default-setup.entries
+++ b/gnome-panel/panel-default-setup.entries
@@ -334,7 +334,7 @@
       <key>applets/window_menu/object_type</key>
       <schema_key>/schemas/apps/panel/objects/object_type</schema_key>
       <value>
-        <string>external-applet</string>
+        <string>bonobo-applet</string>
       </value>
     </entry>
     <entry>
@@ -388,7 +388,7 @@
       <key>applets/clock/object_type</key>
       <schema_key>/schemas/apps/panel/objects/object_type</schema_key>
       <value>
-        <string>external-applet</string>
+        <string>bonobo-applet</string>
       </value>
     </entry>
     <entry>
@@ -442,7 +442,7 @@
       <key>applets/notification_area/object_type</key>
       <schema_key>/schemas/apps/panel/objects/object_type</schema_key>
       <value>
-        <string>external-applet</string>
+        <string>bonobo-applet</string>
       </value>
     </entry>
     <entry>
@@ -496,7 +496,7 @@
       <key>applets/show_desktop_button/object_type</key>
       <schema_key>/schemas/apps/panel/objects/object_type</schema_key>
       <value>
-        <string>external-applet</string>
+        <string>bonobo-applet</string>
       </value>
     </entry>
     <entry>
@@ -550,7 +550,7 @@
       <key>applets/window_list/object_type</key>
       <schema_key>/schemas/apps/panel/objects/object_type</schema_key>
       <value>
-        <string>external-applet</string>
+        <string>bonobo-applet</string>
       </value>
     </entry>
     <entry>
@@ -604,7 +604,7 @@
       <key>applets/workspace_switcher/object_type</key>
       <schema_key>/schemas/apps/panel/objects/object_type</schema_key>
       <value>
-        <string>external-applet</string>
+        <string>bonobo-applet</string>
       </value>
     </entry>
     <entry>
diff --git a/gnome-panel/panel-object.schemas.in b/gnome-panel/panel-object.schemas.in
index 5a0943d..00d718a 100644
--- a/gnome-panel/panel-object.schemas.in
+++ b/gnome-panel/panel-object.schemas.in
@@ -15,8 +15,7 @@
         <long>
           The type of this panel object. Possible values are
           "drawer-object", "menu-object", "launcher-object",
-          "external-applet", "action-applet", "menu-bar" and
-	  "separator".
+          "bonobo-applet", "action-applet" and "menu-bar".
         </long>
       </locale>
     </schema>
@@ -106,8 +105,7 @@
         <long>
           The implementation ID of the applet - e.g.
           "ClockAppletFactory::ClockApplet". This key is only
-          relevant if the object_type key is "external-applet"
-	  (or the deprecated "bonobo-applet").
+          relevant if the object_type key is "bonobo-applet".
         </long>
       </locale>
     </schema>
diff --git a/gnome-panel/panel-profile.c b/gnome-panel/panel-profile.c
index 27ce137..c3de4f1 100644
--- a/gnome-panel/panel-profile.c
+++ b/gnome-panel/panel-profile.c
@@ -99,12 +99,10 @@ static GConfEnumStringPair panel_object_type_map [] = {
 	{ PANEL_OBJECT_DRAWER,    "drawer-object" },
 	{ PANEL_OBJECT_MENU,      "menu-object" },
 	{ PANEL_OBJECT_LAUNCHER,  "launcher-object" },
-	{ PANEL_OBJECT_APPLET,    "external-applet" },
+	{ PANEL_OBJECT_APPLET,    "bonobo-applet" },
 	{ PANEL_OBJECT_ACTION,    "action-applet" },
 	{ PANEL_OBJECT_MENU_BAR,  "menu-bar" },
 	{ PANEL_OBJECT_SEPARATOR, "separator" },
-	/* The following is for backwards compatibility with 2.30.x and earlier */
-	{ PANEL_OBJECT_APPLET,    "bonobo-applet" },
 	/* The following two are for backwards compatibility with 2.0.x */
 	{ PANEL_OBJECT_LOCK,      "lock-object" },
 	{ PANEL_OBJECT_LOGOUT,    "logout-object" },



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]