576 Commits (000ed75cbee026535249d7db93d6ab20effa3d2a)

Author SHA1 Message Date
Simon Schampijer a3c68d5109 removed leftover 15 years ago
Aleksey Lim 6f3ecbdb1f New color to highlight items while hovering over #1693 15 years ago
Aleksey Lim fea8acec84 Get pure icon surface w/o creating any widgets #1687 15 years ago
Simon Schampijer e1d4afe13e Add signal listener functionality to the DS #1197 (silbe) 15 years ago
Sayamindu Dasgupta ef093d395e Update Makefile.am 15 years ago
Sayamindu Dasgupta 173a402701 Code for language pack support 15 years ago
Simon Schampijer aacb5592e5 Cleaned up the datastore API
- killed the dbus_helpers, moved that to the datastore.py
- added documentation
- pep8 and pylint clean
15 years ago
Sascha Silbe 9c77febcf1 locate rainbow using PATH instead of hardcoding the location (#1436) 15 years ago
Sascha Silbe 1d8b1b98cb don't use rainbow if it has been uninstalled, but the config file remains (#1317)
Some distros retain config files after removing packages, so /etc/olpc-security
might exist even if rainbow is not installed.

Signed-off-by: Sascha Silbe <sascha@silbe.org>
15 years ago
Daniel Drake 709d44d602 Apply activity font settings earlier (#1607)
Fixes some minor changes in toolbar appearance that my previous
work unintentionally introduced.
15 years ago
Daniel Drake 618df4e177 Fix bold font style
Small error in my last commit.
15 years ago
Daniel Drake 634b2fcee0 Apply font configuration from GConf (#1584)
Sugar font settings are now stored in GConf. This patch applies them
to all users of sugar.style and all standard activities.
15 years ago
Aleksey Lim 8c2fe54ea7 Do not stop processing motion-notify-event #1507 15 years ago
Aleksey Lim a4a2b33dac Do no use random color if metadata color is not valid #1435 15 years ago
Aleksey Lim 3d46fd8c99 Shutdown/Reboot fails when multiple users are logged in #246 15 years ago
Aleksey Lim 8f52b0a8f4 Present windows in non-active process #1423 15 years ago
Aleksey Lim 823188957c Treat broken symlinks corretcly #1394 15 years ago
Aleksey Lim 7a8dc0dd70 Do not fail if activity mime_type was already installed #1394 15 years ago
Tomeu Vizoso 957c0b4c0f Save activity_id if its not yet in the DS #1276 15 years ago
Aleksey Lim acdbae5d4c _Typo Color of sugar.activity.widgets.ActivityButton is owners all time despite of 'icon-color' metadata property #1368 15 years ago
Aleksey Lim 9f981bb5dc Color of sugar.activity.widgets.ActivityButton is owners all time despite of 'icon-color' metadata property #1368 15 years ago
Aleksey Lim 93d65bcb2f Circular dependecy in ToolbarBox #1389 15 years ago
Aleksey Lim ac586e5a85 Circular dependecy in ToolbarBox #1389 15 years ago
Aleksey Lim 33ea5bdee4 Circular dependecy in ToolbarBox #1389 15 years ago
Aleksey Lim dfc5513f86 To emulate missed parts of DSObject - optional file_path removing #1241 15 years ago
Aleksey Lim 927c576e31 After using CP, the XO home palette is incorrectly scrolled (blank lines + missing item) #231 15 years ago
Aleksey Lim 2e3061dc10 When in fullscreen mode in an activity, frame doesnt pop-up(forgotten changes) #1335 15 years ago
Aleksey Lim ecee594190 Invoke WindowPalette.popdown when menu property is None #1323 15 years ago
Aleksey Lim 76542527cd When in fullscreen mode in an activity, frame doesnt pop-up #1335 15 years ago
Aleksey Lim f939baec05 Error while initiating .sugar environment #1327 15 years ago
Tomeu Vizoso df89c1bf0b Close tube after the activity window is closed #1296 15 years ago
Tomeu Vizoso db77ed8ab3 Put back <Ctrl>Z as the Undo accelerator #1287 15 years ago
Tomeu Vizoso 850a78c59a Only try to pop down the submenus if we still have a _Menu #1338 15 years ago
Tomeu Vizoso 0159bc7b52 Warn when the XoColor string is invalid. 15 years ago
Benjamin Berg c684950ecf Do not emit the row-changed signal, but redraw the row for prelight.
This basically undos commit 4bb221349c
and fixes the code that was there before. Emitting the row-changed
signal causes any editing to be canceled.
15 years ago
Aleksey Lim d57320b985 Hide only submenus #1301 15 years ago
Simon Schampijer b087809ec5 focus the canvas
make the boxes private using the python mangling
algorithm (see pep8)
15 years ago
Aleksey Lim cdd4ba3a3d Palette will fail to open if you have just 'scrubbed' over some number of icons quickly #1312 15 years ago
Aleksey Lim 86ba52eadd Secondary toolbar widget should set a minimum height #1304 15 years ago
Aleksey Lim b41e4a51d7 Popdown menu on palette popdown #1301 15 years ago
Tomeu Vizoso fdb00469c1 Remove prelit invert effect for icons (garycmartin) #1313 15 years ago
Aleksey Lim 868c9293ac Hide palette group before immediate popup #1291 15 years ago
Aleksey Lim c69bbe3341 Simple scheme for hidding ToolbarBox subpalettes #1300 15 years ago
Aleksey Lim ff2dd6cc0e Stop all animators on poup/popdown invoking #1310 15 years ago
Aleksey Lim aed38758be Show selecting status of favorite check box in journal list view even if "start" is prelighted #1247 15 years ago
Aleksey Lim 6b992ee9fb Close previous palette on reseting palette property in invoker #1299 15 years ago
Aleksey Lim cb5951d3b9 Do not fail on immediate second palette openning for bottom icons #1292 15 years ago
Aleksey Lim dc0701dacf Some activities relies on existing of ds fields like 'title' #1241 15 years ago
Aleksey Lim 1b80257149 Fullscreen resizing issues #1263 15 years ago
Aleksey Lim e97dd135eb Wrong calculated positions for palettes #1268 15 years ago
Aleksey Lim 2b78463830 Primary palette redraw glitch after secondary palette exposed #1135 15 years ago
Aleksey Lim 135b2a608d Hide all animators while deleting palettes #1265 15 years ago
Aleksey Lim da678c6973 ObjectChooser displays USB media files, but fails to access file #1241 15 years ago
Tomeu Vizoso 3b0d09a188 Add get_sugar_window_type to sugar.wm #571 15 years ago
Tomeu Vizoso e3415afbc5 Merge branch 'master' of gitorious@git.sugarlabs.org:sugar-toolkit/mainline 15 years ago
Tomeu Vizoso 929ce5a3cb Make activity windows cover the whole screen as soon as they are mapped. 15 years ago
Benjamin Berg 0991081eff Get the correct window property instead of '_SUGAR_ACTIVITY_ID' (#1251) 15 years ago
Benjamin Berg d3c9dc535b Do not pop the error trap twice (pointed out by Sascha Silbe in #1123). 15 years ago
Aleksey Lim 78d64031c3 Add is_user_activity() to ActivityBundle #701 15 years ago
Benjamin Berg d304f72872 Trap X errors in wm.py (#1123) 15 years ago
Sascha Silbe c9e63eb8ea PEP8 white space and long line fixes 15 years ago
Sascha Silbe ecdaf6b795 trim EOL (end-of-line) spaces on source files 15 years ago
Sascha Silbe 6c3fd0346c add sugar.util.format_size 15 years ago
Aleksey Lim 9a65089978 Fix typos in 0342a24e2d 15 years ago
Aleksey Lim 0342a24e2d Sugar crashing when saving a journal entry upon closing an activity #1123 15 years ago
Sascha Silbe 0a8b1261eb don't hardcode Rainbow activity permissions 15 years ago
Simon Schampijer 6ece09d49b more pylint 15 years ago
Simon Schampijer e1e8647de9 pylint fixes 15 years ago
Sascha Silbe 496090fe62 let the logger do the formatting 15 years ago
Tomeu Vizoso bdd760d92a Remove a couple of debug prints 15 years ago
Tomeu Vizoso 3f9761469c Mention TempFilePath in the comment 15 years ago
Aleksey Lim a8ecc1729f Do not fail while displaying activity icon for bundles in Journal #1175 15 years ago
Tomeu Vizoso 40e9bd3ce5 Fix telepathy log paths (alsroot) #1178 15 years ago
Simon Schampijer 2e780d624c Align widgets to the left 15 years ago
Simon Schampijer b34f5d7164 Fix typo 15 years ago
Simon Schampijer 296f4e500c Add ActivityButton for simple activities
Contains only a palette showing the title
15 years ago
Simon Schampijer c1f5115b2a fix typo (two underscores for toolbar_box) 15 years ago
Simon Schampijer 10b5a30bc9 Make the share button insensitive when max_participants is set to 1 15 years ago
Aleksey Lim d02ab6bb9a Set labels for toolbuttons 15 years ago
Aleksey Lim d0485cb515 Set STATE_INSENSITIVE for toolbarbox pages 15 years ago
Tomeu Vizoso 10e84fe8fa Remove list of Rainbow exemptions 15 years ago
Tomeu Vizoso 43167172b9 style fixes 15 years ago
Tomeu Vizoso acdc647f58 Merge branch 'master' of git://dev.laptop.org/users/mstone/sugar-toolkit 15 years ago
Tomeu Vizoso 8f271e2604 Split PaletteWindow in its own module 15 years ago
Tomeu Vizoso 0426c0c827 Merge branch 'master' of git://git.sugarlabs.org/sugar-toolkit/toolbars
Conflicts:
	src/sugar/graphics/window.py
15 years ago
Aleksey Lim 5c9020b188 Remove old design remains 15 years ago
Aleksey Lim 7d76f06ae1 Remove redundant state argument from PaletteWindow.popup 15 years ago
Aleksey Lim e799649f2f Fix merger artefacts 15 years ago
Aleksey Lim f5f8c807d3 Fix pylint/pep8 warnings 15 years ago
Aleksey Lim 68fa6bf093 Fix mess with gtk.Widget.set_state and Palette.set_state 15 years ago
Aleksey Lim 35bbfe1d50 Support palettes for sub-toolbar widgets 15 years ago
Aleksey Lim 6e724c3d8d Set background color for activity.widgets.TitleEntry 15 years ago
Aleksey Lim 45a4ed104b Do not paint arrow in radiopalette 15 years ago
Aleksey Lim 2c7e2c393a Popdown RadioMenuButton's palette 15 years ago
Aleksey Lim e0aedcd5c7 Refactor Palette class (tomeu) 15 years ago
Aleksey Lim 3ee78747d4 Fix review issues 15 years ago
Aleksey Lim 4d6a2cc9bd Fix review issues 15 years ago
Aleksey Lim d5c5ee88ec Remove old design remains 15 years ago
Aleksey Lim 3dde9b68a5 Do not change arrow while opening palette in ToolbarBox 15 years ago
Aleksey Lim 353564f12c Fix review issues 15 years ago
Aleksey Lim 7bfb7704d7 Fix Makefile.am 15 years ago
Aleksey Lim 7bec8aba1b Do not use do_clicked in RadioMenuButton 15 years ago
Aleksey Lim 3b545cbcbb Remove redundant ToolbarBox props 15 years ago
Aleksey Lim 3dd0ac8432 Rename ToolbarBox.bar to ToolbarBox.toolbar 15 years ago
Aleksey Lim 7ca9574ca1 Rename ToolbarBox.top to ToolbarBox.bar 15 years ago
Aleksey Lim b69d875201 Fix Makefile.am 15 years ago
Aleksey Lim 61ab4110fa Rename toolbar.py to toolbarbox.py 15 years ago
Aleksey Lim b43aa43114 Move activity related widgets to sugar.activity.widgets 15 years ago
Aleksey Lim 5ee1f2a3cb Do not use jarabe module 15 years ago
Aleksey Lim a2f20f39ff Fix review issues 15 years ago
Aleksey Lim e03fd4ddde Minor tweaks 15 years ago
Tomeu Vizoso f0b78ef406 Add the tags property to the buddy model 15 years ago
Aleksey Lim 2655a8ccad Suppress sub-palettes in radiopalette 15 years ago
Aleksey Lim e5a701a1e6 Fix Makefile.am file 15 years ago
Aleksey Lim 872b18a103 Fix review issues 15 years ago
Aleksey Lim 0cf445eb0f Remove redundant ctor argument from activity.ActivityToolbar() 15 years ago
Aleksey Lim 7f2488e505 Add Vasya Pupkin to copyright holders 15 years ago
Aleksey Lim b5c9509014 Remove redundant current-toolbar-changed signal from toolbar.Toolbar 15 years ago
Aleksey Lim ec474da5cc Replace share combo with new share button 15 years ago
Aleksey Lim 9e9a22b2d5 Use activity icon for activity.toolbar button 15 years ago
Tomeu Vizoso fe6d1c114c Auto-hide fullscreen button (unmadindu) #1102 15 years ago
Aleksey Lim 2088bd5f2a Add activity.keep_button 15 years ago
Aleksey Lim 095c732c9a Add activity.share_button 15 years ago
Tomeu Vizoso d7e0e22f49 update mime type db when a new activity is copied to ~/Activities #955 15 years ago
Aleksey Lim d4cbd4150e Support legacy stop button in ActivityToolbar 15 years ago
Aleksey Lim ad1f66f58a Add toolbar.py and radiopalette.py to Makefile.am 15 years ago
Aleksey Lim b2fa922b01 Do not fail in <0.86 environment 15 years ago
Aleksey Lim 165b9e1e05 Provide fast access to all sub-widgets in Toolbar 15 years ago
Aleksey Lim 5d2c5b98ff Do not hide sub-widget when sub-palette was opened 15 years ago
Aleksey Lim 44a8ecd836 Do not add extra vertical padding to sub-widgets 15 years ago
Aleksey Lim 442034bb8b Support new toolbars widgets in activity.py 15 years ago
Aleksey Lim 55609885de Add radiopalette.py 15 years ago
Tomeu Vizoso 8d21a6d884 Pass the event time in key events 15 years ago
Aleksey Lim ff87ce76e5 Close palette while removing ToolbarButton 15 years ago
Aleksey Lim 82785558d4 Use padding property for top toolbar and all sub-widgets 15 years ago
Aleksey Lim e256b96366 Implement palette mode 15 years ago
Aleksey Lim f9de29f539 Delete sub-widgets clearly 15 years ago
Aleksey Lim 4c8c845e6c Add hpad prop for Toolbar; add expand_bg for ToolbarButton 15 years ago
Aleksey Lim d22e690822 md5 and sha module will be deprecated in python 2.6 #266 15 years ago
Daniel Drake 5fc5b08599 Fix ContentBundle bundle_id
Most content bundles use global_name as the ID-style thing, as suggested
on the OLPC wiki. bundle_class seems undocumented and hence is not
present in any of the content bundles I have here.

Change get_bundle_id() to fall back on the global_name if no bundle_class
is set. This fixes a complete sugar crash when installing the standard
content bundles (it tried to send a None value over dbus).
15 years ago
Aleksey Lim 2fc1cab92d Add simple toolbars example 15 years ago
Aleksey Lim 71e6228ceb Initial implementation of toolbars mockup 15 years ago
Tomeu Vizoso 3dad7c6fff Make Window.canvas a property 15 years ago
Tomeu Vizoso afce505143 Rename activate signal in cell renderers to 'clicked' 15 years ago
Tomeu Vizoso 434b1e5899 Handle cell activation by button-release 15 years ago
Tomeu Vizoso 985edb0e4d Reduce motion are for treeview palettes to the bin window 15 years ago
Tomeu Vizoso ecea76479b Remove transformation into png in CellRendererIcon 15 years ago
Tomeu Vizoso 86fae16aed icon-name is a str 15 years ago
Tomeu Vizoso cd7debb52a Add support for tags in activity bundles 15 years ago
Tomeu Vizoso 042a09cccd Expose telepathy_room_handle (cassidy) #757 15 years ago
Benjamin Berg 4bb221349c Emit a row_changed signal to redraw the CellRendererIcon on prelight.
This fixes a problem where the wrong part of the treeview was redrawn.
15 years ago
Tomeu Vizoso 13afd91bad Implement prelighting of cell renderer icons 15 years ago
Tomeu Vizoso 32109b8764 Redraw cell renderers on hovering changed 15 years ago
Tomeu Vizoso 94e12f52f2 Silence warning and reduce debug logging a bit 15 years ago
Tomeu Vizoso 07c2b025f1 Add CellRendererInvoker 15 years ago
Tomeu Vizoso a634ecfe14 Add activate signal to CellRendererIcon 15 years ago
Tomeu Vizoso 765de62ab8 Add CellRendererIcon 15 years ago
Tomeu Vizoso fbad85cde9 Limit length of labels in palettes to 60 chars by default #610 15 years ago
Simon Schampijer 1d15b7f874 Merge branch 'master' of gitorious@git.sugarlabs.org:sugar-toolkit/mainline 15 years ago
Simon Schampijer a7daf73fae Bundlebuilder list_files: Better error handling #635
Don't fail on trailing slash of the directory name
15 years ago
Tomeu Vizoso c5e5d3aeb7 Only call read_file once on activity startup #428 15 years ago
Tomeu Vizoso 9ef619a63a Revert "Listen for map in Window instead of in Canvas (alsroot) #428"
This reverts commit eaf7afcd91.
15 years ago
Sayamindu Dasgupta 366b07e73a Use git ls-files instead of git-ls-files, to work with newer Git. d.sl.o #647 15 years ago
Simon Schampijer 720401606d Bundlebuilder: Don't include whole directory in src tarball
regression introduced by #397
15 years ago
Simon Schampijer 856a83a2da Fix spacing in debug file 15 years ago
Simon Schampijer d5c5e376d2 Fix palettes scaling when using scaling factor 72 #504 16 years ago
Tomeu Vizoso c4dce659a4 Use Popen.communicate() to avoid hang (Sascha Silbe) #397 16 years ago
Tomeu Vizoso 9bd24794c0 Change property type to object because int cannot be None #157 16 years ago
Tomeu Vizoso af4faead14 Catch all exceptions while saving #224 16 years ago
Tomeu Vizoso eaf7afcd91 Listen for map in Window instead of in Canvas (alsroot) #428 16 years ago
Tomeu Vizoso 7c0efa11c0 Restore minimal .xol support #459 16 years ago
Simon Schampijer e27be4e416 Merge branch 'master' of gitorious@git.sugarlabs.org:sugar-toolkit/mainline 16 years ago
Simon Schampijer 2b2c2ef308 Use the same font size independent from scaling 16 years ago
Tomeu Vizoso d22b52434b Don't recursively clean an activity if it's a symbolic link #444 16 years ago
Tomeu Vizoso 50a253b1b9 Add extension to temp icon file names #458 16 years ago
Michael Stone a65c8d2148 Get activities launching with rainbow-0.8.x.
Future extensions:

a) we are now able to reliably detect when an activity's main process has
exited. We should take advantage of this to give better feedback on activity
crashes; e.g. by turning the frame's activity-icon into an error icon and by
inserting the activity's log into the datastore so that it appears in the
Journal.

b) in the future, I'd like rainbow to provide more narrow interfaces for
manipulating jails; e.g. for garbage-collecting them, nuking their contents, or
for reusing them. Please consider this an invitation to show me which interfaces
would work best for Sugar.

P.S. - Thanks to Sascha Silbe for testing and for improvements to this patch.
16 years ago
Simon Schampijer 6f210f0e33 Process .py files in subdirectories './setup genplot' #391 (alsroot) 16 years ago
Tomeu Vizoso 7d69328162 Improve error handling of calls to XGrabKey #431 16 years ago
Tomeu Vizoso 6508128adc Cleanup temp files at exit #435 16 years ago
Tomeu Vizoso 29cc73ae18 Let activities provide their own implementation of get_preview() #152 16 years ago
Benjamin Berg 607c2a9610 Show/Hide the color palette correctly (#374) 16 years ago
Tomeu Vizoso a4e9c9c78e Support setting None as the secondary text #384 16 years ago
Tomeu Vizoso 77433af5ff Only display one line in the secondary text of a clipping palette #384 16 years ago
Tomeu Vizoso e2696086e6 Switch to existing instance of an activity if it's already running #410 16 years ago
Tomeu Vizoso 30e67cc226 Reveal the palette on right click on an activity icon #409 16 years ago
Tomeu Vizoso ede6db947e Don't try to hide the tray if the activity has none (alsroot) #395 16 years ago
Simon Schampijer 780efa55b0 NamingAlert: Icon dependent on the entry type #353 16 years ago
Tomeu Vizoso 997c384405 Add activate signal to Palette 16 years ago
Benjamin Berg b39ed70b11 Added an option to set the background color of CanvasIcon. Then a RGB cache can be used. 16 years ago
Tomeu Vizoso 474b2c3476 Set the locale path for sugar-toolkit #55 16 years ago
Tomeu Vizoso ace5e73d3d Don't push to the DS a file path pointing to nowhere #258 16 years ago
Tomeu Vizoso 6084eb9fea Start adapting to Python 4.0 16 years ago
Tomeu Vizoso e8c36247a5 Palette positioning fixes #298
Don't try to align the palette to the edges if the invoker is AT_CURSOR,
and always try to move the palette completely into the screen if at all
possible.
16 years ago
Simon Schampijer d0d4f55121 'Resume' activity window when NamingAlert is displayed #293 16 years ago
Simon Schampijer 38f0ac83d2 Naming alert prevents activity close on keep error #224
When the Naming alert is shown and a keep error occurs,
the activity can not be closed.
16 years ago
Simon Schampijer 9e3a8ab007 enhancements to the naming alert
- focus the title entry
- add accelerator for the 'Keep' button which is enter/return
16 years ago
Simon Schampijer 817a981288 Enhanced the 'Name this entry dialog'
- created the canvastextview in sugar/graphics
16 years ago
Simon Schampijer 5250117b81 Fix color button pylint 16 years ago
Tomeu Vizoso 64d24f3ac5 Fix the keep button in the title activity 16 years ago
Simon Schampijer 72fca76d01 separate debug settings from xsession #163 16 years ago