Browse Source

about window implemented

Enrico Tassi 11 years ago
parent
commit
32a3439090
2 changed files with 712 additions and 1 deletions
  1. 707
    0
      smd-applet.ui
  2. 5
    1
      smd-applet.vala

+ 707
- 0
smd-applet.ui View File

@@ -477,4 +477,711 @@
477 477
       </object>
478 478
     </child>
479 479
   </object>
480
+  <object class="GtkAboutDialog" id="wAbout">
481
+    <property name="border_width">5</property>
482
+    <property name="type_hint">normal</property>
483
+    <property name="has_separator">False</property>
484
+    <property name="program_name">Sync Mail Dir</property>
485
+    <property name="copyright" translatable="yes">Copyright 2009 Enrico Tassi &lt;gares@fettunta.org&gt;</property>
486
+    <property name="comments" translatable="yes">GNOME applet for syncmaildir</property>
487
+    <property name="website">http://syncmaildir.sourceforge.net</property>
488
+    <property name="license" translatable="yes">
489
+		    GNU GENERAL PUBLIC LICENSE
490
+		       Version 3, 29 June 2007
491
+
492
+ Copyright (C) 2007 Free Software Foundation, Inc. &lt;http://fsf.org/&gt;
493
+ Everyone is permitted to copy and distribute verbatim copies
494
+ of this license document, but changing it is not allowed.
495
+
496
+			    Preamble
497
+
498
+  The GNU General Public License is a free, copyleft license for
499
+software and other kinds of works.
500
+
501
+  The licenses for most software and other practical works are designed
502
+to take away your freedom to share and change the works.  By contrast,
503
+the GNU General Public License is intended to guarantee your freedom to
504
+share and change all versions of a program--to make sure it remains free
505
+software for all its users.  We, the Free Software Foundation, use the
506
+GNU General Public License for most of our software; it applies also to
507
+any other work released this way by its authors.  You can apply it to
508
+your programs, too.
509
+
510
+  When we speak of free software, we are referring to freedom, not
511
+price.  Our General Public Licenses are designed to make sure that you
512
+have the freedom to distribute copies of free software (and charge for
513
+them if you wish), that you receive source code or can get it if you
514
+want it, that you can change the software or use pieces of it in new
515
+free programs, and that you know you can do these things.
516
+
517
+  To protect your rights, we need to prevent others from denying you
518
+these rights or asking you to surrender the rights.  Therefore, you have
519
+certain responsibilities if you distribute copies of the software, or if
520
+you modify it: responsibilities to respect the freedom of others.
521
+
522
+  For example, if you distribute copies of such a program, whether
523
+gratis or for a fee, you must pass on to the recipients the same
524
+freedoms that you received.  You must make sure that they, too, receive
525
+or can get the source code.  And you must show them these terms so they
526
+know their rights.
527
+
528
+  Developers that use the GNU GPL protect your rights with two steps:
529
+(1) assert copyright on the software, and (2) offer you this License
530
+giving you legal permission to copy, distribute and/or modify it.
531
+
532
+  For the developers' and authors' protection, the GPL clearly explains
533
+that there is no warranty for this free software.  For both users' and
534
+authors' sake, the GPL requires that modified versions be marked as
535
+changed, so that their problems will not be attributed erroneously to
536
+authors of previous versions.
537
+
538
+  Some devices are designed to deny users access to install or run
539
+modified versions of the software inside them, although the manufacturer
540
+can do so.  This is fundamentally incompatible with the aim of
541
+protecting users' freedom to change the software.  The systematic
542
+pattern of such abuse occurs in the area of products for individuals to
543
+use, which is precisely where it is most unacceptable.  Therefore, we
544
+have designed this version of the GPL to prohibit the practice for those
545
+products.  If such problems arise substantially in other domains, we
546
+stand ready to extend this provision to those domains in future versions
547
+of the GPL, as needed to protect the freedom of users.
548
+
549
+  Finally, every program is threatened constantly by software patents.
550
+States should not allow patents to restrict development and use of
551
+software on general-purpose computers, but in those that do, we wish to
552
+avoid the special danger that patents applied to a free program could
553
+make it effectively proprietary.  To prevent this, the GPL assures that
554
+patents cannot be used to render the program non-free.
555
+
556
+  The precise terms and conditions for copying, distribution and
557
+modification follow.
558
+
559
+		       TERMS AND CONDITIONS
560
+
561
+  0. Definitions.
562
+
563
+  "This License" refers to version 3 of the GNU General Public License.
564
+
565
+  "Copyright" also means copyright-like laws that apply to other kinds of
566
+works, such as semiconductor masks.
567
+ 
568
+  "The Program" refers to any copyrightable work licensed under this
569
+License.  Each licensee is addressed as "you".  "Licensees" and
570
+"recipients" may be individuals or organizations.
571
+
572
+  To "modify" a work means to copy from or adapt all or part of the work
573
+in a fashion requiring copyright permission, other than the making of an
574
+exact copy.  The resulting work is called a "modified version" of the
575
+earlier work or a work "based on" the earlier work.
576
+
577
+  A "covered work" means either the unmodified Program or a work based
578
+on the Program.
579
+
580
+  To "propagate" a work means to do anything with it that, without
581
+permission, would make you directly or secondarily liable for
582
+infringement under applicable copyright law, except executing it on a
583
+computer or modifying a private copy.  Propagation includes copying,
584
+distribution (with or without modification), making available to the
585
+public, and in some countries other activities as well.
586
+
587
+  To "convey" a work means any kind of propagation that enables other
588
+parties to make or receive copies.  Mere interaction with a user through
589
+a computer network, with no transfer of a copy, is not conveying.
590
+
591
+  An interactive user interface displays "Appropriate Legal Notices"
592
+to the extent that it includes a convenient and prominently visible
593
+feature that (1) displays an appropriate copyright notice, and (2)
594
+tells the user that there is no warranty for the work (except to the
595
+extent that warranties are provided), that licensees may convey the
596
+work under this License, and how to view a copy of this License.  If
597
+the interface presents a list of user commands or options, such as a
598
+menu, a prominent item in the list meets this criterion.
599
+
600
+  1. Source Code.
601
+
602
+  The "source code" for a work means the preferred form of the work
603
+for making modifications to it.  "Object code" means any non-source
604
+form of a work.
605
+
606
+  A "Standard Interface" means an interface that either is an official
607
+standard defined by a recognized standards body, or, in the case of
608
+interfaces specified for a particular programming language, one that
609
+is widely used among developers working in that language.
610
+
611
+  The "System Libraries" of an executable work include anything, other
612
+than the work as a whole, that (a) is included in the normal form of
613
+packaging a Major Component, but which is not part of that Major
614
+Component, and (b) serves only to enable use of the work with that
615
+Major Component, or to implement a Standard Interface for which an
616
+implementation is available to the public in source code form.  A
617
+"Major Component", in this context, means a major essential component
618
+(kernel, window system, and so on) of the specific operating system
619
+(if any) on which the executable work runs, or a compiler used to
620
+produce the work, or an object code interpreter used to run it.
621
+
622
+  The "Corresponding Source" for a work in object code form means all
623
+the source code needed to generate, install, and (for an executable
624
+work) run the object code and to modify the work, including scripts to
625
+control those activities.  However, it does not include the work's
626
+System Libraries, or general-purpose tools or generally available free
627
+programs which are used unmodified in performing those activities but
628
+which are not part of the work.  For example, Corresponding Source
629
+includes interface definition files associated with source files for
630
+the work, and the source code for shared libraries and dynamically
631
+linked subprograms that the work is specifically designed to require,
632
+such as by intimate data communication or control flow between those
633
+subprograms and other parts of the work.
634
+
635
+  The Corresponding Source need not include anything that users
636
+can regenerate automatically from other parts of the Corresponding
637
+Source.
638
+
639
+  The Corresponding Source for a work in source code form is that
640
+same work.
641
+
642
+  2. Basic Permissions.
643
+
644
+  All rights granted under this License are granted for the term of
645
+copyright on the Program, and are irrevocable provided the stated
646
+conditions are met.  This License explicitly affirms your unlimited
647
+permission to run the unmodified Program.  The output from running a
648
+covered work is covered by this License only if the output, given its
649
+content, constitutes a covered work.  This License acknowledges your
650
+rights of fair use or other equivalent, as provided by copyright law.
651
+
652
+  You may make, run and propagate covered works that you do not
653
+convey, without conditions so long as your license otherwise remains
654
+in force.  You may convey covered works to others for the sole purpose
655
+of having them make modifications exclusively for you, or provide you
656
+with facilities for running those works, provided that you comply with
657
+the terms of this License in conveying all material for which you do
658
+not control copyright.  Those thus making or running the covered works
659
+for you must do so exclusively on your behalf, under your direction
660
+and control, on terms that prohibit them from making any copies of
661
+your copyrighted material outside their relationship with you.
662
+
663
+  Conveying under any other circumstances is permitted solely under
664
+the conditions stated below.  Sublicensing is not allowed; section 10
665
+makes it unnecessary.
666
+
667
+  3. Protecting Users' Legal Rights From Anti-Circumvention Law.
668
+
669
+  No covered work shall be deemed part of an effective technological
670
+measure under any applicable law fulfilling obligations under article
671
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
672
+similar laws prohibiting or restricting circumvention of such
673
+measures.
674
+
675
+  When you convey a covered work, you waive any legal power to forbid
676
+circumvention of technological measures to the extent such circumvention
677
+is effected by exercising rights under this License with respect to
678
+the covered work, and you disclaim any intention to limit operation or
679
+modification of the work as a means of enforcing, against the work's
680
+users, your or third parties' legal rights to forbid circumvention of
681
+technological measures.
682
+
683
+  4. Conveying Verbatim Copies.
684
+
685
+  You may convey verbatim copies of the Program's source code as you
686
+receive it, in any medium, provided that you conspicuously and
687
+appropriately publish on each copy an appropriate copyright notice;
688
+keep intact all notices stating that this License and any
689
+non-permissive terms added in accord with section 7 apply to the code;
690
+keep intact all notices of the absence of any warranty; and give all
691
+recipients a copy of this License along with the Program.
692
+
693
+  You may charge any price or no price for each copy that you convey,
694
+and you may offer support or warranty protection for a fee.
695
+
696
+  5. Conveying Modified Source Versions.
697
+
698
+  You may convey a work based on the Program, or the modifications to
699
+produce it from the Program, in the form of source code under the
700
+terms of section 4, provided that you also meet all of these conditions:
701
+
702
+    a) The work must carry prominent notices stating that you modified
703
+    it, and giving a relevant date.
704
+
705
+    b) The work must carry prominent notices stating that it is
706
+    released under this License and any conditions added under section
707
+    7.  This requirement modifies the requirement in section 4 to
708
+    "keep intact all notices".
709
+
710
+    c) You must license the entire work, as a whole, under this
711
+    License to anyone who comes into possession of a copy.  This
712
+    License will therefore apply, along with any applicable section 7
713
+    additional terms, to the whole of the work, and all its parts,
714
+    regardless of how they are packaged.  This License gives no
715
+    permission to license the work in any other way, but it does not
716
+    invalidate such permission if you have separately received it.
717
+
718
+    d) If the work has interactive user interfaces, each must display
719
+    Appropriate Legal Notices; however, if the Program has interactive
720
+    interfaces that do not display Appropriate Legal Notices, your
721
+    work need not make them do so.
722
+
723
+  A compilation of a covered work with other separate and independent
724
+works, which are not by their nature extensions of the covered work,
725
+and which are not combined with it such as to form a larger program,
726
+in or on a volume of a storage or distribution medium, is called an
727
+"aggregate" if the compilation and its resulting copyright are not
728
+used to limit the access or legal rights of the compilation's users
729
+beyond what the individual works permit.  Inclusion of a covered work
730
+in an aggregate does not cause this License to apply to the other
731
+parts of the aggregate.
732
+
733
+  6. Conveying Non-Source Forms.
734
+
735
+  You may convey a covered work in object code form under the terms
736
+of sections 4 and 5, provided that you also convey the
737
+machine-readable Corresponding Source under the terms of this License,
738
+in one of these ways:
739
+
740
+    a) Convey the object code in, or embodied in, a physical product
741
+    (including a physical distribution medium), accompanied by the
742
+    Corresponding Source fixed on a durable physical medium
743
+    customarily used for software interchange.
744
+
745
+    b) Convey the object code in, or embodied in, a physical product
746
+    (including a physical distribution medium), accompanied by a
747
+    written offer, valid for at least three years and valid for as
748
+    long as you offer spare parts or customer support for that product
749
+    model, to give anyone who possesses the object code either (1) a
750
+    copy of the Corresponding Source for all the software in the
751
+    product that is covered by this License, on a durable physical
752
+    medium customarily used for software interchange, for a price no
753
+    more than your reasonable cost of physically performing this
754
+    conveying of source, or (2) access to copy the
755
+    Corresponding Source from a network server at no charge.
756
+
757
+    c) Convey individual copies of the object code with a copy of the
758
+    written offer to provide the Corresponding Source.  This
759
+    alternative is allowed only occasionally and noncommercially, and
760
+    only if you received the object code with such an offer, in accord
761
+    with subsection 6b.
762
+
763
+    d) Convey the object code by offering access from a designated
764
+    place (gratis or for a charge), and offer equivalent access to the
765
+    Corresponding Source in the same way through the same place at no
766
+    further charge.  You need not require recipients to copy the
767
+    Corresponding Source along with the object code.  If the place to
768
+    copy the object code is a network server, the Corresponding Source
769
+    may be on a different server (operated by you or a third party)
770
+    that supports equivalent copying facilities, provided you maintain
771
+    clear directions next to the object code saying where to find the
772
+    Corresponding Source.  Regardless of what server hosts the
773
+    Corresponding Source, you remain obligated to ensure that it is
774
+    available for as long as needed to satisfy these requirements.
775
+
776
+    e) Convey the object code using peer-to-peer transmission, provided
777
+    you inform other peers where the object code and Corresponding
778
+    Source of the work are being offered to the general public at no
779
+    charge under subsection 6d.
780
+
781
+  A separable portion of the object code, whose source code is excluded
782
+from the Corresponding Source as a System Library, need not be
783
+included in conveying the object code work.
784
+
785
+  A "User Product" is either (1) a "consumer product", which means any
786
+tangible personal property which is normally used for personal, family,
787
+or household purposes, or (2) anything designed or sold for incorporation
788
+into a dwelling.  In determining whether a product is a consumer product,
789
+doubtful cases shall be resolved in favor of coverage.  For a particular
790
+product received by a particular user, "normally used" refers to a
791
+typical or common use of that class of product, regardless of the status
792
+of the particular user or of the way in which the particular user
793
+actually uses, or expects or is expected to use, the product.  A product
794
+is a consumer product regardless of whether the product has substantial
795
+commercial, industrial or non-consumer uses, unless such uses represent
796
+the only significant mode of use of the product.
797
+
798
+  "Installation Information" for a User Product means any methods,
799
+procedures, authorization keys, or other information required to install
800
+and execute modified versions of a covered work in that User Product from
801
+a modified version of its Corresponding Source.  The information must
802
+suffice to ensure that the continued functioning of the modified object
803
+code is in no case prevented or interfered with solely because
804
+modification has been made.
805
+
806
+  If you convey an object code work under this section in, or with, or
807
+specifically for use in, a User Product, and the conveying occurs as
808
+part of a transaction in which the right of possession and use of the
809
+User Product is transferred to the recipient in perpetuity or for a
810
+fixed term (regardless of how the transaction is characterized), the
811
+Corresponding Source conveyed under this section must be accompanied
812
+by the Installation Information.  But this requirement does not apply
813
+if neither you nor any third party retains the ability to install
814
+modified object code on the User Product (for example, the work has
815
+been installed in ROM).
816
+
817
+  The requirement to provide Installation Information does not include a
818
+requirement to continue to provide support service, warranty, or updates
819
+for a work that has been modified or installed by the recipient, or for
820
+the User Product in which it has been modified or installed.  Access to a
821
+network may be denied when the modification itself materially and
822
+adversely affects the operation of the network or violates the rules and
823
+protocols for communication across the network.
824
+
825
+  Corresponding Source conveyed, and Installation Information provided,
826
+in accord with this section must be in a format that is publicly
827
+documented (and with an implementation available to the public in
828
+source code form), and must require no special password or key for
829
+unpacking, reading or copying.
830
+
831
+  7. Additional Terms.
832
+
833
+  "Additional permissions" are terms that supplement the terms of this
834
+License by making exceptions from one or more of its conditions.
835
+Additional permissions that are applicable to the entire Program shall
836
+be treated as though they were included in this License, to the extent
837
+that they are valid under applicable law.  If additional permissions
838
+apply only to part of the Program, that part may be used separately
839
+under those permissions, but the entire Program remains governed by
840
+this License without regard to the additional permissions.
841
+
842
+  When you convey a copy of a covered work, you may at your option
843
+remove any additional permissions from that copy, or from any part of
844
+it.  (Additional permissions may be written to require their own
845
+removal in certain cases when you modify the work.)  You may place
846
+additional permissions on material, added by you to a covered work,
847
+for which you have or can give appropriate copyright permission.
848
+
849
+  Notwithstanding any other provision of this License, for material you
850
+add to a covered work, you may (if authorized by the copyright holders of
851
+that material) supplement the terms of this License with terms:
852
+
853
+    a) Disclaiming warranty or limiting liability differently from the
854
+    terms of sections 15 and 16 of this License; or
855
+
856
+    b) Requiring preservation of specified reasonable legal notices or
857
+    author attributions in that material or in the Appropriate Legal
858
+    Notices displayed by works containing it; or
859
+
860
+    c) Prohibiting misrepresentation of the origin of that material, or
861
+    requiring that modified versions of such material be marked in
862
+    reasonable ways as different from the original version; or
863
+
864
+    d) Limiting the use for publicity purposes of names of licensors or
865
+    authors of the material; or
866
+
867
+    e) Declining to grant rights under trademark law for use of some
868
+    trade names, trademarks, or service marks; or
869
+
870
+    f) Requiring indemnification of licensors and authors of that
871
+    material by anyone who conveys the material (or modified versions of
872
+    it) with contractual assumptions of liability to the recipient, for
873
+    any liability that these contractual assumptions directly impose on
874
+    those licensors and authors.
875
+
876
+  All other non-permissive additional terms are considered "further
877
+restrictions" within the meaning of section 10.  If the Program as you
878
+received it, or any part of it, contains a notice stating that it is
879
+governed by this License along with a term that is a further
880
+restriction, you may remove that term.  If a license document contains
881
+a further restriction but permits relicensing or conveying under this
882
+License, you may add to a covered work material governed by the terms
883
+of that license document, provided that the further restriction does
884
+not survive such relicensing or conveying.
885
+
886
+  If you add terms to a covered work in accord with this section, you
887
+must place, in the relevant source files, a statement of the
888
+additional terms that apply to those files, or a notice indicating
889
+where to find the applicable terms.
890
+
891
+  Additional terms, permissive or non-permissive, may be stated in the
892
+form of a separately written license, or stated as exceptions;
893
+the above requirements apply either way.
894
+
895
+  8. Termination.
896
+
897
+  You may not propagate or modify a covered work except as expressly
898
+provided under this License.  Any attempt otherwise to propagate or
899
+modify it is void, and will automatically terminate your rights under
900
+this License (including any patent licenses granted under the third
901
+paragraph of section 11).
902
+
903
+  However, if you cease all violation of this License, then your
904
+license from a particular copyright holder is reinstated (a)
905
+provisionally, unless and until the copyright holder explicitly and
906
+finally terminates your license, and (b) permanently, if the copyright
907
+holder fails to notify you of the violation by some reasonable means
908
+prior to 60 days after the cessation.
909
+
910
+  Moreover, your license from a particular copyright holder is
911
+reinstated permanently if the copyright holder notifies you of the
912
+violation by some reasonable means, this is the first time you have
913
+received notice of violation of this License (for any work) from that
914
+copyright holder, and you cure the violation prior to 30 days after
915
+your receipt of the notice.
916
+
917
+  Termination of your rights under this section does not terminate the
918
+licenses of parties who have received copies or rights from you under
919
+this License.  If your rights have been terminated and not permanently
920
+reinstated, you do not qualify to receive new licenses for the same
921
+material under section 10.
922
+
923
+  9. Acceptance Not Required for Having Copies.
924
+
925
+  You are not required to accept this License in order to receive or
926
+run a copy of the Program.  Ancillary propagation of a covered work
927
+occurring solely as a consequence of using peer-to-peer transmission
928
+to receive a copy likewise does not require acceptance.  However,
929
+nothing other than this License grants you permission to propagate or
930
+modify any covered work.  These actions infringe copyright if you do
931
+not accept this License.  Therefore, by modifying or propagating a
932
+covered work, you indicate your acceptance of this License to do so.
933
+
934
+  10. Automatic Licensing of Downstream Recipients.
935
+
936
+  Each time you convey a covered work, the recipient automatically
937
+receives a license from the original licensors, to run, modify and
938
+propagate that work, subject to this License.  You are not responsible
939
+for enforcing compliance by third parties with this License.
940
+
941
+  An "entity transaction" is a transaction transferring control of an
942
+organization, or substantially all assets of one, or subdividing an
943
+organization, or merging organizations.  If propagation of a covered
944
+work results from an entity transaction, each party to that
945
+transaction who receives a copy of the work also receives whatever
946
+licenses to the work the party's predecessor in interest had or could
947
+give under the previous paragraph, plus a right to possession of the
948
+Corresponding Source of the work from the predecessor in interest, if
949
+the predecessor has it or can get it with reasonable efforts.
950
+
951
+  You may not impose any further restrictions on the exercise of the
952
+rights granted or affirmed under this License.  For example, you may
953
+not impose a license fee, royalty, or other charge for exercise of
954
+rights granted under this License, and you may not initiate litigation
955
+(including a cross-claim or counterclaim in a lawsuit) alleging that
956
+any patent claim is infringed by making, using, selling, offering for
957
+sale, or importing the Program or any portion of it.
958
+
959
+  11. Patents.
960
+
961
+  A "contributor" is a copyright holder who authorizes use under this
962
+License of the Program or a work on which the Program is based.  The
963
+work thus licensed is called the contributor's "contributor version".
964
+
965
+  A contributor's "essential patent claims" are all patent claims
966
+owned or controlled by the contributor, whether already acquired or
967
+hereafter acquired, that would be infringed by some manner, permitted
968
+by this License, of making, using, or selling its contributor version,
969
+but do not include claims that would be infringed only as a
970
+consequence of further modification of the contributor version.  For
971
+purposes of this definition, "control" includes the right to grant
972
+patent sublicenses in a manner consistent with the requirements of
973
+this License.
974
+
975
+  Each contributor grants you a non-exclusive, worldwide, royalty-free
976
+patent license under the contributor's essential patent claims, to
977
+make, use, sell, offer for sale, import and otherwise run, modify and
978
+propagate the contents of its contributor version.
979
+
980
+  In the following three paragraphs, a "patent license" is any express
981
+agreement or commitment, however denominated, not to enforce a patent
982
+(such as an express permission to practice a patent or covenant not to
983
+sue for patent infringement).  To "grant" such a patent license to a
984
+party means to make such an agreement or commitment not to enforce a
985
+patent against the party.
986
+
987
+  If you convey a covered work, knowingly relying on a patent license,
988
+and the Corresponding Source of the work is not available for anyone
989
+to copy, free of charge and under the terms of this License, through a
990
+publicly available network server or other readily accessible means,
991
+then you must either (1) cause the Corresponding Source to be so
992
+available, or (2) arrange to deprive yourself of the benefit of the
993
+patent license for this particular work, or (3) arrange, in a manner
994
+consistent with the requirements of this License, to extend the patent
995
+license to downstream recipients.  "Knowingly relying" means you have
996
+actual knowledge that, but for the patent license, your conveying the
997
+covered work in a country, or your recipient's use of the covered work
998
+in a country, would infringe one or more identifiable patents in that
999
+country that you have reason to believe are valid.
1000
+  
1001
+  If, pursuant to or in connection with a single transaction or
1002
+arrangement, you convey, or propagate by procuring conveyance of, a
1003
+covered work, and grant a patent license to some of the parties
1004
+receiving the covered work authorizing them to use, propagate, modify
1005
+or convey a specific copy of the covered work, then the patent license
1006
+you grant is automatically extended to all recipients of the covered
1007
+work and works based on it.
1008
+
1009
+  A patent license is "discriminatory" if it does not include within
1010
+the scope of its coverage, prohibits the exercise of, or is
1011
+conditioned on the non-exercise of one or more of the rights that are
1012
+specifically granted under this License.  You may not convey a covered
1013
+work if you are a party to an arrangement with a third party that is
1014
+in the business of distributing software, under which you make payment
1015
+to the third party based on the extent of your activity of conveying
1016
+the work, and under which the third party grants, to any of the
1017
+parties who would receive the covered work from you, a discriminatory
1018
+patent license (a) in connection with copies of the covered work
1019
+conveyed by you (or copies made from those copies), or (b) primarily
1020
+for and in connection with specific products or compilations that
1021
+contain the covered work, unless you entered into that arrangement,
1022
+or that patent license was granted, prior to 28 March 2007.
1023
+
1024
+  Nothing in this License shall be construed as excluding or limiting
1025
+any implied license or other defenses to infringement that may
1026
+otherwise be available to you under applicable patent law.
1027
+
1028
+  12. No Surrender of Others' Freedom.
1029
+
1030
+  If conditions are imposed on you (whether by court order, agreement or
1031
+otherwise) that contradict the conditions of this License, they do not
1032
+excuse you from the conditions of this License.  If you cannot convey a
1033
+covered work so as to satisfy simultaneously your obligations under this
1034
+License and any other pertinent obligations, then as a consequence you may
1035
+not convey it at all.  For example, if you agree to terms that obligate you
1036
+to collect a royalty for further conveying from those to whom you convey
1037
+the Program, the only way you could satisfy both those terms and this
1038
+License would be to refrain entirely from conveying the Program.
1039
+
1040
+  13. Use with the GNU Affero General Public License.
1041
+
1042
+  Notwithstanding any other provision of this License, you have
1043
+permission to link or combine any covered work with a work licensed
1044
+under version 3 of the GNU Affero General Public License into a single
1045
+combined work, and to convey the resulting work.  The terms of this
1046
+License will continue to apply to the part which is the covered work,
1047
+but the special requirements of the GNU Affero General Public License,
1048
+section 13, concerning interaction through a network will apply to the
1049
+combination as such.
1050
+
1051
+  14. Revised Versions of this License.
1052
+
1053
+  The Free Software Foundation may publish revised and/or new versions of
1054
+the GNU General Public License from time to time.  Such new versions will
1055
+be similar in spirit to the present version, but may differ in detail to
1056
+address new problems or concerns.
1057
+
1058
+  Each version is given a distinguishing version number.  If the
1059
+Program specifies that a certain numbered version of the GNU General
1060
+Public License "or any later version" applies to it, you have the
1061
+option of following the terms and conditions either of that numbered
1062
+version or of any later version published by the Free Software
1063
+Foundation.  If the Program does not specify a version number of the
1064
+GNU General Public License, you may choose any version ever published
1065
+by the Free Software Foundation.
1066
+
1067
+  If the Program specifies that a proxy can decide which future
1068
+versions of the GNU General Public License can be used, that proxy's
1069
+public statement of acceptance of a version permanently authorizes you
1070
+to choose that version for the Program.
1071
+
1072
+  Later license versions may give you additional or different
1073
+permissions.  However, no additional obligations are imposed on any
1074
+author or copyright holder as a result of your choosing to follow a
1075
+later version.
1076
+
1077
+  15. Disclaimer of Warranty.
1078
+
1079
+  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
1080
+APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
1081
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
1082
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
1083
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1084
+PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
1085
+IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
1086
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
1087
+
1088
+  16. Limitation of Liability.
1089
+
1090
+  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
1091
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
1092
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
1093
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
1094
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
1095
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
1096
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
1097
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
1098
+SUCH DAMAGES.
1099
+
1100
+  17. Interpretation of Sections 15 and 16.
1101
+
1102
+  If the disclaimer of warranty and limitation of liability provided
1103
+above cannot be given local legal effect according to their terms,
1104
+reviewing courts shall apply local law that most closely approximates
1105
+an absolute waiver of all civil liability in connection with the
1106
+Program, unless a warranty or assumption of liability accompanies a
1107
+copy of the Program in return for a fee.
1108
+
1109
+		     END OF TERMS AND CONDITIONS
1110
+
1111
+	    How to Apply These Terms to Your New Programs
1112
+
1113
+  If you develop a new program, and you want it to be of the greatest
1114
+possible use to the public, the best way to achieve this is to make it
1115
+free software which everyone can redistribute and change under these terms.
1116
+
1117
+  To do so, attach the following notices to the program.  It is safest
1118
+to attach them to the start of each source file to most effectively
1119
+state the exclusion of warranty; and each file should have at least
1120
+the "copyright" line and a pointer to where the full notice is found.
1121
+
1122
+    &lt;one line to give the program's name and a brief idea of what it does.&gt;
1123
+    Copyright (C) &lt;year&gt;  &lt;name of author&gt;
1124
+
1125
+    This program is free software: you can redistribute it and/or modify
1126
+    it under the terms of the GNU General Public License as published by
1127
+    the Free Software Foundation, either version 3 of the License, or
1128
+    (at your option) any later version.
1129
+
1130
+    This program is distributed in the hope that it will be useful,
1131
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
1132
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1133
+    GNU General Public License for more details.
1134
+
1135
+    You should have received a copy of the GNU General Public License
1136
+    along with this program.  If not, see &lt;http://www.gnu.org/licenses/&gt;.
1137
+
1138
+Also add information on how to contact you by electronic and paper mail.
1139
+
1140
+  If the program does terminal interaction, make it output a short
1141
+notice like this when it starts in an interactive mode:
1142
+
1143
+    &lt;program&gt;  Copyright (C) &lt;year&gt;  &lt;name of author&gt;
1144
+    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
1145
+    This is free software, and you are welcome to redistribute it
1146
+    under certain conditions; type `show c' for details.
1147
+
1148
+The hypothetical commands `show w' and `show c' should show the appropriate
1149
+parts of the General Public License.  Of course, your program's commands
1150
+might be different; for a GUI interface, you would use an "about box".
1151
+
1152
+  You should also get your employer (if you work as a programmer) or school,
1153
+if any, to sign a "copyright disclaimer" for the program, if necessary.
1154
+For more information on this, and how to apply and follow the GNU GPL, see
1155
+&lt;http://www.gnu.org/licenses/&gt;.
1156
+
1157
+  The GNU General Public License does not permit incorporating your program
1158
+into proprietary programs.  If your program is a subroutine library, you
1159
+may consider it more useful to permit linking proprietary applications with
1160
+the library.  If this is what you want to do, use the GNU Lesser General
1161
+Public License instead of this License.  But first, please read
1162
+&lt;http://www.gnu.org/philosophy/why-not-lgpl.html&gt;.
1163
+</property>
1164
+    <property name="authors">Enrico Tassi &lt;gares@fettunta.org&gt;</property>
1165
+    <child internal-child="vbox">
1166
+      <object class="GtkVBox" id="dialog-vbox1">
1167
+        <property name="visible">True</property>
1168
+        <property name="orientation">vertical</property>
1169
+        <property name="spacing">2</property>
1170
+        <child>
1171
+          <placeholder/>
1172
+        </child>
1173
+        <child internal-child="action_area">
1174
+          <object class="GtkHButtonBox" id="dialog-action_area1">
1175
+            <property name="visible">True</property>
1176
+            <property name="layout_style">end</property>
1177
+          </object>
1178
+          <packing>
1179
+            <property name="expand">False</property>
1180
+            <property name="pack_type">end</property>
1181
+            <property name="position">0</property>
1182
+          </packing>
1183
+        </child>
1184
+      </object>
1185
+    </child>
1186
+  </object>
480 1187
 </interface>

+ 5
- 1
smd-applet.vala View File

@@ -68,6 +68,7 @@ class smdApplet {
68 68
 	Gtk.StatusIcon si = null;
69 69
 	Gtk.Window win = null;
70 70
 	Gtk.Window err_win = null;
71
+	Gtk.Dialog about_win = null;
71 72
 
72 73
 	// the gconf client handler
73 74
 	GConf.Client gconf = null;
@@ -106,6 +107,8 @@ class smdApplet {
106 107
 		// load widgets and attach callbacks
107 108
 		win = builder.get_object("wPrefs") as Gtk.Window;
108 109
 		err_win = builder.get_object("wError") as Gtk.Window;
110
+		about_win = builder.get_object("wAbout") as Gtk.Dialog;
111
+
109 112
 		var close = builder.get_object("bClosePrefs") as Gtk.Button;
110 113
 		close.clicked += (b) =>  { win.hide(); };
111 114
 		var bicon = builder.get_object("cbIcon") as Gtk.CheckButton;
@@ -141,7 +144,8 @@ class smdApplet {
141 144
 		var quit = builder.get_object ("miQuit") as Gtk.MenuItem;
142 145
 		quit.activate += (b) => { Gtk.main_quit(); };
143 146
 		var about = builder.get_object ("miAbout") as Gtk.MenuItem;
144
-		about.activate += (b) => { si.set_blinking(true); };
147
+		about_win.response += (id) => { about_win.hide(); };
148
+		about.activate += (b) => { about_win.run(); };
145 149
 		var prefs = builder.get_object ("miPrefs") as Gtk.MenuItem;
146 150
 		prefs.activate += (b) => {  win.show(); };
147 151
 

Loading…
Cancel
Save