Commit Graph
43 Commits
Author SHA1 Message Date
Adrien PlazasandJulian Sparber 576ea55e9f main-window: Use HdyViewSwitcherTitle
This makes the code simpler.
2020-10-06 14:06:51 +00:00
Adrien PlazasandJulian Sparber 6dba2c453b Port to libhandy 1
This ports Calls to libhandy 1 and drops the embedded HdyAvatar in favor
of the libhandy one.

Fixes https://source.puri.sm/Librem5/calls/-/issues/172
2020-10-06 14:06:51 +00:00
Adrien Plazas 1d93520708 flatpak: Bump the SDK to master
This is needed for libhandy to build as it depends on a more recent
GTK+ 3 version than the one in the 3.28 SDK.
2018-10-26 11:07:17 +02:00
Adrien Plazas 8b6da38825 flatpak: Don't build the libhandy Glade catalog 2018-10-26 11:04:44 +02:00
Adrien Plazas 84fe54e2fa flatpak: Bump the SDK to master
This is needed for the latest version of libhandy to work.
2018-10-05 13:41:48 +02:00
Adrien Plazas 7682aa1029 main-window: Move calls history before the new call box
This makes the calls history the page visible by default, matching the
final design.
2018-10-01 08:41:55 +02:00
Adrien Plazas e0a1329218 main-window: Replace the stack switcher by a header bar
Drop the in-window content stack witcher and replace it by a header bar
containing both a CallsHistoryHeaderBar and a CallsNewCallHeaderBar.
2018-10-01 08:41:55 +02:00
Adrien Plazas 68cc256018 main-window: Add the 'new-call' and 'back' actions
These will be used by the header bar to switch between the call history
page and the new call page.
2018-10-01 08:41:55 +02:00
Adrien Plazas b9d353dd58 Add CallsNewCallHeaderBar 2018-10-01 08:41:55 +02:00
Adrien Plazas 1a16271bcb Add CallsHistoryHeaderBar 2018-10-01 08:41:55 +02:00
Adrien Plazas e58ce3f08d main-window: Add the 'about' action
This will be needed by the next commit to display an "About" dialog via
the corresponding entry in the app menu that will be added.

This also adds the PACKAGE_URL, PACKAGE_VERSION and VCS_TAG
configuration data.
2018-10-01 08:41:42 +02:00
Adrien Plazas 65d7943e88 main-window: Don't display calls 2018-10-01 08:18:28 +02:00
Adrien Plazas 09670ea9c8 Display calls in the call window. 2018-10-01 08:18:28 +02:00
Adrien Plazas b547c344e5 Add CallsCallWindow 2018-10-01 08:18:28 +02:00
Adrien Plazas 7e2a1f376a main-window: Add the 'call-added' and 'call-removed' signals
These will be used in the next commit to notify of added and removed,
which will be needed to display the calls in a secondary window.
2018-10-01 08:18:28 +02:00
Adrien Plazas bc6295f5fe main: Use APP_ID from config.h 2018-10-01 08:18:28 +02:00
Adrien Plazas 6a1ce14da1 meson: Add config.h
This will be used to factorize project-related information like APP_ID.
2018-10-01 08:18:28 +02:00
Adrien Plazas 1bbe042ff0 flatpak: Enable access to dconf config
This is needed for GTK+ to check if access to the GTK+ Inspector is
enabled, as described in the Flatpak sandbox permissions documentation:
http://docs.flatpak.org/en/latest/sandbox-permissions.html#dconf-access
2018-09-27 13:50:40 +02:00
Adrien Plazas 6d921bd667 main-window: Fix the title 2018-08-29 09:05:57 +02:00
Adrien Plazas b05c6e34e2 main-window: Use a new call box
Replace the custom inplementation of a call box by a CallsNewCallBox
which is used to dial new calls and not to send DTMF tones as the call
display can now handle that.
2018-08-29 09:05:57 +02:00
Adrien Plazas 22d79bfbbf Add CallsNewCallBox 2018-08-29 09:05:57 +02:00
Adrien Plazas a07b0b8382 main-window: Drop the new call expander
It is not needed anymore as the call display can send DTMF tones itself,
so instead let the dial pad always be available to send new calls.
2018-08-29 09:05:57 +02:00
Adrien Plazas 6182961f07 call-display: Add a dial pad overlay
Put the call display in an GtkOverlay and add a dial pad sending DTMF
tones as an overlay. Also make the dial pad overlay be triggered by the
dial pad button.
2018-08-29 09:05:57 +02:00
Adrien Plazas 0d98e17b05 main-window: Use CallsHistoryBox
This helps the window to be only a glue in between the actual UI
elements instead of handling a lot of the UI.
2018-08-29 09:05:57 +02:00
Adrien Plazas 70bafc2091 Add CallsHistoryBox 2018-08-29 09:05:57 +02:00
Adrien Plazas c5d36106b0 flatpak: Drop Ofono and mobile-broadband-provider-info
Drops the Ofono and mobile-broadband-provider-info modules and stops
talking to Ofono.

They are not used by the application anymore as it switched to
ModemManager.
2018-08-28 08:35:03 +02:00
Adrien Plazas 1294cf0090 flatpak: Add ModemManager
Add the ModemManager module as Calls now depends on it and talk to
org.freedesktop.ModemManager1.
2018-08-28 08:34:09 +02:00
Adrien Plazas 90f3933e95 Drop the CALLS_SET_OBJECT_PROPERTY() macro
Replace it by g_set_object() as it does the same thing.
2018-08-03 11:30:18 +02:00
Adrien Plazas 3ebf58548c Drop the CALLS_FREE_PTR_PROPERTY() macro
Replace it by g_free() as it does the same thing.
2018-08-03 11:30:09 +02:00
Adrien Plazas 52f7f2da6f Drop the CALLS_DISPOSE_OBJECT() macro
Replace it by g_clear_object() as it does the same thing.
2018-08-03 11:29:56 +02:00
Adrien Plazas e707894923 party: Replace the default party avatar
Replace the 'face-smile' icon by the better fitting
'avatar-default-symbolic' icon.
2018-07-31 10:20:38 +02:00
Adrien Plazas c68b76fa63 call-display: Add an encryption indicator
This matches the final design.
2018-07-31 10:14:49 +02:00
Adrien Plazas 4616d6cafa Initialize CallsEncryptionIndicator
This is needed for that type to be used in the next commit.
2018-07-31 10:14:49 +02:00
Adrien Plazas 1dca8d34fb Add CallsEncryptionIndicator
This will be used in the next commit to let a call display indicate
whether the call is encrypted or not.
2018-07-31 10:14:49 +02:00
Adrien Plazas 7c974d38ed call-display: Make the buttons match the new design
Add 'mute' and 'dial pad' buttons, drop the 'hold' button, change the
size of the central buttons, make them use icons and drop the now
useless group size.
2018-07-31 10:14:49 +02:00
Adrien Plazas b104483d3a call-display: Move hang up button at the bottom
Also make it match the final design.
2018-07-31 10:14:49 +02:00
Adrien Plazas c5b1a3a923 call-display: Replace name by primary and secondary info
This better matches the final design and displays the most relevant
information available first.
2018-07-31 10:13:32 +02:00
Adrien Plazas 1a3d34bb2b call-display: Make time larger and give it some margin
This matches the final design.
2018-07-27 15:45:24 +02:00
Adrien Plazas 152c89ea79 call-display: Display two digits for minutes
This matches the final design.
2018-07-27 15:45:24 +02:00
Adrien Plazas 509f4227d9 call-display: Center and set the desired size
This will make the call display look closer to the final designs.
2018-07-27 12:56:28 +02:00
Adrien Plazas 76300d7d9d call-display: Drop a useless placeholder 2018-07-27 10:14:45 +02:00
Adrien Plazas f511c342ca call-display: Drop useless packing information
Drop information that matches the default behavior as it ends up
creating noise when refactoring.
2018-07-27 10:14:45 +02:00
Adrien Plazas 3a614fc57c Merge branch 'wip/aplazas/destop-appdata' into 'master'
Improves the desktop entry and adds an appdata

See merge request Community/Purism/calls!5
2018-06-10 08:53:20 +00:00