diff options
author | Steven M. Parrish <smparrish@gmail.com> | 2010-10-24 13:50:09 (GMT) |
---|---|---|
committer | Steven M. Parrish <smparrish@gmail.com> | 2010-10-24 13:50:09 (GMT) |
commit | cfa82aa4848dedb774c83311a9c4e2b9bd4f2de0 (patch) | |
tree | 64513fae80dd2692a390531b4aa52b0ce80ac5b3 | |
parent | 1f6c66c0a28bff7f6e53f1a21b5c3fd874e3b1a3 (diff) |
Fix for SL2249, partial fix for SL328
-rw-r--r-- | modules/xo1/kspost.50.xo1-tweaks.inc | 1 | ||||
-rw-r--r-- | rpms/sugar/sl328-disable-start-menu-options-for-unk-items.patch | 48 | ||||
-rw-r--r-- | rpms/sugar/sugar.spec | 7 |
3 files changed, 55 insertions, 1 deletions
diff --git a/modules/xo1/kspost.50.xo1-tweaks.inc b/modules/xo1/kspost.50.xo1-tweaks.inc index a5d2aa2..08cd416 100644 --- a/modules/xo1/kspost.50.xo1-tweaks.inc +++ b/modules/xo1/kspost.50.xo1-tweaks.inc @@ -10,3 +10,4 @@ echo "%__dbi_cdb create private nommap" > /etc/rpm/macros.rpmdb # what's more, olpc.fth really shouldnt specify a root device sed -i -e 's:root=mtd0:root=/dev/mtdblock0:g' /boot/olpc.fth +rm /usr/share/gnome/autostart/libcanberra-login-sound.desktop diff --git a/rpms/sugar/sl328-disable-start-menu-options-for-unk-items.patch b/rpms/sugar/sl328-disable-start-menu-options-for-unk-items.patch new file mode 100644 index 0000000..40e5183 --- /dev/null +++ b/rpms/sugar/sl328-disable-start-menu-options-for-unk-items.patch @@ -0,0 +1,48 @@ +--- a/src/jarabe/journal/palettes.py ++++ b/src/jarabe/journal/palettes.py +@@ -62,22 +62,30 @@ class ObjectPalette(Palette): + Palette.__init__(self, primary_text=title, + icon=activity_icon) + +- if metadata.get('activity_id', ''): +- resume_label = _('Resume') +- resume_with_label = _('Resume with') +- else: +- resume_label = _('Start') +- resume_with_label = _('Start with') +- menu_item = MenuItem(resume_label, 'activity-start') +- menu_item.connect('activate', self.__start_activate_cb) +- self.menu.append(menu_item) +- menu_item.show() ++ if misc.get_activities(metadata) or misc.is_bundle(metadata): ++ if metadata.get('activity_id', ''): ++ resume_label = _('Resume') ++ resume_with_label = _('Resume with') ++ else: ++ resume_label = _('Start') ++ resume_with_label = _('Start with') ++ menu_item = MenuItem(resume_label, 'activity-start') ++ menu_item.connect('activate', self.__start_activate_cb) ++ self.menu.append(menu_item) ++ menu_item.show() + +- menu_item = MenuItem(resume_with_label, 'activity-start') +- self.menu.append(menu_item) +- menu_item.show() +- start_with_menu = StartWithMenu(self._metadata) +- menu_item.set_submenu(start_with_menu) ++ menu_item = MenuItem(resume_with_label, 'activity-start') ++ self.menu.append(menu_item) ++ menu_item.show() ++ start_with_menu = StartWithMenu(self._metadata) ++ menu_item.set_submenu(start_with_menu) ++ ++ else: ++ resume_label = _('No activity to start entry') ++ menu_item = MenuItem(resume_label) ++ menu_item.set_sensitive(False) ++ self.menu.append(menu_item) ++ menu_item.show() + + client = gconf.client_get_default() + color = XoColor(client.get_string('/desktop/sugar/user/color')) diff --git a/rpms/sugar/sugar.spec b/rpms/sugar/sugar.spec index 48c46e8..5ec5095 100644 --- a/rpms/sugar/sugar.spec +++ b/rpms/sugar/sugar.spec @@ -3,7 +3,7 @@ Summary: Constructionist learning platform Name: sugar Version: 0.88.1 -Release: 5.37dxo%{?dist} +Release: 5.38dxo%{?dist} URL: http://sugarlabs.org/ Source0: http://download.sugarlabs.org/sources/sucrose/glucose/%{name}/%{name}-%{version}.tar.bz2 @@ -33,6 +33,7 @@ Patch20: indicate-inactive-state-in-mesh-device-icon.patch Patch21: sl1673-fix-network-disconnect-and-discard-history-v2.patch #Patch22: sl1814-consolidate-activity-launch-entry-point.patch Patch23: sl1940-register-session-failed-fix.patch +Patch24: sl328-disable-start-menu-options-for-unk-items.patch # Andres' journal filesize enhancement Patch101: sizelist-0001-Journal-Retrieve-filesize-from-the-datastore.patch @@ -175,6 +176,7 @@ multiple instances of sugar. %patch21 -p1 #%patch22 -p1 %patch23 -p1 +%patch24 -p1 %patch101 -p1 %patch102 -p1 @@ -298,6 +300,9 @@ rm -rf %{buildroot} %{_datadir}/icons/hicolor/scalable/apps/sugar-xo.svg %changelog +* Wed Oct 20 2010 Steven M. Parrish <smparrish@gmail.com> - 0.88.1-5.38 +- Fix for SL328 + * Thu Jun 3 2010 Peter Robinson <pbrobinson@gmail.com> - 0.88.1-1 - New upstream stable 0.88.1 release |