Commit Graph

2697 Commits

Author SHA1 Message Date
Nedko Arnaudov 39c2e003a7 notebook: add methods for switching to previous and next page
(cherry picked from commit bb66b4ed1a)
2023-05-31 22:09:51 +03:00
Lionel Landwerlin 24efb0cc16 Merge pull request #91 from alban/mx-1.4
MxGrid: fix row allocation when some children are hidden
2013-07-10 07:22:55 -07:00
Alban Crequy ddd7f9daf8 MxGrid: fix row allocation when some children are hidden 2013-07-10 15:16:05 +01:00
Lionel Landwerlin 14105b12f3 Merge pull request #89 from gdesmott/tooltip-stable
_mx_entry_icon_leave_cb: target_tooltip may be NULL
2013-07-04 05:41:38 -07:00
Guillaume Desmottes 048a5751b1 _mx_entry_icon_leave_cb: target_tooltip may be NULL
Fix a run time warning.
2013-07-04 13:47:01 +02:00
Lionel Landwerlin 9d748d1894 Merge pull request #85 from gdesmott/warnings
Fix -Wstrict-prototypes warnings
2013-06-25 04:23:27 -07:00
Guillaume Desmottes 3a8bd08bb1 Fix -Wstrict-prototypes warnings
Recent GCC generates "warning: function declaration isn't a prototype" when
building with -Wstrict-prototypes.
2013-06-25 09:52:38 +02:00
Thomas Wood 9b1db6b806 item-view/tooltip: Add missing breaks in set_property switch statements
https://bugzilla.redhat.com/show_bug.cgi?id=919026
2013-03-25 17:05:01 +00:00
Thomas Wood df5869c8ae tests: select the first widget if none was specified at start up 2012-10-18 14:47:50 +01:00
Thomas Wood a3d4039076 README: Update the location of the issue tracker 2012-10-09 16:07:12 +01:00
Lionel Landwerlin f9cc9e7be2 bin: fix get_fill() annotation 2012-08-29 12:14:26 +01:00
Lionel Landwerlin 8c6f3b5d55 bin: fix get_alignment() annotation 2012-08-29 12:14:22 +01:00
Lionel Landwerlin b7bb8730dc widget: fix annotation on get_padding() 2012-08-29 12:13:59 +01:00
Brian Pepple 297b654133 Replace GL data types with equivalent glib types. 2012-08-29 12:11:54 +01:00
Thomas Wood 32cb530656 Update version number and NEWS for 1.4.7 2012-08-08 15:06:54 +01:00
Tristan Van Berkom ea4c5bc5f4 MxScrollView: Fixed to clip events for clipped child area in ClutterActor->pick()
Furthermore this patch avoids warnings from calling apis on the child
actor when NULL.
2012-07-27 17:36:34 +01:00
Tristan Van Berkom c58679bf00 widget: Handle NULL ClutterEventCrossing->related actor in mx_widget_leave
In the case that the mouse exits the stage, the ->related actor
argument will be NULL, this needs to be caught before sending
the NULL actor to clutter_actor_contains() and firing a needless
assertion failure.
2012-07-27 16:39:30 +01:00
Evan Nemerson 7f590d07fe image: add some annotations for mx_image_set_from_buffer/data
Fixes: http://bugzilla.clutter-project.org/show_bug.cgi?id=2688
2012-07-27 16:33:04 +01:00
Thomas Wood 670ab57a91 Update version number and NEWS for 1.4.6 2012-05-08 15:09:59 +01:00
Justin Lecher 122c45571e mx fails to link with ld.gold linker
Due to the extended underlinking detection of gold,
it is necessary to add libm to the linked libs.

https://github.com/clutter-project/mx/issues/49
2012-04-03 10:01:56 +01:00
Thomas Wood 0e318fbe92 stack: don't call mx_stack_paint during pick
Calling mx_stack_paint from the pick virtual function would cause the
background colour to be painted into the pick buffer.
2012-04-02 16:00:16 +01:00
Thomas Wood 21c3f3e4c0 Update version number and NEWS for 1.4.5 2012-03-30 13:53:06 +01:00
Thomas Wood 245fb72151 dialog: ensure that the initial size of the dialog is correct 2012-03-27 12:10:45 +01:00
Thomas Wood 1050f1724b dialog: disable the blurred background when using Clutter ≥ 1.10
The blur effect using MxOffscreen does not work with Clutter 1.10.
2012-03-27 12:10:28 +01:00
Thomas Wood fd0271cfe5 css: pseudo-class should be identified by ':' in debug output 2012-03-27 11:37:42 +01:00
Thomas Wood c756357f15 combo-box: don't use NULL when setting the ClutterText "text" property 2012-03-27 11:34:50 +01:00
Thomas Wood b9d70ef880 test-containers: create a grid of actors in a group for viewport tests 2012-03-26 13:50:12 +01:00
Thomas Wood 0f48c5faa5 viewport: implement apply_transform and get_paint_volume
Use the apply_transform function to translate the actor, rather than
translating manually in the paint function, and implement
get_paint_volume so that the paint volume correctly matches the area
that will be painted. The "clip-to-allocation" property also no longer
needs to be set since MxScrollView will now clip the child itself. This
fixes the issue where clip-to-allocation was clipping the wrong region
since it did not take the scrolling translation into account.
2012-03-26 13:50:12 +01:00
Thomas Wood c78015ac1f scroll-view: clip around the child instead of setting clip-to-allocation
Clipping around the child ensures that the child does not get painted behind
the scrollbars of the scroll view.
2012-03-26 13:50:12 +01:00
Lionel Landwerlin 63e12a867c table: fix sorting depth 2012-03-22 11:52:24 +00:00
Michael Wood ccb38ed17d entry: Don't emit the notify text signal on switching between the hint text 2012-03-21 16:33:33 +00:00
Thomas Wood 11774f8267 application: ensure the singleton variable is properly assigned
The constructor function never assigned app_singleton to the created
object, so after the first call of the constructor function, it would
have returned a new object rather than the previously created object.
2012-03-19 10:38:15 +00:00
Thomas Wood c4610b5f49 adjustment: emit the "changed" signal if the value property changes 2012-03-16 16:01:51 +00:00
Thomas Wood 8d202fb4f0 Update version number and NEWS for 1.4.4 2012-03-09 16:42:06 +00:00
Thomas Wood c50b732e5d Improve compatibility with Clutter 1.9
Check for NULL during unmap, as unmap may now be run after dispose and also
chain up dispose in MxToolbar after unparenting the close button.
2012-03-09 16:42:00 +00:00
Thomas Wood 212cce6b25 button: avoid setting the ClutterText "text" property to NULL
Use an empty string when the display name of the MxAction is NULL.
2012-03-06 15:49:43 +00:00
Thomas Wood f011a9f063 Update version number and NEWS for 1.4.3 2012-03-05 15:56:59 +00:00
Thomas Wood 7f456484a0 slider: allow the handle button press and release events to propagate
Allow the handle button press and button release events to propagate so
that the active pseudo class is correctly set on the button. Also make sure
that any style changes to the handle during the capture are applied
correctly.
2012-02-23 10:54:48 +00:00
Thomas Wood 8464828396 widget: ensure the "disabled" pseudo class is set when needed
Make sure the "disabled" style pseudo class is set when the widget is
disabled.
2012-02-22 15:46:35 +00:00
Thomas Wood 3b2f7468f5 toggle: bind the "disabled" property of the handle and the toggle 2012-02-22 15:46:35 +00:00
Thomas Wood ab6aecc71a entry: use an empty string if the "text" property is set to NULL 2012-02-22 15:46:35 +00:00
Lionel Landwerlin 3ac7a2a8eb tooltip: update position when changing the text 2012-02-20 10:04:02 +00:00
Lionel Landwerlin 35e71d4507 button/widget: don't rely on private variables to track hover state
The way MxWidget tracks the hover state is wrong, because it can be
overridden by a subclass. Therefor we should rely on the styling state
which is shared amongst all subclasses.

Also, when setting the tooltip text, display the tooltip if the widget
is already hovered.
2012-02-20 10:04:02 +00:00
Jussi Kukkonen 2ea22b7a6e toggle: change timeline direction even if playing already
If this is not done, the toggle visual state will not match actual state
after toggled twice quickly.
2012-02-20 10:01:51 +00:00
Thomas Wood c70fda0451 Update NEWS for 1.4.2 2012-01-31 15:43:47 +00:00
Samuel Thibault e93494b860 create-image-cache: use dynamic memory allocation for paths
Dynamic memory allocation is used to avoid the absence of a PATH_MAX
definition for GNU/Hurd.
2012-01-20 15:32:21 +00:00
Thomas Wood d6dd07debe scroll-view: document that "enable-gestures" requires ClutterGesture
Fixes: http://bugzilla.clutter-project.org/show_bug.cgi?id=2614
2011-11-23 11:49:20 +00:00
Thomas Wood eaeff91620 settings-x11: don't attempt to access a setting if it is NULL
The setting may be NULL if it has been deleted.

http://bugzilla.clutter-project.org/show_bug.cgi?id=2686
2011-11-23 11:36:24 +00:00
Thomas Wood 71142d3338 create-image-cache: ensure PATH_MAX is defined 2011-11-23 11:30:35 +00:00
Tomeu Vizoso 21bb22bac7 entry: disable code that depends on X11 2011-11-08 09:59:24 +00:00