]> git.0d.be Git - empathy.git/commitdiff
CallWindow: flip the dragged preview
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
Thu, 18 Aug 2011 11:02:55 +0000 (12:02 +0100)
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
Thu, 18 Aug 2011 16:12:14 +0000 (17:12 +0100)
Currently disabled as it doesn't work as expected.

https://bugzilla.gnome.org/show_bug.cgi?id=656573

src/empathy-call-window.c

index 82da2b0d8f768842d5854d0d66dea0e3cd396cc0..825aa0e6d8bbf9102bb4f822430baae3d36c1ffc 100644 (file)
@@ -875,6 +875,17 @@ empathy_call_window_preview_on_drag_begin_cb (ClutterDragAction *action,
   ClutterActor *stage = clutter_actor_get_stage (actor);
   ClutterActor *preview = clutter_clone_new (actor);
 
   ClutterActor *stage = clutter_actor_get_stage (actor);
   ClutterActor *preview = clutter_clone_new (actor);
 
+#if 0
+  /* Flip the video preview */
+  /* FIXME: disabled because it makes the drag handle to go away! */
+  clutter_actor_set_rotation (preview,
+      CLUTTER_Y_AXIS,
+      180,
+      SELF_VIDEO_SECTION_WIDTH * 0.5,
+      0.0,
+      0.0);
+#endif
+
   clutter_container_add_actor (CLUTTER_CONTAINER (stage), preview);
   clutter_actor_set_position (preview, event_x, event_y);
 
   clutter_container_add_actor (CLUTTER_CONTAINER (stage), preview);
   clutter_actor_set_position (preview, event_x, event_y);