System tray icon: Stop blinking when refusing an incoming call

This commit is contained in:
Emmanuel Milou
2008-04-01 14:09:47 -04:00
parent c9c26edcbf
commit 5e0f83a6f1
2 changed files with 2 additions and 2 deletions

View File

@ -196,6 +196,7 @@ sflphone_hang_up()
dbus_hang_up (selectedCall);
break;
case CALL_STATE_INCOMING:
status_tray_icon_blink();
dbus_refuse (selectedCall);
break;
case CALL_STATE_TRANSFERT:
@ -465,6 +466,7 @@ sflphone_keypad( guint keyval, gchar * key)
dbus_accept(c);
break;
case 65307: /* ESCAPE */
status_tray_icon_blink();
dbus_refuse(c);
break;
}

View File

@ -313,11 +313,9 @@ select_active_input_audio_device()
void
update_combo_box( gchar* plugin )
{
g_print("INSENSITIVE THE ALL THING\n");
// set insensitive the devices widget if the selected plugin is default
if( g_strcasecmp( plugin , "default" ) == 0)
{
g_print("INSENSITIVE THE ALL THING\n");
gtk_widget_set_sensitive( GTK_WIDGET ( outputDeviceComboBox ) , FALSE );
gtk_widget_set_sensitive( GTK_WIDGET ( inputDeviceComboBox ) , FALSE );
}