aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-call-window.c
Commit message (Collapse)AuthorAgeFilesLines
* call-window: use HandleWithTime()Guillaume Desmottes2014-01-271-2/+3
| | | | | Makes transition to next easier as HandleWith() is going to always have the 'time' argument.
* Add missing telepathy-glib-dbus.h includesXavier Claessens2013-10-031-0/+1
|
* Drop support for gstreamer 0.10Xavier Claessens2013-10-031-41/+1
| | | | GStreamer 1.0 is now mandatory.
* call-window: ensure "Swap camera" is only visible when there are >1 camerasJonny Lamb2013-08-201-8/+13
| | | | | It was possible to get into a state where "Swap camera" was visible even when there was only one camera connected.
* pixbuf-utils: copy the generic pixbuf-related utily functions from EmpathyMarco Barisione2013-08-201-1/+2
| | | | | | | This commit also changes the licence of the moved code from GPL to LGPL. See GOSSIP-RELICENSING.txt for details. https://bugzilla.gnome.org/show_bug.cgi?id=699492
* tpaw-utils: move empathy_window_present* to tp-aw and rename itMarco Barisione2013-08-201-1/+2
| | | | | | | This commit also changes the licence of the moved code from GPL to LGPL. See GOSSIP-RELICENSING.txt for details. https://bugzilla.gnome.org/show_bug.cgi?id=699492
* tpaw-images: move the default avatar definition from Empathy to tp-awMarco Barisione2013-08-201-1/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=699492
* camera-monitor: move from Empathy to tp-account-widgetsMarco Barisione2013-08-201-13/+13
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=699492
* builder: move empathy_builder_* from Empathy to tp-account-widgetsMarco Barisione2013-08-201-2/+3
| | | | | | | This commit also changes the licence of the moved code from GPL to LGPL. See GOSSIP-RELICENSING.txt for details. https://bugzilla.gnome.org/show_bug.cgi?id=699492
* use the user_action_time received from TP when presenting existing call windowGuillaume Desmottes2013-08-071-2/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=705618
* empathy_call_window_present(): rename to _new_handler()Guillaume Desmottes2013-08-071-1/+1
| | | | | | | The name was miss leading as this function do more than just presenting the window. https://bugzilla.gnome.org/show_bug.cgi?id=705618
* GNOME Goal: Update icon namesB.Prathibha2013-05-031-1/+1
| | | | | | Corrected the icon names as per the icon naming spec. https://bugzilla.gnome.org/show_bug.cgi?id=692160
* Merge branch 'gnome-3-8'Guillaume Desmottes2013-05-031-0/+1
|\
| * call-window: Remember that the audio output has been addedOlivier Crête2013-05-031-0/+1
| | | | | | | | | | | | Otherwise it tries to re-add it. https://bugzilla.gnome.org/show_bug.cgi?id=697214
* | Reorder header inclusions accordingly to the Telepathy coding styleEmanuele Aina2013-04-021-17/+14
| | | | | | | | | | | | | | | | | | | | | | | | Sort by: • "config.h" • API declarations, if any • public libraries • internal headers, alphabetically sorted (mostly) http://telepathy.freedesktop.org/wiki/Style#A.23includes https://bugzilla.gnome.org/show_bug.cgi?id=697076
* | Use a flat namespace for internal includesEmanuele Aina2013-04-011-12/+12
| | | | | | | | | | | | | | | | Directly add the libempathy, libempathy-gtk and extensions directories to the include search path. This decouples header inclusions from their location and helps when reorganizing the source files layout. https://bugzilla.gnome.org/show_bug.cgi?id=696950
* | Use double quotes for all internal headersEmanuele Aina2013-04-011-12/+12
|/ | | | | | | This makes a bit more obvious which headers come from public libraries and which ones come from uninstalled utility libraries. https://bugzilla.gnome.org/show_bug.cgi?id=696950
* Drop unused/redundant header inclusionsEmanuele Aina2013-03-281-18/+0
| | | | | | | With the help of the script posted at http://stackoverflow.com/a/7135530 and some manual fixes, drop the unused or redundant #include directives. https://bugzilla.gnome.org/show_bug.cgi?id=696718
* call-window: use the 'emblem-system-symbolic' icon for the camera popup buttonGuillaume Desmottes2013-01-091-19/+24
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=657634
* call-window: set a bigger default sizeGuillaume Desmottes2013-01-041-0/+2
| | | | | | Set the same size as the default chat-window size. https://bugzilla.gnome.org/show_bug.cgi?id=687450
* empathy-call: Handle yanking out of current video inputDebarshi Ray2012-11-091-0/+8
| | | | | | | | If the current video input is yanked out, we continue the call with only audio and desensitize the camera menu. Once the call is over we sensitize it again and continue. Fixes: https://bugzilla.gnome.org/687928
* call-window: add 'inhibit' signalGuillaume Desmottes2012-11-021-0/+18
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=684979
* Fix build with gst 0.10Xavier Claessens2012-10-291-1/+1
| | | | | | | In gstreamer 0.10 gst_debug_bin_to_dot_file() does not exists, it is called _gst_debug_bin_to_dot_file(). However in both 0.10 and 1.0 there is GST_DEBUG_BIN_TO_DOT_FILE() macro that is no-op if gst is not build with --gst-enable-gst-debug.
* empathy-call: Free the FsElementAddedNotifiers on fs-conference-removedDebarshi Ray2012-10-181-0/+3
| | | | Fixes: https://bugzilla.gnome.org/686314
* empathy-call: Add a debug option to dump the GStreamer pipelineDebarshi Ray2012-10-121-2/+61
| | | | Fixes: https://bugzilla.gnome.org/685888
* Say in the status message when the call has been terminatedGuillaume Desmottes2012-09-251-0/+2
| | | | | | | | | | This is not a string freeze break as this string is already used in a bunch of place in this file. We could probably improve the phrasing a little bit but that's too late for this cycle. https://bugzilla.gnome.org/show_bug.cgi?id=684528
* call_state is a CallState enumGuillaume Desmottes2012-09-251-1/+1
|
* actually unmute the microphone when restarting the callGuillaume Desmottes2012-09-211-1/+1
| | | | | | | | | That's what this code was always meant to do but some idiot named Guillaume changed it and introduced this regression in 74d098cd8894f72321237e120267a5ec3f188b3f when using the audio-input-microphone-muted-symbolic icon. https://bugzilla.gnome.org/show_bug.cgi?id=684531
* Use funnel instead of fsfunnel for gstreamer 1.0Sjoerd Simons2012-09-201-3/+9
|
* include telepathy-glib.hGuillaume Desmottes2012-09-171-2/+1
| | | | | tp-glib 1.0 will enforce to only include telepathy-glib.h so best doing it to reduce the delta with the future stable branch.
* use tp_channel_get_connection()Guillaume Desmottes2012-09-111-2/+2
| | | | tp_channel_get_connection() has been deprecated.
* Port to gstreamer 1.0Sjoerd Simons2012-09-031-0/+32
|
* emapthy-call: Camera toggle button isn't a GtkToggleToolButtonSjoerd Simons2012-08-311-2/+2
|
* call-window: use gdk_keyval_to_unicode()Guillaume Desmottes2012-07-091-57/+22
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679396
* call-window: allow user to enter dtmf events using his keyboardGuillaume Desmottes2012-07-091-0/+63
| | | | | | | | | Ideally we should stop sending the DTMF event when the key is released but we can't easily do that in Gtk+; we'll have to write our own widget. I'm going to give it a shot but this is already a nice improvement so we shouldn't block on it. https://bugzilla.gnome.org/show_bug.cgi?id=679396
* Use audio-input-microphone-muted-symbolic when the mic is mutedGuillaume Desmottes2012-06-181-10/+29
| | | | | | It's clearer that way. https://bugzilla.gnome.org/show_bug.cgi?id=678167
* call-window: use a linked style for the OSD toolbar buttonsCosimo Cecchi2012-06-011-12/+12
| | | | | | | | | Pack the camera/volume/mic buttons in a GtkBox, so they get linked together by the theme. Also, use symbolic icons for the buttons in the toolbar, in GNOME 3 style. https://bugzilla.gnome.org/show_bug.cgi?id=676569
* call-window: use GTK_STYLE_CLASS_OSD for the floating toolbarCosimo Cecchi2012-06-011-19/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=676569
* gedit-close-button: move CSS bits to empathy.cssGuillaume Desmottes2012-05-241-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=669473
* Load the CSS in all empathy-* binariesGuillaume Desmottes2012-05-241-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=669473
* Merge branch 'gnome-3-4'Guillaume Desmottes2012-05-211-72/+74
|\ | | | | | | | | | | | | Conflicts: NEWS configure.ac src/empathy-audio-src.c
| * call: Initialize the timer earlySjoerd Simons2012-05-211-2/+1
| |
| * call: Keep the toolbar around if mutedSjoerd Simons2012-05-211-2/+26
| | | | | | | | | | | | It's not uncommon for people to forget that the put a call on mute, causing awkward situation while trying to talk while muted. To prevent this, keep the toolbar showhing while muted as a reminder.
| * call: Adjust the preview rectangle colorsSjoerd Simons2012-05-211-27/+4
| | | | | | | | | | | | As our default background is now black the non-highlighted previews get hard to see. Change the rectangle colors to white for the highlighted version and a darkened white for the non-highlighted.
| * Call: Let the floating toolbar be above the previewSjoerd Simons2012-05-211-20/+19
| | | | | | | | | | | | | | | | | | The call window has previews in the four corners, before the lower ones were packed in a way that they would appear above the floating toolbar which looks strange when the floating toolbar disappears. Instead allow the lower preview to be below the floating toolbar so they're evenly spread out.
| * Keep some margin for the preview and the floating toolbarSjoerd Simons2012-05-211-1/+7
| | | | | | | | | | Now that the video box is flush against the sides add some extra margin for the things floating inside.
| * call: Make the remote video background blackSjoerd Simons2012-05-211-18/+5
| | | | | | | | | | Mimic totem in making the background for our video output black by default and without extra borders. It does look nicer.
| * Call window: Ellipsize alias and statusSjoerd Simons2012-05-211-8/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the user alias is too long both the hangup and the dialpad buttons get pushed into a drop-down menu. Even worse when the alias doesn't fit, it just isn't shown at all anymore. Given the username is already printed in the title and the user tends to know who they're calling with, ellipsizing the alias isn't an issue. Which has the nice side-effect of keeping the hangup and dialpad buttons on the toolbar in all cases like they should be. Unfortunately as pango doesn't ellipsize if it still has enough height left to put more lines in. So put the alias and status in seperate labels in a vbox which isn't set to fill.
| * Don't put the status in the header if the user has noneSjoerd Simons2012-05-211-1/+5
| |
| * Call: Fix floating toolbarSjoerd Simons2012-05-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Empathy needed to mark the toolbar actor as reactive otherwise it won't be reactive to events (doh)... And empathy needed to stop calling gdk_disable_multi_device().. Empathy used to do this because it has to be called before GTK+ is initialized and clutter-gtk only called after GTK+ was initialized by other function in empathy. Unfortunately since clutter-gtk 1.1.2 instead of ensuring event actually work with clutter-gtk calling this function will actually break event handle (great fun!).. Oh and also bump the clutter-gtk requirement to 1.1.2 to ensure we get the right behaviour for events.. https://bugzilla.gnome.org/show_bug.cgi?id=670874
| * Use gst_object_ref_sink()Javier Jardón2012-05-071-6/+3
| | | | | | | | | | | | Instead call both gst_object_ref() and gst_object_sink() https://bugzilla.gnome.org/show_bug.cgi?id=675590
* | Call: Fix floating toolbarSjoerd Simons2012-05-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Empathy needed to mark the toolbar actor as reactive otherwise it won't be reactive to events (doh)... And empathy needed to stop calling gdk_disable_multi_device().. Empathy used to do this because it has to be called before GTK+ is initialized and clutter-gtk only called after GTK+ was initialized by other function in empathy. Unfortunately since clutter-gtk 1.1.2 instead of ensuring event actually work with clutter-gtk calling this function will actually break event handle (great fun!).. Oh and also bump the clutter-gtk requirement to 1.1.2 to ensure we get the right behaviour for events.. https://bugzilla.gnome.org/show_bug.cgi?id=670874
* | remove unused tp-contact-factory includesGuillaume Desmottes2012-05-151-1/+0
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=675597
* | video-widget: Remove as it is now unusedOlivier Crête2012-05-091-5/+6
| | | | | | | | | | | | | | It was only used by empathy-av. Move the #defines to call-window where they are used. https://bugzilla.gnome.org/show_bug.cgi?id=675647
* | Use gst_object_ref_sink()Javier Jardón2012-05-081-6/+3
| | | | | | | | | | | | Instead call both gst_object_ref() and gst_object_sink() https://bugzilla.gnome.org/show_bug.cgi?id=675590
* | 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
|