diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-11-27 10:39:08 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-11-27 10:39:08 +0100 |
commit | e027b29ed6ce6eb04896605ccd727d4610986d67 (patch) | |
tree | 021baa5773d528c6e9904543f20979856c89e55d /src/conversation/gnunet-conversation-gtk_phone.c | |
parent | c840c86c74538679db6545a169a09599bda94533 (diff) | |
download | gnunet-gtk-e027b29ed6ce6eb04896605ccd727d4610986d67.tar.gz gnunet-gtk-e027b29ed6ce6eb04896605ccd727d4610986d67.zip |
eliminate tray icon functionality that was deprecated in Gtk
Diffstat (limited to 'src/conversation/gnunet-conversation-gtk_phone.c')
-rw-r--r-- | src/conversation/gnunet-conversation-gtk_phone.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/conversation/gnunet-conversation-gtk_phone.c b/src/conversation/gnunet-conversation-gtk_phone.c index b6844a84..a6cc9ff0 100644 --- a/src/conversation/gnunet-conversation-gtk_phone.c +++ b/src/conversation/gnunet-conversation-gtk_phone.c | |||
@@ -469,7 +469,6 @@ do_status () | |||
469 | { | 469 | { |
470 | GCG_update_status_bar (_("The phone is ringing (%u calls waiting)"), | 470 | GCG_update_status_bar (_("The phone is ringing (%u calls waiting)"), |
471 | in_ring_counter); | 471 | in_ring_counter); |
472 | GCG_set_status_icon ("gnunet-conversation-gtk-tray-call-incoming"); | ||
473 | return; | 472 | return; |
474 | } | 473 | } |
475 | if ( (NULL == active_in) && | 474 | if ( (NULL == active_in) && |
@@ -479,7 +478,6 @@ do_status () | |||
479 | { | 478 | { |
480 | GCG_update_status_bar ("%s", | 479 | GCG_update_status_bar ("%s", |
481 | _("We are listening for incoming calls")); | 480 | _("We are listening for incoming calls")); |
482 | GCG_set_status_icon ("gnunet-conversation-gtk-tray-available"); | ||
483 | } | 481 | } |
484 | else | 482 | else |
485 | { | 483 | { |
@@ -487,13 +485,11 @@ do_status () | |||
487 | { | 485 | { |
488 | GCG_update_status_bar ("%s", | 486 | GCG_update_status_bar ("%s", |
489 | _("No ego selected, phone is down.")); | 487 | _("No ego selected, phone is down.")); |
490 | GCG_set_status_icon ("gnunet-conversation-offline"); | ||
491 | } | 488 | } |
492 | else | 489 | else |
493 | { | 490 | { |
494 | GCG_update_status_bar ("%s", | 491 | GCG_update_status_bar ("%s", |
495 | _("Failed to setup phone (internal error)")); | 492 | _("Failed to setup phone (internal error)")); |
496 | GCG_set_status_icon ("gnunet-conversation-offline"); | ||
497 | } | 493 | } |
498 | } | 494 | } |
499 | return; | 495 | return; |
@@ -511,7 +507,6 @@ do_status () | |||
511 | case IN_STATE_CONNECTED: | 507 | case IN_STATE_CONNECTED: |
512 | GCG_update_status_bar (_("In a conversation with `%s'."), | 508 | GCG_update_status_bar (_("In a conversation with `%s'."), |
513 | active_in->caller_id_str); | 509 | active_in->caller_id_str); |
514 | GCG_set_status_icon ("gnunet-conversation-call-active"); | ||
515 | break; | 510 | break; |
516 | case IN_STATE_SUSPENDED_LOCAL: | 511 | case IN_STATE_SUSPENDED_LOCAL: |
517 | GNUNET_break (0); | 512 | GNUNET_break (0); |
@@ -519,7 +514,6 @@ do_status () | |||
519 | case IN_STATE_SUSPENDED_REMOTE: | 514 | case IN_STATE_SUSPENDED_REMOTE: |
520 | GCG_update_status_bar (_("On hold in a conversation with `%s'."), | 515 | GCG_update_status_bar (_("On hold in a conversation with `%s'."), |
521 | active_in->caller_id_str); | 516 | active_in->caller_id_str); |
522 | GCG_set_status_icon ("gnunet-conversation-call-on-hold"); | ||
523 | break; | 517 | break; |
524 | case IN_STATE_SUSPENDED_BOTH: | 518 | case IN_STATE_SUSPENDED_BOTH: |
525 | GNUNET_break (0); | 519 | GNUNET_break (0); |
@@ -537,17 +531,14 @@ do_status () | |||
537 | case OUT_STATE_RESOLVING: | 531 | case OUT_STATE_RESOLVING: |
538 | GCG_update_status_bar (_("Resolving `%s'."), | 532 | GCG_update_status_bar (_("Resolving `%s'."), |
539 | active_out->caller_id_str); | 533 | active_out->caller_id_str); |
540 | GCG_set_status_icon ("gnunet-conversation-gtk-tray-call-pending"); | ||
541 | break; | 534 | break; |
542 | case OUT_STATE_RINGING: | 535 | case OUT_STATE_RINGING: |
543 | GCG_update_status_bar (_("Calling `%s'."), | 536 | GCG_update_status_bar (_("Calling `%s'."), |
544 | active_out->caller_id_str); | 537 | active_out->caller_id_str); |
545 | GCG_set_status_icon ("gnunet-conversation-gtk-tray-call-ringing"); | ||
546 | break; | 538 | break; |
547 | case OUT_STATE_CONNECTED: | 539 | case OUT_STATE_CONNECTED: |
548 | GCG_update_status_bar (_("In a conversation with `%s'."), | 540 | GCG_update_status_bar (_("In a conversation with `%s'."), |
549 | active_out->caller_id_str); | 541 | active_out->caller_id_str); |
550 | GCG_set_status_icon ("gnunet-conversation-call-active"); | ||
551 | break; | 542 | break; |
552 | case OUT_STATE_SUSPENDED_LOCAL: | 543 | case OUT_STATE_SUSPENDED_LOCAL: |
553 | GNUNET_break (0); | 544 | GNUNET_break (0); |
@@ -555,7 +546,6 @@ do_status () | |||
555 | case OUT_STATE_SUSPENDED_REMOTE: | 546 | case OUT_STATE_SUSPENDED_REMOTE: |
556 | GCG_update_status_bar (_("On hold in a conversation with `%s'."), | 547 | GCG_update_status_bar (_("On hold in a conversation with `%s'."), |
557 | active_out->caller_id_str); | 548 | active_out->caller_id_str); |
558 | GCG_set_status_icon ("gnunet-conversation-call-on-hold"); | ||
559 | break; | 549 | break; |
560 | case OUT_STATE_SUSPENDED_BOTH: | 550 | case OUT_STATE_SUSPENDED_BOTH: |
561 | GNUNET_break (0); | 551 | GNUNET_break (0); |