Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
e70a25bc
Commit
e70a25bc
authored
Mar 27, 2012
by
Alexandre Savard
Browse files
#9560: Mute icon displayed on active calls only
parent
705a931a
Changes
1
Hide whitespace changes
Inline
Side-by-side
gnome/src/uimanager.c
View file @
e70a25bc
...
...
@@ -201,7 +201,6 @@ update_actions()
GtkToolItem
*
separator
=
gtk_separator_tool_item_new
();
gtk_toolbar_insert
(
GTK_TOOLBAR
(
toolbar_
),
separator
,
-
1
);
// add mute button
add_to_toolbar
(
toolbar_
,
muteWidget_
,
-
1
);
gtk_action_set_sensitive
(
muteAction_
,
TRUE
);
// If addressbook support has been enabled and all addressbooks are loaded, display the icon
...
...
@@ -244,6 +243,7 @@ update_actions()
pos
=
0
;
add_to_toolbar
(
toolbar_
,
pickUpWidget_
,
pos
++
);
add_to_toolbar
(
toolbar_
,
hangUpWidget_
,
pos
++
);
add_to_toolbar
(
toolbar_
,
muteWidget_
,
pos
++
);
break
;
}
case
CALL_STATE_HOLD
:
...
...
@@ -273,6 +273,7 @@ update_actions()
gtk_action_set_sensitive
(
hangUpAction_
,
TRUE
);
pos
=
1
;
add_to_toolbar
(
toolbar_
,
hangUpWidget_
,
pos
++
);
add_to_toolbar
(
toolbar_
,
muteWidget_
,
pos
++
);
break
;
}
case
CALL_STATE_DIALING
:
...
...
@@ -324,6 +325,7 @@ update_actions()
gtk_action_set_sensitive
(
imAction_
,
TRUE
);
add_to_toolbar
(
toolbar_
,
imToolbar_
,
pos
++
);
}
add_to_toolbar
(
toolbar_
,
muteWidget_
,
pos
++
);
break
;
}
...
...
@@ -352,6 +354,7 @@ update_actions()
gtk_action_set_sensitive
(
imAction_
,
TRUE
);
add_to_toolbar
(
toolbar_
,
imToolbar_
,
pos
++
);
}
add_to_toolbar
(
toolbar_
,
muteWidget_
,
pos
++
);
break
;
}
...
...
@@ -376,6 +379,7 @@ update_actions()
gtk_widget_set_sensitive
(
holdMenu_
,
TRUE
);
gtk_widget_set_sensitive
(
holdToolbar_
,
TRUE
);
gtk_widget_set_sensitive
(
transferToolbar_
,
TRUE
);
add_to_toolbar
(
toolbar_
,
muteWidget_
,
pos
++
);
break
;
}
default:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment