Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
a6acc98e
Commit
a6acc98e
authored
13 years ago
by
Alexandre Savard
Browse files
Options
Downloads
Patches
Plain Diff
#6109: Implement playback recorded file callback in client
parent
cce146f5
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
sflphone-client-gnome/src/uimanager.c
+15
-3
15 additions, 3 deletions
sflphone-client-gnome/src/uimanager.c
sflphone-common/src/history/historyitem.cpp
+2
-0
2 additions, 0 deletions
sflphone-common/src/history/historyitem.cpp
with
17 additions
and
3 deletions
sflphone-client-gnome/src/uimanager.c
+
15
−
3
View file @
a6acc98e
...
...
@@ -715,10 +715,22 @@ call_record (void)
}
static
void
playback_record
(
void
)
playback_record
_cb
(
void
)
{
DEBUG
(
"UIManager: Playback button pressed"
);
callable_obj_t
*
selectedCall
=
calltab_get_selected_call
(
history
);
conference_obj_t
*
selectedConf
=
calltab_get_selected_conf
(
history
);
if
((
selectedCall
==
NULL
)
&&
(
selectedConf
==
NULL
))
{
ERROR
(
"UIManager: Error: No selected object in playback record callback"
);
return
;
}
if
(
selectedCall
)
dbus_start_recorded_file_playback
(
selectedCall
->
_recordfile
);
else
if
(
selectedConf
)
dbus_start_recorded_file_playback
(
selectedConf
->
_recordfile
);
}
static
void
...
...
@@ -989,7 +1001,7 @@ static const GtkActionEntry menu_entries[] = {
{
"Quit"
,
GTK_STOCK_CLOSE
,
N_
(
"_Quit"
),
"<control>Q"
,
N_
(
"Quit the program"
),
G_CALLBACK
(
call_quit
)
},
{
"PlayRecord"
,
GTK_STOCK_MEDIA_PLAY
,
N_
(
"_Playback record"
),
NULL
,
N_
(
"Playback recorded file"
),
G_CALLBACK
(
playback_record
)
},
N_
(
"Playback recorded file"
),
G_CALLBACK
(
playback_record
_cb
)
},
// Edit Menu
{
"Edit"
,
NULL
,
N_
(
"_Edit"
),
NULL
,
NULL
,
NULL
},
...
...
This diff is collapsed.
Click to expand it.
sflphone-common/src/history/historyitem.cpp
+
2
−
0
View file @
a6acc98e
...
...
@@ -127,6 +127,8 @@ HistoryItem::HistoryItem (std::string serialized_form)
_confID
=
confID
;
_timeAdded
=
timeAdded
;
_recording_file
=
recordFile
;
}
HistoryItem
::~
HistoryItem
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment