Mercurial > hg > xmms-sid
comparison src/xs_config.c @ 582:f58eb35438c6
Outline plans for rest of the filter config functionality in comments;
Suppress unused argument warnings.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 20 Mar 2007 22:27:01 +0000 |
parents | 6b2c682cc0a8 |
children | f63a50ec456c |
comparison
equal
deleted
inserted
replaced
581:18b34952131d | 582:f58eb35438c6 |
---|---|
788 } | 788 } |
789 | 789 |
790 | 790 |
791 void xs_cfg_sp2_filter_load(GtkButton *button, gpointer user_data) | 791 void xs_cfg_sp2_filter_load(GtkButton *button, gpointer user_data) |
792 { | 792 { |
793 (void) button; | |
794 (void) user_data; | |
795 /* | |
796 1) get currently selected item from dropdown | |
797 2) set current filter to that | |
798 */ | |
793 } | 799 } |
794 | 800 |
795 | 801 |
796 void xs_cfg_sp2_filter_save(GtkButton *button, gpointer user_data) | 802 void xs_cfg_sp2_filter_save(GtkButton *button, gpointer user_data) |
797 { | 803 { |
804 (void) button; | |
805 (void) user_data; | |
806 /* | |
807 1) check if textentry matches any current filter name | |
808 yes) ask if saving over ok? | |
809 no) ... | |
810 | |
811 2) save current filter to the name | |
812 */ | |
798 } | 813 } |
799 | 814 |
800 | 815 |
801 void xs_cfg_sp2_filter_delete(GtkButton *button, gpointer user_data) | 816 void xs_cfg_sp2_filter_delete(GtkButton *button, gpointer user_data) |
802 { | 817 { |
818 (void) button; | |
819 (void) user_data; | |
820 /* | |
821 1) confirm | |
822 2) delete | |
823 */ | |
803 } | 824 } |
804 | 825 |
805 | 826 |
806 void xs_cfg_sp2_filter_import(GtkButton *button, gpointer user_data) | 827 void xs_cfg_sp2_filter_import(GtkButton *button, gpointer user_data) |
807 { | 828 { |
829 (void) button; | |
830 (void) user_data; | |
831 /* | |
832 1) file selection dialog | |
833 2) import | |
834 3) change name if already existing | |
835 */ | |
808 } | 836 } |
809 | 837 |
810 | 838 |
811 void xs_cfg_sp2_filter_export(GtkButton *button, gpointer user_data) | 839 void xs_cfg_sp2_filter_export(GtkButton *button, gpointer user_data) |
812 { | 840 { |
841 (void) button; | |
842 (void) user_data; | |
843 /* | |
844 1) file selection dialog | |
845 2) export | |
846 */ | |
813 } | 847 } |
814 | 848 |
815 | 849 |
816 void xs_filter_import_fs_ok(GtkButton *button, gpointer user_data) | 850 void xs_filter_import_fs_ok(GtkButton *button, gpointer user_data) |
817 { | 851 { |
852 (void) button; | |
853 (void) user_data; | |
818 } | 854 } |
819 | 855 |
820 | 856 |
821 void xs_filter_import_fs_cancel(GtkButton *button, gpointer user_data) | 857 void xs_filter_import_fs_cancel(GtkButton *button, gpointer user_data) |
822 { | 858 { |
859 (void) button; | |
860 (void) user_data; | |
823 } | 861 } |
824 | 862 |
825 | 863 |
826 void xs_filter_export_fs_ok(GtkButton *button, gpointer user_data) | 864 void xs_filter_export_fs_ok(GtkButton *button, gpointer user_data) |
827 { | 865 { |
866 (void) button; | |
867 (void) user_data; | |
828 } | 868 } |
829 | 869 |
830 | 870 |
831 void xs_filter_export_fs_cancel(GtkButton *button, gpointer user_data) | 871 void xs_filter_export_fs_cancel(GtkButton *button, gpointer user_data) |
832 { | 872 { |
873 (void) button; | |
874 (void) user_data; | |
833 } | 875 } |
834 | 876 |
835 | 877 |
836 /* Selection toggle handlers | 878 /* Selection toggle handlers |
837 */ | 879 */ |