Guido Günther
97c2dde0eb
notifier: Fix compile warning
...
Fixes
../src/calls-notifier.c: In function ‘state_changed_cb’:
/usr/include/glib-2.0/glib/gmacros.h:1132:17: warning: ‘notification’ may be used uninitialized in this function [-Wmaybe-uninitialized]
which wasn't problematic with the current code flow but
can easily become a problem when shuffling stuff around.
2021-03-01 10:04:02 +01:00
Mohammed Sadiq
994853910d
application: Open only the first 'tel:' URI
...
Calls can't handle multiple calls, so there is no
point in handling all URIs.
Handle opening URI in activate(), which will be helpful
when we use local_command_line()
Also, this commit fixes presenting window on initial
launch of Calls with a “tel:” URI
2021-02-27 09:14:44 +00:00
Evangelos Ribeiro Tzaras
5b34342134
new-call-box: make sure to call origin_count_changed_cb
...
Otherwise the model changes happening before hooking up will be missed
(which results in the model not being bound to HdyComboRow).
2021-02-27 09:45:06 +01:00
Evangelos Ribeiro Tzaras
29ad37150b
d/gbp.conf: automatically bump project version
...
this makes sure we don't forget to bump the version in meson.build
2021-02-26 12:32:13 +01:00
Mohammed Sadiq
eda460ac15
provider: Use GListModel to track origins
...
And adapt to changes
It's easier to track changes if we are using GListModel than
a GList. Also, eventually we shall have multiple providers,
and we can use GtkFlattenListModel to merge multiple origins
without manually managing pointers ourself.
Since several widgets has APIs to handle GListModels, it will
also help us create widgets from GListModels easily.
2021-02-25 08:44:56 +05:30
Yuri Chornoivan
b5645c4cca
po: Update Ukrainian translation
2021-02-23 20:36:02 +02:00
Pierre Michel Augustin
0932189cf0
po: Add Creole Haitian translation
2021-02-23 07:24:25 +00:00
Evangelos Ribeiro Tzaras
c7cc3805f0
po: Add src/ui/contacts-box.ui to POTFILES.in
2021-02-22 18:31:49 +01:00
Evangelos Ribeiro Tzaras
161f20b2c9
meson: bump version
2021-02-21 04:04:53 +01:00
carlosgonz
833c3b313b
po: Update spanish translation
2021-02-18 07:58:00 +01:00
Evangelos Ribeiro Tzaras
4a364c7c24
Document and release 0.3.1
...
This is a bugfix release
2021-02-16 11:49:35 +01:00
Evangelos Ribeiro Tzaras
d75a08b9b7
application: Fix double free
...
The double free was introduced in 46e4422
.
This fixes #225
2021-02-16 02:59:24 +01:00
Evangelos Ribeiro Tzaras
82275c7fea
Document changes and release 0.3.0
2021-02-12 17:12:44 +01:00
Evangelos Ribeiro Tzaras
f99cd48394
d/control: Add myself as maintainer
2021-02-12 10:20:10 +01:00
Evangelos Ribeiro Tzaras
3050e30672
project: rename back to calls
...
The project files should not have been renamed in c732c74
as these changes might infringe on GNOME trademarks
2021-02-11 08:31:27 +00:00
Evangelos Ribeiro Tzaras
46e4422026
application: use g_autoptr
2021-02-11 00:44:07 +01:00
Evangelos Ribeiro Tzaras
5d4b84470c
code style: consistent whitespaces for g_autoptr
2021-02-11 00:43:18 +01:00
Arnaud Ferraris
5375ebbc72
call-display: switch to default audio profile only if no other call
...
Currently, when any call is terminated, audio profile/routing is
switched to the default one.
This is a problem when already into a call and getting a second one:
rejecting the new call will keep the first one going, but with the wrong
audio profile, making it difficult (or, on the PinePhone, impossible) to
keep talking.
This patch makes sure there is no other ongoing call before switching
the audio mode, so that it's possible to keep the first call going even
after rejecting the second one.
2021-02-09 09:09:57 +01:00
Evangelos Ribeiro Tzaras
71f9e636b3
display: fix null pointer dereference
...
removing unused GError
2021-02-08 17:39:42 +00:00
Evangelos Ribeiro Tzaras
f8cd126d6f
record-store: Handle old and new database locations gracefully
...
Because we rename the project and binaries to 'gnome-calls' we want
to make sure that the call history is preserved by doing the following:
If there is an old directory '~/.local/share/calls' try to rename it to
'gnome-calls'. Use new location if it succeeds and fall back to old location if it failed.
2021-02-04 01:19:26 +00:00
Evangelos Ribeiro Tzaras
c732c74703
project: rename to gnome-calls
2021-02-04 01:19:26 +00:00
Sebastian Rasmussen
2d8253cd7d
po: Update Swedish translation
2021-02-04 00:28:44 +00:00
Julian Sparber
e09f2e10f8
CallsCallDisplay: use HdyAvatar
2021-02-03 23:58:31 +00:00
Julian Sparber
293227ff3c
CallsCallRecordRow: Cleanup contact setup
2021-02-03 23:58:31 +00:00
Julian Sparber
844d04f2d9
Remove unused CallsParty
2021-02-03 23:58:31 +00:00
Julian Sparber
889d5a0981
CallManager: drop calls_manager_get_contact_name ()
...
This function is replaced with calls_call_get_contact ()
2021-02-03 23:58:31 +00:00
Julian Sparber
60e2b39367
CallsCallSelectorItem: Make sure that the contact infomation is updated
...
This is done by binding the contact information to the UI.
2021-02-03 23:58:31 +00:00
Julian Sparber
2206c3733c
CallsCallDisplay: Make sure that the contact infomation is updated
...
This is done by binding the contact information to the UI.
2021-02-03 23:58:31 +00:00
Julian Sparber
501d29145f
CallsCall: Add method to optain matching contact
2021-02-03 23:58:31 +00:00
Julian Sparber
6d3b75262d
BestMatch: add has-individual property
2021-02-03 23:58:31 +00:00
Julian Sparber
f1946aff79
BestMatch: remove BestMatchView to reduce vala code
2021-02-03 23:58:31 +00:00
Julian Sparber
2a85b60f7c
BestMatch: Simplify code for updating new best matching individual
2021-02-03 23:58:31 +00:00
Julian Sparber
339b71a233
BestMatch: Allways return a name
...
If no matching contact is found the phone number is used, and when no
phone number was given "Anonymous caller" is returned.
2021-02-03 23:58:31 +00:00
Julian Sparber
d75d39dc66
BestMatch: Move SearchView creation inside the class
2021-02-03 23:58:31 +00:00
Julian Sparber
99e427a529
BestMatch: Turn avatar into a property
2021-02-03 23:58:31 +00:00
Evangelos Ribeiro Tzaras
d8f2534795
call-display: fix whitespace
2021-02-03 23:58:31 +00:00
Evangelos Ribeiro Tzaras
ca9c5747ab
ci: Build flatpak in packaging stage
...
Closes #220
2021-02-04 00:25:38 +01:00
Julian Sparber
19c9893ecf
Contacts: Add contacts list
2021-02-03 23:28:57 +01:00
Julian Sparber
4c7b402385
Revert "ui/main-window: Hide contacts pane"
...
This reverts commit 6a4dbe6b18
.
2021-02-03 23:28:57 +01:00
Julian Sparber
f61ae1cba1
Contacts: replace CallsContacts with CallsContactsProvider
2021-02-03 23:28:56 +01:00
Julian Sparber
4ba9feb22f
ContactsProvider: Add contacts provider
...
The CallsContacts provider offers a GListModel that can be connected
directly to a GtkListBox for showing a contacts list.
2021-02-03 16:18:29 +00:00
Yuri Chornoivan
d6c05e85b4
po: Update Ukrainian translation
2021-02-02 11:22:10 +02:00
Evangelos Ribeiro Tzaras
2568ea8179
application: Notify when opening URI/files fails
2021-02-01 23:14:36 +00:00
Evangelos Ribeiro Tzaras
dc6b675a14
application: Use g_autoptr and g_autofree
2021-02-01 23:14:36 +00:00
Mohammed Sadiq
5684d54bbd
Let calls-provider be an abstract class
...
And adapt to changes.
A calls-mm-provider IS-A calls-provider (and so on)
2021-01-31 23:01:13 +00:00
Julian Sparber
1c8eb87e7f
remove CallsCallHolder and CallsCallData
...
Both classes are containers for other data and we can pass the data
directly without an additional code.
2021-01-28 15:22:59 +01:00
Julian Sparber
1bfcdd545a
Revert "ci: write STDOUT for flatpak build to file"
...
Revert the commit since the log limit for the ci was increased.
This reverts commit 70c75822f7
.
2021-01-27 12:36:14 +01:00
Julian Sparber
70c75822f7
ci: write STDOUT for flatpak build to file
...
The flatpak build excites the log limit therefore redirect the log to a
file.
2021-01-26 14:33:12 +01:00
Julian Sparber
87f70265e9
ci: build flatpak
2021-01-26 14:33:12 +01:00
Julian Sparber
cfc2132c79
flatpak: add libcanberra
2021-01-26 12:44:34 +01:00