aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-call-window.c
Commit message (Collapse)AuthorAgeFilesLines
* Allocate GMutex on the stackGuillaume Desmottes2012-04-051-9/+9
| | | | | | g_mutex_new() has been deprecated in GLib 2.31. https://bugzilla.gnome.org/show_bug.cgi?id=662662
* call-window: raise the overlay actor instead of individual actorsCosimo Cecchi2012-03-301-13/+2
| | | | | | | Or the actors will be raised relative to their box, but not relative to the whole scene. https://bugzilla.gnome.org/show_bug.cgi?id=673046
* call-window: don't leak the element nameDebarshi Ray2012-03-281-2/+4
| | | | Fixes: https://bugzilla.gnome.org/672796
* call-window: factor out some common codeCosimo Cecchi2012-03-271-14/+14
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=672560
* call-window: don't use EmpathyRoundedActor for the floating toolbarCosimo Cecchi2012-03-271-2/+18
| | | | | | | | | | Make this a real toolbar, and add a CSS provider to set the correct border radius. In the future, GTK and Adwaita will support an 'OSD' style class that takes care of this automatically, but right now we have add these few lines of code. https://bugzilla.gnome.org/show_bug.cgi?id=672560
* call-window: use a ClutterBoxLayout to separate previews/toolbarCosimo Cecchi2012-03-271-128/+68
| | | | | | | | | | | It's way easier to use a ClutterBoxLayout to ensure the preview rectangles and the floating toolbar don't overlap. This way, we can get rid of some complicated manual UI layouting code and just a margin to set the bottom spacing for the floating toolbar. Also, this makes the code not dependent on a hardcoded toolbar size anymore. https://bugzilla.gnome.org/show_bug.cgi?id=672560
* call-window: fix incorrect commentCosimo Cecchi2012-03-271-3/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=672560
* call-window: use colors from the theme for placeholdersCosimo Cecchi2012-03-271-2/+30
| | | | | | | Use color shades from the color theme for preview placeholders, instead of hardcoding black/red. https://bugzilla.gnome.org/show_bug.cgi?id=672561
* Use the correct help: URI syntaxShaun McCance2012-03-261-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=672596
* Use help:empathy to open the helpGuillaume Desmottes2012-03-221-1/+1
| | | | | | Looks like the new doc infra uses "help" rather than "ghelp". https://bugzilla.gnome.org/show_bug.cgi?id=672596
* Fix crash on hangup with no videoEmanuele Aina2012-03-161-4/+5
| | | | | | | Insufficient refcount on priv->video_preview_sink caused segfaults when accessing freed data. https://bugzilla.gnome.org/show_bug.cgi?id=672063
* Don't restart a call if one already in progressEmanuele Aina2012-03-161-5/+10
| | | | | | | Fixes the crash when calling someone while being already in a call with the same contact. https://bugzilla.gnome.org/show_bug.cgi?id=671931
* Disconnect when a call is ENDEDEmanuele Aina2012-03-151-5/+8
| | | | | | | If for some unspecified reason a call go to the TP_CALL_STATE_ENDED state, reinitialize the call window. https://bugzilla.gnome.org/show_bug.cgi?id=671931
* Avoid clipping buttons in the call windowEmanuele Aina2012-03-121-11/+8
| | | | | | | Also try to set a transparent background on the GtkBin inside GtkClutteActors, but for some reason it's not working here. https://bugzilla.gnome.org/show_bug.cgi?id=671718
* Match the preview highlight roundedness with the videoEmanuele Aina2012-03-121-16/+19
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=671720
* Don't clip overflowing border when drawing rounded rectanglesEmanuele Aina2012-03-091-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=671644
* empathy_call_window_content_added_cb: fix pad leakGuillaume Desmottes2012-02-271-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=670745
* call-window: don't leak the ClutterStateGuillaume Desmottes2012-02-241-0/+1
|
* call-window: use empathy_call_handler_get_contact()Guillaume Desmottes2012-02-231-1/+2
| | | | I'm sure those bugs are because we were using g_object_get() directly.
* call-window: don't leak the contactGuillaume Desmottes2012-02-231-4/+1
|
* Don't disconnect the contact_name_changed_cb cbGuillaume Desmottes2012-02-231-2/+0
| | | | tp_g_signal_connect_object() does it for us.
* Stop using Farsight2 headersGert Kulyk2012-02-231-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=670638
* Merge remote-tracking branch 'origin/call1' into master+callGuillaume Desmottes2012-02-211-93/+41
|\ | | | | | | | | | | Conflicts: configure.ac telepathy-yell
| * Port DTMF code to new tp-glib APIXavier Claessens2012-01-271-63/+8
| |
| * Remove tp-yell and use TpCallChannelXavier Claessens2012-01-101-30/+33
| |
* | stop using clutter_gst_video_sink_new()Guillaume Desmottes2012-02-091-4/+11
|/ | | | It has been deprecated.
* Call: Low the video watchdog timeout to 1 secondSjoerd Simons2011-12-071-1/+1
| | | | | | | | | | Switch back to the avatar if there was at least one second of not receiving any new video frames to display. With this change the reaction time will be between 1 (best case) and 2 (worse case) seconds from the point the last frame went into the sync. Before it was 5 seconds (best case) and up to 10 seconds (worst case), which doesn't make for a very good experience
* restart the camera only if it's already runningGuillaume Desmottes2011-11-231-2/+9
| | | | | | Always restarting it will enable the camera in an audio only call. https://bugzilla.gnome.org/show_bug.cgi?id=664459
* factor out empathy_call_window_change_webcam()Guillaume Desmottes2011-11-231-0/+13
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=664459
* set_size_request on the video_container to ensure the window has a sane ↵Ken VanDine2011-11-211-0/+3
| | | | | | minimum size. https://bugzilla.gnome.org/show_bug.cgi?id=664313
* use gtk_box_new() instead of gtk_[h,v]box_new()Guillaume Desmottes2011-11-211-3/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=662903
* Call: Bind the output properties from the main threadSjoerd Simons2011-11-191-33/+51
| | | | | | | | | If we bind and sync the output volume from the non-main thread, we end up calling gtk and clutter from the non-main thread.. Which leads to crashes in OpenGL drivers and potenially kills your cat. Instead create the audio output when the audio content is added, which happens from the main thread. The output element is still only added to gstreamer pipeline when needed though.
* Bind the volume button to the volume of the outputSjoerd Simons2011-11-191-18/+7
|
* Bind the mic button the sources mute propertySjoerd Simons2011-11-191-38/+5
|
* Remove call input volume configurationSjoerd Simons2011-11-191-48/+0
| | | | | | | | | | | | As we rely on pulseaudio there is no point in saving our own volume configuration, pulseaudio does that for us. If we do save it, then we have no idea which volume to pick after connecting to pulse (the one we save, the one pulse saved, a random value?). On top of that our configuration implementation is plain ugly, the level meter didn't work etc. This is all much better configured using the gnome-control-center sound panel, which is pretty nice for inputs and saves its volume on pulse for us to re-use :)
* Implement Audiocontrol for the output volumeSjoerd Simons2011-11-191-0/+16
|
* Implement input audio controlSjoerd Simons2011-11-181-0/+50
|
* Don't turn on echo cancellation on the sink if it's for raw conferencesSjoerd Simons2011-11-111-3/+14
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=663842
* Don't turn on echo cancellation on the source if it's for raw conferencesSjoerd Simons2011-11-111-0/+25
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=663842
* Call: Signal content-{added/removed} instead of sink-{added/removed}Sjoerd Simons2011-11-111-13/+22
| | | | | | | | Tp-Farstream signals contents, not sinks (like tp-farsight did). So lets mirror that, which allows us to make better decisions about what kind of contents we are given https://bugzilla.gnome.org/show_bug.cgi?id=663842
* Call: Cope with not having the Channel direclty after startin a callSjoerd Simons2011-11-081-2/+9
|
* Don't go asynchronously to pausedSjoerd Simons2011-11-081-1/+1
|
* Change element state sink to sourceNicolas Dufresne2011-11-081-1/+1
|
* Hook resolution change supportNicolas Dufresne2011-11-081-0/+34
|
* Let set_send_video do it's jobNicolas Dufresne2011-11-081-4/+1
|
* Check and create video_preview outside camera controlNicolas Dufresne2011-11-081-0/+6
|
* Include config.h in a bunch of filesGuillaume Desmottes2011-10-251-0/+1
| | | | | They use deprecated API (g_mutex_new) but we still want to use it for now so they need to have GLIB_DISABLE_DEPRECATION_WARNINGS defined.
* display_error: Put 'Close' button on the bottom/endDanielle Madeley2011-10-211-2/+4
|
* Don't need to prepare balance feature, already prepared by client factoryDanielle Madeley2011-10-211-20/+10
|
* Inline assignments are icky; free leaked stringDanielle Madeley2011-10-211-3/+5
|
* 'Get Credit' is called 'Top Up' in other parts of the UIDanielle Madeley2011-10-211-1/+1
|
* Show an infobar if there's not enough creditEmilio Pozuelo Monfort2011-10-211-4/+99
| | | | With a button to buy some if desired.
* Move dialpad into a widget of its ownDanielle Madeley2011-10-191-17/+6
| | | | | | Let's face it, the whole thing was getting a little unwieldly there in the UI utils, and if we're going to be using it in more places, let's start by abstracting it into a widget.
* Merge remote-tracking branch 'pochu/misc-fixes'Danielle Madeley2011-10-141-3/+4
|\
| * CallWindow: correctly detect outgoing callsEmilio Pozuelo Monfort2011-09-051-3/+4
| |
* | Make sure we have our settings before we want to use themSjoerd Simons2011-10-131-2/+2
| |
* | CallWindow: drag the video preview smoothlyEmilio Pozuelo Monfort2011-09-261-5/+73
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=656907
* | CallWindow: show a spinner when switching camerasEmilio Pozuelo Monfort2011-09-261-7/+62
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=656884
* | Build fixEmilio Pozuelo Monfort2011-09-191-1/+1
| |
* | CallWindow: unconditionally connect to notify::call-channelEmilio Pozuelo Monfort2011-09-191-7/+8
| | | | | | | | | | | | | | Since we can get a new call channel if we e.g. hangup and then call again. https://bugzilla.gnome.org/show_bug.cgi?id=655356
* | CallWindow: emit tones using MultipleTonesEmilio Pozuelo Monfort2011-09-191-16/+68
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=655356
* | CallWindow: explain call statesEmilio Pozuelo Monfort2011-09-081-6/+6
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=580794
* | Resize the hangup button in ::realizeEmilio Pozuelo Monfort2011-09-081-5/+6
| | | | | | | | | | | | So that it's not resized many times. https://bugzilla.gnome.org/show_bug.cgi?id=580794
* | CallWindow: display a dialog to accept or reject incoming callsEmilio Pozuelo Monfort2011-09-081-13/+59
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=580794
* | Let the existing call window know about new incoming callsEmilio Pozuelo Monfort2011-09-081-0/+62
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=580794
* | Reuse Call windows when possibleEmilio Pozuelo Monfort2011-09-081-12/+35
|/ | | | | | | | | | If we have a call window opened for a contact and we get an incoming call from the same person, use the existing window instead of creating another one. Based on a patch from Jonathan Tellier. https://bugzilla.gnome.org/show_bug.cgi?id=580794
* CallWindow: make video buttons unsensitive when video not supportedEmilio Pozuelo Monfort2011-08-311-0/+6
| | | | | | | If we're calling an audio-only contact, make the camera buttons unsensitive. https://bugzilla.gnome.org/show_bug.cgi?id=656871
* CallWindow: destroy the preview clone when restarting the pipelineEmilio Pozuelo Monfort2011-08-301-6/+20
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=656886
* CallWindow: don't spit unnecessary criticalsEmilio Pozuelo Monfort2011-08-301-2/+2
| | | | | | | There's no guarantee that an actor has an allocation all the time, so gracefully handle the case when it doesn't. https://bugzilla.gnome.org/show_bug.cgi?id=656911
* Save the video preview position in gsettingsEmilio Pozuelo Monfort2011-08-301-0/+7
| | | | | | And place it in the last used position when starting a new call. https://bugzilla.gnome.org/show_bug.cgi?id=656889
* CallWindow: correctly position the preview when draggingEmilio Pozuelo Monfort2011-08-201-1/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=656887
* Flip the preview in RoundedTexture->paint()Emilio Pozuelo Monfort2011-08-191-19/+0
| | | | | | | | We can't flip the preview clone that we're dragging because of https://bugzilla.gnome.org/show_bug.cgi?id=656894, so directly paint it flipped. Partly fixes: https://bugzilla.gnome.org/show_bug.cgi?id=656887
* CallWindow: make the preview button reactiveEmilio Pozuelo Monfort2011-08-191-0/+1
| | | | | | | So it reacts to click events. Otherwise the video preview, which is reactive, will get all the events. https://bugzilla.gnome.org/show_bug.cgi?id=656888
* CallWindow: make empathy_call_window_play_camera() publicEmilio Pozuelo Monfort2011-08-191-4/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=656579
* CallWindow: make the rectangles have rounded cornersEmilio Pozuelo Monfort2011-08-191-14/+12
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=656576
* CallWindow: make the info buttons roundedEmilio Pozuelo Monfort2011-08-191-4/+11
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=656576
* CallWindow: round the video preview cornersEmilio Pozuelo Monfort2011-08-191-1/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=656576
* CallWindow: don't hide the toolbar when not in a callEmilio Pozuelo Monfort2011-08-191-1/+11
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=656566
* CallWindow: hide the preview button while dragging itEmilio Pozuelo Monfort2011-08-191-1/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=656573
* CallWindow: hide the preview while dragging itEmilio Pozuelo Monfort2011-08-191-0/+4
| | | | | | | We show a clone of it moving through the stage, so there's no point in showing the main preview at the same time. https://bugzilla.gnome.org/show_bug.cgi?id=656573
* CallWindow: flip the dragged previewEmilio Pozuelo Monfort2011-08-191-0/+11
| | | | | | Currently disabled as it doesn't work as expected. https://bugzilla.gnome.org/show_bug.cgi?id=656573
* CallWindow: make the preview follow the pointer when dragging itEmilio Pozuelo Monfort2011-08-191-7/+22
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=656573
* CallWindow: move preview rectangles on top of remote videoEmilio Pozuelo Monfort2011-08-161-2/+24
|
* CallWindow: add some padding to the dialpadEmilio Pozuelo Monfort2011-08-161-1/+1
|
* CallWindow: fix typoEmilio Pozuelo Monfort2011-08-161-12/+12
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=656571
* Get the preview position from preview_posEmilio Pozuelo Monfort2011-08-161-4/+4
| | | | | | | Getting it from the coordinates might fail if the system is too slow and gives us bad coordinates. https://bugzilla.gnome.org/show_bug.cgi?id=656572
* Display the preview video button in the preview cornerEmilio Pozuelo Monfort2011-08-161-4/+9
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=656571
* Merge branch 'move-video-preview-656268'Emilio Pozuelo Monfort2011-08-151-4/+370
|\
| * Don't define the same thing twiceEmilio Pozuelo Monfort2011-08-151-22/+20
| |
| * CallWindow: add extra bottom margin for the floating toolbarEmilio Pozuelo Monfort2011-08-151-14/+32
| | | | | | | | Otherwise the rectangles will be on top of the toolbar.
| * CallWindow: create the rectangles after the avatarEmilio Pozuelo Monfort2011-08-151-2/+2
| | | | | | | | As we want them to be on top of the avatar when they're shown.
| * Use self->priv->preview_pos to determine the preview positionEmilio Pozuelo Monfort2011-08-151-3/+2
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=656268
| * Darken the rectangles when starting a drag operationEmilio Pozuelo Monfort2011-08-151-0/+1
| | | | | | | | | | | | | | So that if we have just dragged it, the rectangle where it was before isn't highlighted. https://bugzilla.gnome.org/show_bug.cgi?id=656268
| * Don't darken the preview when dragging itEmilio Pozuelo Monfort2011-08-151-8/+25
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=656268
| * Highlight the preview when hoveredEmilio Pozuelo Monfort2011-08-151-1/+42
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=656268
| * Factor out empathy_call_window_darken_preview_rectangleEmilio Pozuelo Monfort2011-08-151-20/+17
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=656268
| * Factor out empathy_call_window_get_preview_rectangleEmilio Pozuelo Monfort2011-08-151-18/+28
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=656268
| * Move empathy_call_window_get_preview_position aroundEmilio Pozuelo Monfort2011-08-151-42/+42
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=656268
| * CallWindow: highlight drop zones when hoveredEmilio Pozuelo Monfort2011-08-151-0/+85
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=656268
| * Factor out empathy_call_window_get_preview_position()Emilio Pozuelo Monfort2011-08-151-6/+18
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=656268
| * CallWindow: show drop zones when dragging the previewEmilio Pozuelo Monfort2011-08-151-0/+85
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=656268
| * CallWindow: allow to move the video previewEmilio Pozuelo Monfort2011-08-151-0/+103
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=656268
| * CallWindow: add top and right margin to the preview containerEmilio Pozuelo Monfort2011-08-151-4/+4
| | | | | | | | | | | | | | So that when it's placed on another corner, it still has some margin. https://bugzilla.gnome.org/show_bug.cgi?id=656268
* | CallWindow: add a 'Swap camera' item to the preview menuEmilio Pozuelo Monfort2011-08-151-0/+69
| |
* | CallWindow: add a menu to change the cameraEmilio Pozuelo Monfort2011-08-151-6/+12
|/ | | | https://bugzilla.gnome.org/show_bug.cgi?id=599167
* Merge branch 'clutter-toolbar'Emilio Pozuelo Monfort2011-08-151-5/+129
|\
| * Update the constraint when the stage allocation changesEmilio Pozuelo Monfort2011-08-121-5/+8
| | | | | | | | Instead of when the box does, to avoid a warning.
| * CallWindow: raise the toolbar when showing the previewEmilio Pozuelo Monfort2011-08-121-0/+1
| | | | | | | | So that one can click the toolbar buttons.
| * CallWindow: make the preview margin a defineEmilio Pozuelo Monfort2011-08-121-2/+3
| |
| * Move the video preview upEmilio Pozuelo Monfort2011-08-121-1/+3
| | | | | | | | | | | | So it's not on top of the floating toolbar. https://bugzilla.gnome.org/show_bug.cgi?id=656150
| * Make the floating toolbar have rounded cornersEmilio Pozuelo Monfort2011-08-121-1/+2
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=656150
| * CallWindow: show the toolbar when on fullscreenEmilio Pozuelo Monfort2011-08-121-0/+3
| | | | | | | | | | | | And also hide it after 3s of inactivity. https://bugzilla.gnome.org/show_bug.cgi?id=656150
| * CallWindow: hide the toolbar after 3s of inactivityEmilio Pozuelo Monfort2011-08-121-0/+66
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=656150
| * CallWindow: make the toolbar float inside the windowEmilio Pozuelo Monfort2011-08-121-4/+51
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=656150
* | CallWindow: get the mic volume upon initEmilio Pozuelo Monfort2011-08-151-0/+5
| | | | | | | | | | | | | | Otherwise it'll be zero and when we unmute the mic, we'll set the volume to zero as we won't know the old value. https://bugzilla.gnome.org/show_bug.cgi?id=656415
* | CallWindow: fix toggling the microphone on and offEmilio Pozuelo Monfort2011-08-151-2/+10
|/ | | | | | | | We are changing the GSettings key, and also listening to changes on it and reacting to them, but we don't want to react to our own changes! https://bugzilla.gnome.org/show_bug.cgi?id=656415
* CallWindow: don't set the title for multiple participantsEmilio Pozuelo Monfort2011-08-101-1/+1
| | | | | | | We don't support that yet, the string is wrong, and priv->contact can't be NULL anyway. https://bugzilla.gnome.org/show_bug.cgi?id=655478
* Make the #defines an static arrayEmilio Pozuelo Monfort2011-08-041-2/+6
|
* Use the new enum everywhereEmilio Pozuelo Monfort2011-08-041-1/+3
| | | | And use strings for the --show-preferences argument.
* CallWindow: go to the Calls tab when opening the preferencesEmilio Pozuelo Monfort2011-08-041-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=655884
* CallWindow: show Empathy.Call when opening the debug windowEmilio Pozuelo Monfort2011-08-041-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=655884
* Factor out empathy_launch_program()Emilio Pozuelo Monfort2011-08-041-81/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=655884
* CallWindow: add a Settings menu itemEmilio Pozuelo Monfort2011-08-041-0/+49
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=655884
* CallWindow: add a 'Call log' menuEmilio Pozuelo Monfort2011-08-041-0/+46
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=655884
* CallWindow: add a Help->About menuEmilio Pozuelo Monfort2011-08-041-0/+9
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=655884
* CallWindow: add a Help->Contents menuEmilio Pozuelo Monfort2011-08-041-0/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=655884
* CallWindow: remove the hangup menu itemEmilio Pozuelo Monfort2011-08-041-1/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=655884
* CallWindow: don't close the window when hanging upEmilio Pozuelo Monfort2011-08-031-6/+3
| | | | As one may want to redial.
* CallWindow: show 'Mute' on the statusbar when mutedEmilio Pozuelo Monfort2011-08-031-1/+10
|
* call-window: don't display labels in both toolbarsGuillaume Desmottes2011-08-011-0/+4
|
* Merge branch 'change-audio'Jonny Lamb2011-08-011-0/+21
|\ | | | | | | | | | | | | | | Conflicts: src/empathy-call-window.c src/empathy-call-window.ui Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * call-window: add a Microphone menu to change mic on the flyJonny Lamb2011-07-291-0/+6
| | | | | | | | | | | | | | Yay! Sorry this commit is kind of big with the addition of mic-menu, perhaps I should have added it in pieces. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| * call-window: add getters for the UI manager and audio srcJonny Lamb2011-07-291-0/+16
| | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* | CallWindow: pack the details boxEmilio Pozuelo Monfort2011-07-281-0/+4
| | | | | | | | | | Even if we don't show it, so that the widgets exist and we don't assert.
* | CallWindow: remove the sidebarEmilio Pozuelo Monfort2011-07-281-268/+30
| | | | | | | | And only leave the dialpad in its place.
* | CallWindow: use the volume value from the preferencesEmilio Pozuelo Monfort2011-07-281-79/+21
| | | | | | | | | | This also removes the 'Audio input' sidebar page, as all of it can now be found in the preferences.
* | CallWindow: use tp_g_signal_connect_objectEmilio Pozuelo Monfort2011-07-281-7/+6
|/ | | | So the signals are disconnected when the window is destroyed.
* CallWindow: build the toolbar from the .uiEmilio Pozuelo Monfort2011-07-281-68/+4
|
* CallWindow: hide the audio/video call buttons on _init()Emilio Pozuelo Monfort2011-07-281-0/+2
| | | | | When we create a new window it's because there's an incoming call, so hide the audio/video call buttons.
* CallWindow: remove redial menuEmilio Pozuelo Monfort2011-07-281-24/+0
|
* CallWindow: show audio and video call buttons to start a callEmilio Pozuelo Monfort2011-07-281-7/+42
| | | | Instead of the redial button.
* CallWindow: add the remote user name and presence to the toolbarEmilio Pozuelo Monfort2011-07-281-1/+45
|
* CallWindow: add an avatar to the top toolbarEmilio Pozuelo Monfort2011-07-281-3/+40
|
* CallWindow: move the status message to the bottom toolbarEmilio Pozuelo Monfort2011-07-281-23/+23
| | | | From its own statusbar.
* CallWindow: move the volume button to the bottom toolbarEmilio Pozuelo Monfort2011-07-281-16/+9
|
* Factor out dialpad into a utility functionDanielle Madeley2011-07-261-49/+4
| | | | | | | | | | | | | The dialpad is shared between empathy-call and empathy-av. Really it would be nice to make the dialpad its own little widget that emits signals with DTMF event ids, but I've got things to get done. Conflicts: libempathy-gtk/empathy-ui-utils.c src/empathy-call-window.c src/empathy-streamed-media-window.c
* CallWindow: fix commentsEmilio Pozuelo Monfort2011-07-251-3/+3
| | | | We no longer show the self avatar
* CallWindow: fix typoEmilio Pozuelo Monfort2011-07-251-3/+3
|
* CallWindow: ignore events in the data probe callbackEmilio Pozuelo Monfort2011-07-251-0/+4
| | | | | | | | | We only want to show the remote video again if we receive video frames, not if we receive an event for whatever reason. That's in fact what we get when we start sending our own video, and so we don't want to display the remote video if it was hidden because we're not receiving it anymore.
* CallWindow: check the video exists before showing itEmilio Pozuelo Monfort2011-07-251-2/+5
| | | | | | | Since empathy_call_window_show_video_output_cb() is called in an idle thread, it's possible that the video is removed before the function is executed, so check if it's still there before showing it.
* CallWindow: show the remote avatar when video stops comingEmilio Pozuelo Monfort2011-07-251-0/+67
| | | | | | If we don't get incoming video for a few seconds, show the remote contact avatar instead of the frozen video, and show the video back if it starts coming again.
* CallWindow: remove unused boxEmilio Pozuelo Monfort2011-07-211-20/+0
| | | | | | It was taking horizontal space even if it was empty, causing the video widget to not take the full width when returning from fullscreen.
* Set the video widget for the fullscreen windowEmilio Pozuelo Monfort2011-07-211-3/+3
| | | | | | Otherwise the mouse cursor won't be hidden after a timeout and the 'Leave fullscreen' button won't dissapear when we unfullscreen the call window.
* CallWindow: disable Video functionality if there's no cameraEmilio Pozuelo Monfort2011-07-121-1/+12
|
* CallWindow: save the window geometry without the sidebarEmilio Pozuelo Monfort2011-07-121-0/+47
| | | | | | | | Since we don't show the sidebar when creating new call windows, we should not take the sidebar into account when saving the window geometry. https://bugzilla.gnome.org/show_bug.cgi?id=634809
* CallWindow: properly determine the sidebar widthEmilio Pozuelo Monfort2011-07-121-5/+5
| | | | | | | The first time we show the sidebar, gtk_widget_get_allocation() doesn't return the correct width as the allocation hasn't been done yet. So use gtk_widget_get_preferred_width() as the minimum width is what is actually allocated.
* CallWindow: add a dialpad tool buttonEmilio Pozuelo Monfort2011-07-121-12/+37
| | | | | Rename the dialpad menu entry to Sidebar and move it to the View menu at the same time.
* CallWindow: allow to show/hide the video previewEmilio Pozuelo Monfort2011-07-121-3/+100
| | | | | | There's now a button next to the video preview when it's shown and in a corner when it's hidden that allows to hide and show it.
* CallWindow: only show one button to control the cameraEmilio Pozuelo Monfort2011-07-121-236/+15
| | | | | | | | | Having three buttons to control the camera clutters the UI. Displaying the video preview but not sending video is not very useful, and we'll add a way of sending video without displaying the preview by clicking on the preview itself. https://bugzilla.gnome.org/show_bug.cgi?id=611789
* CallWindow: remove the Sidebar buttonEmilio Pozuelo Monfort2011-07-121-32/+6
|
* CallWindow: flip the video previewEmilio Pozuelo Monfort2011-07-121-0/+8
|
* CallWindow: add a little offset to the video previewEmilio Pozuelo Monfort2011-07-121-4/+14
|
* CallWindow: set the video container background colorEmilio Pozuelo Monfort2011-07-121-0/+17
| | | | ...to match the rest of the window.
* CallWindow: keep the aspect ratio of the remote videoEmilio Pozuelo Monfort2011-07-121-3/+5
|
* CallWindow: remove self avatar codeEmilio Pozuelo Monfort2011-07-121-33/+0
| | | | We don't display the self avatar anymore.
* CallWindow: set video preview on top of remote videoEmilio Pozuelo Monfort2011-07-121-66/+65
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=582442
* CallWindow: use clutter to draw the remote videoEmilio Pozuelo Monfort2011-07-121-21/+25
|
* CallWindow: use clutter to draw the video previewEmilio Pozuelo Monfort2011-07-121-24/+29
|
* Call: flip video preview horizontallyEmilio Pozuelo Monfort2011-07-051-1/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=639353
* Turn g_prints into DEBUGsEmilio Pozuelo Monfort2011-06-091-3/+3
|
* CallWindow: properly track the dialpad status againEmilio Pozuelo Monfort2011-06-091-7/+3
| | | | | This stopped working properly as the latest EvSidebar didn't have notify::current-page anymore.
* call-window: Put the details vbox in a scroll windowGuillaume Desmottes2011-06-091-2/+9
| | | | | | Conflicts: src/empathy-call-window.c
* Adapt to EmpathySidebar -> EvSidebarEmilio Pozuelo Monfort2011-06-091-13/+12
|
* Change the page before showing the sidebarEmilio Pozuelo Monfort2011-06-091-3/+3
| | | | | | To avoid showing it without the dialpad, which would cause the dialpad menu callback to be called to hide it before the page was changed, causing the sidebar to be hidden again!
* Factor out the block/set/unblock codeEmilio Pozuelo Monfort2011-06-091-14/+16
|
* Disable the dialpad when the call endsEmilio Pozuelo Monfort2011-06-091-0/+1
|
* Make it a toggle buttonEmilio Pozuelo Monfort2011-06-091-7/+54
|
* CallWindow: add a dialpad menu entryEmilio Pozuelo Monfort2011-06-091-0/+18
|
* Clear audio_output when the call endsEmilio Pozuelo Monfort2011-06-091-0/+5
| | | | So we create a new one when redialing instead of reusing it.
* CallWindow: show 'On hold' in the statusbar when appropriateEmilio Pozuelo Monfort2011-06-091-3/+38
|
* Directly call the callback if we're readyEmilio Pozuelo Monfort2011-06-091-8/+1
| | | | Instead of duplicating the code in two places.
* Keep a persistent source video tee aroundSjoerd Simons2011-06-091-23/+15
| | | | | | | Always keep the video input tee around, so we can easily hook up new video contents even if the camera isn't currently enabled. This fixes issues where a new content is added without the local camera being enabled.
* Minimize the scope in which we use TpyCallChannelSjoerd Simons2011-06-091-6/+7
|
* Prepare the video input pipeline when there is an initial contentSjoerd Simons2011-06-091-5/+17
|
* Follow the sending state of the channel to determine whether we should send ↵Sjoerd Simons2011-06-091-8/+14
| | | | video
* Don't start the Call when the streams startEmilio Pozuelo Monfort2011-06-091-13/+15
| | | | | | | | | Since that can happen before the call is accepted. Instead of that, wait for the Call state to be ACCEPTED. Conflicts: src/empathy-call-window.c
* Only distroy the video output if it existsSjoerd Simons2011-06-091-1/+2
|
* Remove live-adderSjoerd Simons2011-06-091-101/+15
|
* Only change the UI in the main threadSjoerd Simons2011-06-091-2/+11
|
* Use target-contact instead of membersSjoerd Simons2011-06-091-56/+18
|
* Move to using ->priv pointer in the object instanceSjoerd Simons2011-06-091-7/+5
|
* Call: check for priv->members to enable the video buttonEmilio Pozuelo Monfort2011-06-091-1/+1
|
* Don't use tpy_call_channel_is_receiving_videoEmilio Pozuelo Monfort2011-06-091-34/+2
| | | | Rely on src-pad-added to show the remote user's video.
* Don't use tpy_call_channel_is_sending_videoEmilio Pozuelo Monfort2011-06-091-2/+2
| | | | Check if we have initial video instead.
* Add an EmpathyCallWindow classEmilio Pozuelo Monfort2011-06-081-0/+3310
|
* EmpathyCallWindow -> EmpathyStreamedMediaWindowEmilio Pozuelo Monfort2011-02-031-3323/+0
|
* EmpathyCallHandler -> EmpathyStreamedMediaHandlerEmilio Pozuelo Monfort2011-02-031-30/+30
|
* EmpathyTpCall -> EmpathyTpStreamedMediaEmilio Pozuelo Monfort2011-02-031-25/+25
|
* use action_camera_on when using the camera action itemsGuillaume Desmottes2011-01-241-8/+6
| | | | | We just need one item of the action group to interact with the whole group, so best to use the one we already have.
* call-window: sync the sensitivity of the button and "send video" menu (#637839)Guillaume Desmottes2011-01-241-0/+5
|
* call-window: remove unused priv->action_camera_previewGuillaume Desmottes2011-01-241-2/+0
|
* move sound functions to EmpathySoundManager methodsGuillaume Desmottes2010-11-301-4/+11
|
* move empathy-sound to empathy-sound-managerGuillaume Desmottes2010-11-301-1/+1
|
* call-window: remove GTK2 compat codeGuillaume Desmottes2010-10-041-9/+0
|
* Import latest version of ev-sidebar from totemGuillaume Desmottes2010-10-041-14/+14
| | | | | This one builds fine with GTK-3. Also, stop renamespacing it so it's easier to update it.
* GDK keys are now GDK_KEY_*Guillaume Desmottes2010-10-041-1/+1
|
* Disable the fullscreen action while we are not connectedGuillaume Desmottes2010-09-271-0/+6
|
* Leave fullscreen mode when call is disconnected (#593437)Guillaume Desmottes2010-09-271-0/+3
|
* show_borders: check if video_output still exists before using itGuillaume Desmottes2010-09-271-4/+9
|
* disconnect signal before destroying the video widgetGuillaume Desmottes2010-09-271-0/+1
|
* factor out disconnect_video_output_motion_handler()Guillaume Desmottes2010-09-271-9/+12
|
* call-window: remove the errors info bar when redialing (#630276)Guillaume Desmottes2010-09-271-0/+4
|
* Don't use gtk_progress_bar_set_orientation() when building with GTK+ 3Philip Withnall2010-09-071-0/+10
| | | | | GtkProgressBar now implements GtkOrientable, but this hasn't been backported to GTK+ 2, so we need to use some #ifdef magic.
* Remove uses of new GStreamer APIPhilip Withnall2010-08-061-6/+0
| | | | | Various GstMessageType members were added after 0.10.0, so we shouldn't use them.
* Fix constness of various variables and parametersPhilip Withnall2010-08-051-1/+1
|
* Fix missing entries in switch statementsPhilip Withnall2010-08-051-0/+29
| | | | Added missing default cases and missing enum cases.
* display the tooltip on the info imageGuillaume Desmottes2010-08-051-7/+17
|
* call-window: use candidates-changed signalGuillaume Desmottes2010-08-051-79/+37
|
* use a space to separate the IP from the portGuillaume Desmottes2010-08-051-1/+1
|
* add tooltips giving a bit more context about the candidateGuillaume Desmottes2010-08-051-0/+23
|
* call-window: display candidates info (#599166)Guillaume Desmottes2010-08-051-0/+129
|
* Merge EmpathyContact:name and *_set_alias() to EmpathyContact:aliasPhilip Withnall2010-07-221-4/+4
| | | | The "name" API was a relic of Gossip.
* display the clock rate of the codec as wellGuillaume Desmottes2010-07-131-12/+11
|
* reset codecs when call is disconnectedGuillaume Desmottes2010-07-121-0/+13
|
* call-window: display receiving codecsGuillaume Desmottes2010-07-121-0/+74
|
* call-window: Add 'details' pane containing encoding codecs (#599166)Guillaume Desmottes2010-07-121-0/+63
| | | | The details pane has been inspired from totem's 'Properties' pane.
* call-window: use gtk_widget_get_allocation()Guillaume Desmottes2010-07-071-1/+3
|
* empathy_call_window_set_send_video: only disable preview if we need toGuillaume Desmottes2010-06-071-15/+27
| | | | | | | There is no point to stop the camera if we're about to restart it right after because "preview only" is enabled. Furthermore that causes weird races making the video jumps out of the window (#62076).
* Port to new EmpathyTpContactFactory APIXavier Claessens2010-05-261-6/+2
|
* use avatar-default instead of the deprecated stock_person iconGuillaume Desmottes2010-05-201-2/+3
|
* Don't try to start change the camera when there is no inputSjoerd Simons2010-05-101-6/+14
| | | | Fixes bug #618167
* add timestamp arg to empathy_dispatcher_create_channelSjoerd Simons2010-04-251-1/+2
|
* disconnect empathy_call_window_bus_message() in dispose (#616301)David Laban2010-04-211-6/+6
| | | | Otherwise, we will crash because priv->handler is not there.
* src/empathy-call-window.c: use tp_g_signal_connect_object instead of ↵Guillaume Desmottes2010-04-091-11/+14
| | | | empathy_signal_connect_weak
* empathy_call_window_sink_added_cb: unref the padGuillaume Desmottes2010-04-011-0/+1
|
* unref liveadder when disposingGuillaume Desmottes2010-04-011-0/+4
|
* don't recreate a video preview or update the window if we're about to destroy itGuillaume Desmottes2010-04-011-4/+11
|
* don't leak the fullscreen windowGuillaume Desmottes2010-04-011-0/+4
|
* init_contact_avatar_with_size: don't leak the pixbufGuillaume Desmottes2010-04-011-0/+3
|
* stop using gst_bin_add_many and gst_element_link_manyGuillaume Desmottes2010-04-011-4/+30
|
* use tp_g_signal_connect_object so we don't have to disconnect ↵Guillaume Desmottes2010-04-011-4/+4
| | | | empathy_call_window_video_stream_changed_cb manually
* Fix race when restarting a callGuillaume Desmottes2010-04-011-1/+12
| | | | | Fix a race between user hitting the 'redial' button and the pipeline being ready.
* Allow to use the video preview when the call has been terminated (#602937)Guillaume Desmottes2010-04-011-4/+15
|
* empathy_call_window_restart_call: there is no reason to show_all all the hboxGuillaume Desmottes2010-04-011-2/+0
| | | | Widgets should already be properly displayed.
* empathy_call_window_reset_pipeline: start the new pipeline right awayGuillaume Desmottes2010-04-011-2/+13
| | | | This will allow us to display the video preview before the call is restarted.
* Actually turn off the camera when preview/sending is disabledGuillaume Desmottes2010-04-011-26/+54
| | | | | | | There is no point to let the camera on if we are not using it. Also split empathy_call_window_setup_video_preview() to create_video_preview() and add_video_preview_to_pipeline().
* stop disabling the video-preview button when call is disconnected (#602937)Guillaume Desmottes2010-04-011-12/+0
|
* recreate the pipeline as soon we destroyed the old oneGuillaume Desmottes2010-04-011-1/+2
| | | | | | This will allow us to be able to display the preview after the call has been terminated. It's easier and more robust to recreate a new pipeline than reusing the old one.
* split create_video_output_widget out of create_pipelineGuillaume Desmottes2010-04-011-3/+9
|
* recycle the audio input gst elementGuillaume Desmottes2010-04-011-15/+3
|