[Sugar-devel] [REMINDER] Development team meeting --- 8. Nov 2011 (15:00 UTC)

2011-11-07 Thread Simon Schampijer

Hi,

tomorrow we will have our weekly development team meeting: This week 
topics are:


* status of action items from last week
 - check if ASLO supports well having different activity versions, 
dotted versions and major versions
 - check which activities uses a drawable which has to be replaced by 
cairo calls

 - write up cairo porting guide (walter)
* current status of the development cycle [1]
* status of the GTK3 port [2]

Regards,
   Simon

[1] http://wiki.sugarlabs.org/go/0.96/Roadmap
[2] http://wiki.sugarlabs.org/go/Features/GTK3
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [PATCH] Start filtered activity with keyboard

2011-11-07 Thread godiard
From: Gonzalo Odiard godi...@gmail.com

This patch complement the filter functionality in the home view.
If only one activity is selected, Return key start the activity.

Signed-off-by: Gonzalo Odiard gonz...@laptop.org
---
 src/jarabe/desktop/favoritesview.py |7 +++
 src/jarabe/desktop/homewindow.py|2 ++
 2 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/jarabe/desktop/favoritesview.py 
b/src/jarabe/desktop/favoritesview.py
index 132d14f..db3aa36 100644
--- a/src/jarabe/desktop/favoritesview.py
+++ b/src/jarabe/desktop/favoritesview.py
@@ -94,6 +94,7 @@ class FavoritesView(hippo.Canvas):
 self._layout = None
 self._alert = None
 self._resume_mode = True
+self._filtered_icons = []
 
 # More DND stuff
 self.add_events(gtk.gdk.BUTTON_PRESS_MASK |
@@ -113,14 +114,20 @@ class FavoritesView(hippo.Canvas):
 
 def set_filter(self, query):
 query = query.strip()
+self._filtered_icons = []
 for icon in self._box.get_children():
 if icon not in [self._my_icon, self._current_activity]:
 activity_name = icon._activity_info.get_name().lower()
 if activity_name.find(query)  -1:
 icon.alpha = 1.0
+self._filtered_icons.append(icon)
 else:
 icon.alpha = 0.33
 
+def start_selected_activity(self):
+if len(self._filtered_icons) == 1:
+self._filtered_icons[0]._activate()
+
 def __settings_changed_cb(self, **kwargs):
 favorites_settings = get_settings()
 self._set_layout(favorites_settings.layout)
diff --git a/src/jarabe/desktop/homewindow.py b/src/jarabe/desktop/homewindow.py
index 07deff7..f03b067 100644
--- a/src/jarabe/desktop/homewindow.py
+++ b/src/jarabe/desktop/homewindow.py
@@ -117,6 +117,8 @@ class HomeWindow(gtk.Window):
 def __key_press_event_cb(self, window, event):
 if event.keyval in [gtk.keysyms.Alt_L, gtk.keysyms.Alt_R]:
 self._home_box.set_resume_mode(False)
+if event.keyval == gtk.keysyms.Return:
+self._home_box._favorites_view.start_selected_activity()
 return False
 
 def __key_release_event_cb(self, window, event):
-- 
1.7.7

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Toolbars review

2011-11-07 Thread Gary Martin
Hi Gonzalo,Apologies for the long overdue reply to this old thread!On 26 Sep 2011, at 04:20, Gonzalo Odiard wrote:Hi Gary and team :)Here, in SugarCamp Junin, we did a review at the state of the toolbars.These are ideas to discuss, if you want in the meeting, or start over mail.We don't know if will be available tomorrow to participate in the Design Team meeting.Regards,Gonzalo  ManuelToolbar Catalog:http://wiki.sugarlabs.org/go/Design_Team/Toolbar_CatalogBrowse:* Can we move the Next/Previous buttons to the left of the url entry, like in other browsers,and may be move the home button to the rigth.I prefer the URL entry field centred in the toolbar, given the full screen design, but otherwise don't see a strong argument for which side theNext/Previous buttons go. Would such an argument change for right-to-left languages? I'd vote for making no change on this one just for now.Finance:* Replace the "Period" label and the combo, with a RadioMenuButton with calendar icon.Would you be able to see the currently selected time period in the toolbar without needing to re-open the menu to see which radio item was active?* Add a Edit button and implement copy/paste.+1* Move the transactions buttons to the right of the view button.+1* Move the help bar to the bottom of the screen?Not sure we have a consensus on help placement yet. In TA, the help feature uses the secondary toolbar UI, though it tries to stick to short concise two line help hint text, rather than large paragraphs of text as found in Finance.Fototoon:* Check activity icon, looks smaller than the others.Yea, it is a little on the small side, the stroke is also too thin and the buddy icon circle head is not quite to the right proportions (needs to move up and grow a little larger).GetBooks:* Move the Journal source option in the combo to separated button in the toolbar?Agreed that this feature is a little hidden/unexpected at the moment, though I'm not convinced moving it out into the toolbar would be a good move. The current three choices in that combo menu (Feedbooks, Internet Archive, and My Books) are all exclusive view modes for the UI. One simple tweak that may help would be to add the Browse icon to both the Feedbook and Internet Archive menu items to indicate that they refer to remote internet sources (and thus that My Books refers to the Journal as shown by its current icon).* Move the language combo to a configuration (spanner) subtoolbar?I'm fine with it as a text combo, what was the reason for wanting to move this into a configuration sub-toolbar? Not enough toolbar space for new features? Problems with long translation texts?ImageViewer:* We should standarize rotate buttons in ImageViewer, Paint and FototToon.+1, Paint looks like it has the nicest rotate buttons, and we should consider adding the final selection into sugar-artwok.* Move fullscreen button at the rigth of Zoom buttons, add a separator and next the rotate buttons.Not sure the reasoning behind this. I do notice that we seems to have two invisible padding separators either side of the current rotate icons which seems a little weird and non standard (either you have a standard vertical separator line or you don't, the only exception is when trying to use an expanding separator to right align some icons in the toolbar e.g. Help, and Stop).Implode:* The buttons in the main toollbar should be left aligned (Manu has a patch). +1! The New and Replay icons could do with some work as well, but that's another todo ;)Infoslicer:* The icon used in Publish button, is the Keep button icon and should be replacedby a export icon.Fixed already in InfoSlicer-10Jukebox:* We can replace the sound icon, by a icon with a plus sign because is a add sound button.Could certainly use a help hint. Perhaps an add sign could be overlaid onto this default icon so we keep fairly close to the default audio icon design? Or perhaps take that musical note shape and make it larger  white with an add sign to one side?* We can add another button with to add video, opening the object chooser filtering video files.I guess the ObjectChooser only allows one filter type at a time (otherwise a single 'Add media' button that filtered for audio and video would be simpler).* The play button looks bigger than the other media operations buttons.These are already the correct icons as per sugar-artwork.* Can we improve the volume control? May be use the same icons than the frame and a more conventionalpalette?I think one confusion is also that the playhead position slider looks like it might be the controller for the volume level. Perhaps have two sliders, each with a icon (one for volume, one for position), and a separator between them to make sure the icon associates with the correct slider? If primary toolbar space is limited, perhaps go with the standard volume device toolbar button and have it open a regular palette with a horizontal slider inside?Try standarize the icon with other sound activities, like TamTamSuite.Yes 

Re: [Sugar-devel] [PATCH] Start filtered activity with keyboard

2011-11-07 Thread James Cameron
On Mon, Nov 07, 2011 at 09:06:45AM -0300, godi...@sugarlabs.org wrote:
 From: Gonzalo Odiard godi...@gmail.com
 
 This patch complement the filter functionality in the home view.
 If only one activity is selected, Return key start the activity.
 
 Signed-off-by: Gonzalo Odiard gonz...@laptop.org

Reviewed-by: James Cameron qu...@laptop.org

(and I like it).

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Help with testing SemanticXO's backend

2011-11-07 Thread James Cameron
Aye, leaving Sugar running is a memory sucker.  Let me know if you need
further testing.

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel