summaryrefslogtreecommitdiff
path: root/src/bin/e_ipc.c
diff options
context:
space:
mode:
authorDan Sinclair <dj2>2005-06-04 20:10:49 +0000
committerDan Sinclair <dj2@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2005-06-04 20:10:49 +0000
commit6b9c3385000aa796e9a9ddb019302ad4487d8d4b (patch)
tree30472366bfa766c7f2dd150567c67cd333955046 /src/bin/e_ipc.c
parent48da4edd293ea6f5b4c242b640bd8d5807a4efd3 (diff)
- add in the -dir-list-append/prepend/remove functions.
SVN revision: 15125
Diffstat (limited to 'src/bin/e_ipc.c')
-rw-r--r--src/bin/e_ipc.c271
1 files changed, 0 insertions, 271 deletions
diff --git a/src/bin/e_ipc.c b/src/bin/e_ipc.c
index 5619c3a..71834f9 100644
--- a/src/bin/e_ipc.c
+++ b/src/bin/e_ipc.c
@@ -491,277 +491,6 @@ _e_ipc_cb_client_data(void *data __UNUSED__, int type __UNUSED__, void *event)
491 e_config->zone_desks_y_count, 491 e_config->zone_desks_y_count,
492 E_IPC_OP_DESKS_GET_REPLY); 492 E_IPC_OP_DESKS_GET_REPLY);
493 break; 493 break;
494 case E_IPC_OP_MODULE_DIRS_APPEND:
495 {
496 char * dir;
497
498 dir = _e_ipc_simple_str_dec(e->data, e->size);
499 e_path_user_path_append(path_modules, dir);
500
501 free(dir);
502 e_config_save_queue();
503 break;
504 }
505 case E_IPC_OP_MODULE_DIRS_PREPEND:
506 {
507 char * dir;
508
509 dir = _e_ipc_simple_str_dec(e->data, e->size);
510 e_path_user_path_prepend(path_modules, dir);
511
512 free(dir);
513 e_config_save_queue();
514 break;
515 }
516 case E_IPC_OP_MODULE_DIRS_REMOVE:
517 {
518 char * dir;
519
520 dir = _e_ipc_simple_str_dec(e->data, e->size);
521 e_path_user_path_remove(path_modules, dir);
522
523 free(dir);
524 e_config_save_queue();
525 break;
526 }
527
528 case E_IPC_OP_THEME_DIRS_APPEND:
529 {
530 char * dir;
531
532 dir = _e_ipc_simple_str_dec(e->data, e->size);
533 e_path_user_path_append(path_themes, dir);
534
535 free(dir);
536 e_config_save_queue();
537 break;
538 }
539 case E_IPC_OP_THEME_DIRS_PREPEND:
540 {
541 char * dir;
542
543 dir = _e_ipc_simple_str_dec(e->data, e->size);
544 e_path_user_path_prepend(path_themes, dir);
545
546 free(dir);
547 e_config_save_queue();
548 break;
549 }
550 case E_IPC_OP_THEME_DIRS_REMOVE:
551 {
552 char * dir;
553
554 dir = _e_ipc_simple_str_dec(e->data, e->size);
555 e_path_user_path_remove(path_themes, dir);
556
557 free(dir);
558 e_config_save_queue();
559 break;
560 }
561
562 case E_IPC_OP_FONT_DIRS_APPEND:
563 {
564 char * dir;
565
566 dir = _e_ipc_simple_str_dec(e->data, e->size);
567 e_path_user_path_append(path_fonts, dir);
568
569 free(dir);
570 e_config_save_queue();
571 break;
572 }
573 case E_IPC_OP_FONT_DIRS_PREPEND:
574 {
575 char * dir;
576
577 dir = _e_ipc_simple_str_dec(e->data, e->size);
578 e_path_user_path_prepend(path_fonts, dir);
579
580 free(dir);
581 e_config_save_queue();
582 break;
583 }
584 case E_IPC_OP_FONT_DIRS_REMOVE:
585 {
586 char * dir;
587
588 dir = _e_ipc_simple_str_dec(e->data, e->size);
589 e_path_user_path_remove(path_fonts, dir);
590
591 free(dir);
592 e_config_save_queue();
593 break;
594 }
595
596 case E_IPC_OP_DATA_DIRS_APPEND:
597 {
598 char * dir;
599
600 dir = _e_ipc_simple_str_dec(e->data, e->size);
601 e_path_user_path_append(path_data, dir);
602
603 free(dir);
604 e_config_save_queue();
605 break;
606 }
607 case E_IPC_OP_DATA_DIRS_PREPEND:
608 {
609 char * dir;
610
611 dir = _e_ipc_simple_str_dec(e->data, e->size);
612 e_path_user_path_prepend(path_data, dir);
613
614 free(dir);
615 e_config_save_queue();
616 break;
617 }
618 case E_IPC_OP_DATA_DIRS_REMOVE:
619 {
620 char * dir;
621
622 dir = _e_ipc_simple_str_dec(e->data, e->size);
623 e_path_user_path_remove(path_data, dir);
624
625 free(dir);
626 e_config_save_queue();
627 break;
628 }
629
630 case E_IPC_OP_IMAGE_DIRS_APPEND:
631 {
632 char * dir;
633
634 dir = _e_ipc_simple_str_dec(e->data, e->size);
635 e_path_user_path_append(path_images, dir);
636
637 free(dir);
638 e_config_save_queue();
639 break;
640 }
641 case E_IPC_OP_IMAGE_DIRS_PREPEND:
642 {
643 char * dir;
644
645 dir = _e_ipc_simple_str_dec(e->data, e->size);
646 e_path_user_path_prepend(path_images, dir);
647
648 free(dir);
649 e_config_save_queue();
650 break;
651 }
652 case E_IPC_OP_IMAGE_DIRS_REMOVE:
653 {
654 char * dir;
655
656 dir = _e_ipc_simple_str_dec(e->data, e->size);
657 e_path_user_path_remove(path_images, dir);
658
659 free(dir);
660 e_config_save_queue();
661 break;
662 }
663
664 case E_IPC_OP_INIT_DIRS_APPEND:
665 {
666 char * dir;
667
668 dir = _e_ipc_simple_str_dec(e->data, e->size);
669 e_path_user_path_append(path_init, dir);
670
671 free(dir);
672 e_config_save_queue();
673 break;
674 }
675 case E_IPC_OP_INIT_DIRS_PREPEND:
676 {
677 char * dir;
678
679 dir = _e_ipc_simple_str_dec(e->data, e->size);
680 e_path_user_path_prepend(path_init, dir);
681
682 free(dir);
683 e_config_save_queue();
684 break;
685 }
686 case E_IPC_OP_INIT_DIRS_REMOVE:
687 {
688 char * dir;
689
690 dir = _e_ipc_simple_str_dec(e->data, e->size);
691 e_path_user_path_remove(path_init, dir);
692
693 free(dir);
694 e_config_save_queue();
695 break;
696 }
697
698 case E_IPC_OP_ICON_DIRS_APPEND:
699 {
700 char * dir;
701
702 dir = _e_ipc_simple_str_dec(e->data, e->size);
703 e_path_user_path_append(path_icons, dir);
704
705 free(dir);
706 e_config_save_queue();
707 break;
708 }
709 case E_IPC_OP_ICON_DIRS_PREPEND:
710 {
711 char * dir;
712
713 dir = _e_ipc_simple_str_dec(e->data, e->size);
714 e_path_user_path_prepend(path_icons, dir);
715
716 free(dir);
717 e_config_save_queue();
718 break;
719 }
720 case E_IPC_OP_ICON_DIRS_REMOVE:
721 {
722 char * dir;
723
724 dir = _e_ipc_simple_str_dec(e->data, e->size);
725 e_path_user_path_remove(path_icons, dir);
726
727 free(dir);
728 e_config_save_queue();
729 break;
730 }
731
732 case E_IPC_OP_BG_DIRS_APPEND:
733 {
734 char * dir;
735
736 dir = _e_ipc_simple_str_dec(e->data, e->size);
737 e_path_user_path_append(path_backgrounds, dir);
738
739 free(dir);
740 e_config_save_queue();
741 break;
742 }
743 case E_IPC_OP_BG_DIRS_PREPEND:
744 {
745 char * dir;
746
747 dir = _e_ipc_simple_str_dec(e->data, e->size);
748 e_path_user_path_prepend(path_backgrounds, dir);
749
750 free(dir);
751 e_config_save_queue();
752 break;
753 }
754 case E_IPC_OP_BG_DIRS_REMOVE:
755 {
756 char * dir;
757
758 dir = _e_ipc_simple_str_dec(e->data, e->size);
759 e_path_user_path_remove(path_backgrounds, dir);
760
761 free(dir);
762 e_config_save_queue();
763 break;
764 }
765#endif 494#endif
766 default: 495 default:
767 break; 496 break;