6107 Commits (master)
 

Author SHA1 Message Date
Gonzalo Odiard 43a4611d75 Pep8 and pyflakes fixes to sugar-activity 10 years ago
Daniel Narvaez 987068959f Test commit 10 years ago
Daniel Narvaez 34e7a7fc55 Test commit 10 years ago
Gonzalo Odiard 4a565dacac Add a method to get all the extensions associated to a mime type
This is needed to solve problems with mismanaged extensions in the journal.
10 years ago
Gonzalo Odiard 568e0254d7 Pep8 fix 10 years ago
Daniel Narvaez ec2ebb9ecb Release 0.101.5 10 years ago
Walter Bender d0cca91fe8 Assign max_participants in activity.info
As part of an effort to "honor" max_participants, this patch supports setting
max_participants in activity.info, thus making it available in the bundle.

By default, if it is not set in the bundle, the previous behavior persists.

In support of this change, a cache of Activity bundles is
maintained. The goal is to eliminate unnecessary calls to the file
system.
10 years ago
Martin Abente Lahaye 72994bd73c Add Icon.get_badge_size
Add get_badge_size method to Icon class, so it can be accessed
by other Icon sub-classes.

ie., jarabe.frame.notification.NotificationPulsingIcon.

Signed-off-by: Martin Abente Lahaye <tch@sugarlabs.org>
10 years ago
Gonzalo Odiard e47feb3b0f Make webactivity and webkit1 implementations independient
We can't import webkit and Webkit2 in the same process
and that was introduced in 4ea52b3173

Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
10 years ago
Prasoon Shukla 9e253b5965 Add description in journal object palette - Fixes #4686 10 years ago
Daniel Narvaez 093d18199f Release 0.101.4 10 years ago
edudev 7f1061acbd Add capture device support
Extend acme-volume-alsa.c so it be used to handle not
only the speaker but also the microphone.
10 years ago
Daniel Narvaez d79815a86d Add missing translations 10 years ago
Daniel Narvaez 6074817264 Modernize gettext setup 10 years ago
Sam Parkinson 4ea52b3173 Now show sugar object choosers as file pickers in web activities 10 years ago
Daniel Narvaez 01ed63ee4b Fixes for pep8 1.5 10 years ago
Sam Parkinson cbf325d994 Extend API for activities notifications
Add a new method, called notify_user, to the base
Activity class.

This method can be used by activity developers to
send notifications to the new notification front
end. ie.,

    self.notify_user('New High Score!',
                     'Your score is over 8999')
10 years ago
Daniel Narvaez f92f0efe06 Fix pep8 10 years ago
Sebastian Silva 2a7d4da38a Implementation of pixbufs for use with X11 window icons. 10 years ago
James Michael DuPont a082cf1cca better debugging 10 years ago
gauravp94 cf45a7a732 Add verbosity to the activity tests 10 years ago
gauravp94 d4b2e87276 port optparse to argparse in bundlebuilder.py 10 years ago
Gonzalo Odiard 7678540056 Remove c implementation of mime methods
Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
10 years ago
Gonzalo Odiard b02ade879a Implement mime.get_mime_parents using python
This is the only method pending implemented in c,
then we can remove seven files previously used.

Add a test for a corner case untested previously

Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
10 years ago
Gonzalo Odiard faa0d42084 Use Gio.content_type_guess to identify mime type - Fixes #4715
Replace the use of a custom implentation in SugarExt

Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
10 years ago
Daniel Narvaez 3c46bf1430 Release 0.101.3 10 years ago
Daniel Narvaez 76fe1d2595 Release 0.101.2 10 years ago
Gonzalo Odiard e762fa938c Add accelerator to PaletteMenuItem - Fixes #4716
With the port to Gtk3, we lost the display of the keybord shortcut
available in MenuItem.

Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
10 years ago
Gonzalo Odiard 53a148f88c Restore suspend catch the wrong exception
Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
10 years ago
Gonzalo Odiard 62b60fa1e1 Inhibit suspend while a activity is shared
In some network environments, suspend/reume can make loose
messages and break collaboration. This patch inhibit suspend
when collaboration start. The implementation can be used by activities
or Sugar to inhibit suspend/resume when needed.

More information in http://dev.laptop.org/ticket/10363

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
10 years ago
Gonzalo Odiard cf7a5905fd Remove unused code
Fixes pyflakes error

Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
10 years ago
Gonzalo Odiard 30b67cc3d1 Webkit1 compatibility: send 404 error if the file don't exists
Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
10 years ago
Sam 79b3480a13 Merge pull request #95 from SAMdroid-apps/ActivityDocStrings2
Fixes #1929, update toolbar examples in activity doc strings
10 years ago
Sam Parkinson 8c8c913cb2 Fixes #1929, update toolbar examples in activity doc strings 10 years ago
Martin Abente Lahaye 6c64a7d020 Revert "Keep updated CellRendererInvoker self.path updated - Fixes #4717"
This reverts commit 353e05a086.
10 years ago
Gonzalo Odiard 353e05a086 Keep updated CellRendererInvoker self.path updated - Fixes #4717
Since CellRendererInvoker can set the path at None if a mouse event
is out of the area of the renderer, can break the use of touch,
if happen after the mouse movement. This patch set the path,
in the point_in_cell_renderer test, for the positive case,
solving the issue.

Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
10 years ago
Manuel Quiñones 5802d67ee1 Icon: deprecate icon_size
pixel_size should be always used now.

Change SMALL_ICON_SIZE to cover the other sizes at settings.ini.

Adds a transformation to keep backwards compatibility for some
time. This will be removed in the future.
10 years ago
Ignacio Rodriguez 1ced93e14b pep8 fixes for 'Add menu width chars' 11 years ago
Ignacio Rodriguez 463101b19d Add menu width chars to sugar3 11 years ago
Manuel Quiñones 10c2bc9cf6 Merge branch 'headers' of https://github.com/dnarvaez/sugar-toolkit-gtk3 into dnarvaez-headers 11 years ago
Daniel Narvaez 71b42a2da0 Fix chaining up to the parent 11 years ago
Daniel Narvaez acff63467d Fix pyflakes errors 11 years ago
Sai Vineet 29738c9087 Add Activity Testing API and check command to setup.py
./setup.py check now invokes tests in tests/ directory. tests directory should
have integration(UI tests) and unit(unit tests) sub directories, but it isn't
necessary to have any dir. of the above.
11 years ago
Daniel Narvaez d4b4405c6c Release 0.101.1 11 years ago
Emil Dudev c0319389e8 Touch UI: esc fullscreen
This patch moves sugar3.graphics.Window key-press-event handling.
It will now be after any other event handling from deived classes.
Fixes #475
11 years ago
Emil Dudev d918e7afff Remove GConf completely
Removes sugar-gconf from SugarExt
Removes gconf-2 dependency
11 years ago
Daniel Narvaez e58688fca0 Remove unnecessary check for python headers
We are not building python bindings anymore these days,
we are using gobject-introspection.
11 years ago
Emil Dudev db2ba3e579 GConf to GSettings port 11 years ago
Gonzalo Odiard 93437ddedf Add get_show_launcher() in bundles other than activitybundle
This is needed now by Sugar, after (sugar commit)
f4638b5f481478e96195d55aa38c90fd33db9aee

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
11 years ago
akskumarnot 81b388c554 Use proper formatting syntax, fixes #2170 11 years ago