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
9946a685
Commit
9946a685
authored
13 years ago
by
Alexandre Savard
Browse files
Options
Downloads
Patches
Plain Diff
#10725: No need of playback related callbacks in uimanager
parent
ed02d8f7
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
gnome/src/uimanager.c
+0
-53
0 additions, 53 deletions
gnome/src/uimanager.c
with
0 additions
and
53 deletions
gnome/src/uimanager.c
+
0
−
53
View file @
9946a685
...
...
@@ -797,50 +797,6 @@ call_record(void)
sflphone_rec_call
();
}
static
void
start_playback_record_cb
(
void
)
{
DEBUG
(
"Start playback button pressed"
);
callable_obj_t
*
selectedCall
=
calltab_get_selected_call
(
history_tab
);
if
(
selectedCall
==
NULL
)
{
ERROR
(
"No selected object in playback record callback"
);
return
;
}
DEBUG
(
"Start selected call file playback %s"
,
selectedCall
->
_recordfile
);
selectedCall
->
_record_is_playing
=
dbus_start_recorded_file_playback
(
selectedCall
->
_recordfile
);
update_actions
();
}
static
void
stop_playback_record_cb
(
void
)
{
DEBUG
(
"Stop playback button pressed"
);
callable_obj_t
*
selectedCall
=
calltab_get_selected_call
(
history_tab
);
if
(
selectedCall
==
NULL
)
{
ERROR
(
"No selected object in history treeview"
);
return
;
}
if
(
selectedCall
)
{
if
(
selectedCall
->
_recordfile
==
NULL
)
{
ERROR
(
"Record file is NULL"
);
return
;
}
dbus_stop_recorded_file_playback
(
selectedCall
->
_recordfile
);
DEBUG
(
"Stop selected call file playback %s"
,
selectedCall
->
_recordfile
);
selectedCall
->
_record_is_playing
=
FALSE
;
}
update_actions
();
}
static
void
call_configuration_assistant
(
void
*
foo
UNUSED
)
{
...
...
@@ -1106,15 +1062,6 @@ static const GtkActionEntry menu_entries[] = {
"Quit"
,
GTK_STOCK_CLOSE
,
N_
(
"_Quit"
),
"<control>Q"
,
N_
(
"Quit the program"
),
G_CALLBACK
(
call_quit
)
},
{
// "StartPlaybackRecord", GTK_STOCK_MEDIA_PLAY, N_("_Playback record"), NULL,
"StartPlaybackRecord"
,
"OK"
,
N_
(
"_Playback record"
),
NULL
,
N_
(
"Playback recorded file"
),
G_CALLBACK
(
start_playback_record_cb
)
},
{
"StopPlaybackRecord"
,
"AH"
,
N_
(
"_Stop playback"
),
NULL
,
N_
(
"Stop recorded file playback"
),
G_CALLBACK
(
stop_playback_record_cb
)
},
// Edit Menu
{
"Edit"
,
NULL
,
N_
(
"_Edit"
),
NULL
,
NULL
,
NULL
},
...
...
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