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
3953fce2
Commit
3953fce2
authored
12 years ago
by
Tristan Matthews
Browse files
Options
Downloads
Patches
Plain Diff
* #10736: calltree: cleanup
parent
c59b45dd
No related branches found
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gnome/src/contacts/calltree.c
+6
-6
6 additions, 6 deletions
gnome/src/contacts/calltree.c
gnome/src/contacts/calltree.h
+1
-14
1 addition, 14 deletions
gnome/src/contacts/calltree.h
with
7 additions
and
20 deletions
gnome/src/contacts/calltree.c
+
6
−
6
View file @
3953fce2
...
...
@@ -147,11 +147,11 @@ call_selected_cb(GtkTreeSelection *sel, void* data UNUSED)
}
/* A row is activated when it is double clicked */
void
row_activated
(
GtkTreeView
*
tree_view
UNUSED
,
GtkTreePath
*
path
UNUSED
,
GtkTreeViewColumn
*
column
UNUSED
,
void
*
data
UNUSED
)
static
void
row_activated
_cb
(
GtkTreeView
*
tree_view
UNUSED
,
GtkTreePath
*
path
UNUSED
,
GtkTreeViewColumn
*
column
UNUSED
,
void
*
data
UNUSED
)
{
if
(
calltab_get_selected_type
(
active_calltree_tab
)
==
A_CALL
)
{
DEBUG
(
"Selected a call"
);
...
...
@@ -403,7 +403,7 @@ calltree_create(calltab_t* tab, int searchbar_type)
gtk_tree_view_set_enable_search
(
GTK_TREE_VIEW
(
tab
->
view
),
FALSE
);
gtk_tree_view_set_headers_visible
(
GTK_TREE_VIEW
(
tab
->
view
),
FALSE
);
g_signal_connect
(
G_OBJECT
(
tab
->
view
),
"row-activated"
,
G_CALLBACK
(
row_activated
),
G_CALLBACK
(
row_activated
_cb
),
NULL
);
gtk_widget_set_can_focus
(
calltree_sw
,
TRUE
);
...
...
This diff is collapsed.
Click to expand it.
gnome/src/contacts/calltree.h
+
1
−
14
View file @
3953fce2
...
...
@@ -35,12 +35,10 @@
/** @file calltree.h
* @brief The GtkTreeView that list calls in the main window.
*/
typedef
enum
{
A_CALL
,
A_CONFERENCE
,
A_INVALID
}
CallType
;
}
CallType
;
/**
* Tags used to identify display type in calltree
...
...
@@ -102,21 +100,10 @@ calltree_remove_conference(calltab_t *, const conference_obj_t *);
void
calltree_display
(
calltab_t
*
);
void
row_activated
(
GtkTreeView
*
,
GtkTreePath
*
,
GtkTreeViewColumn
*
,
void
*
);
/**
* Update elapsed time based on selected calltree's call
*/
gboolean
calltree_update_clock
(
gpointer
);
/**
* @param The calltab (current_calls, history, contacts)
* @param The call
* @param The callID/confID
*/
void
calltree_
(
calltab_t
*
,
callable_obj_t
*
,
const
gchar
*
const
);
#endif
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