ig3tool 0.2.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/ig3tool +1 -15
- data/lib/glade/printing.glade +461 -2
- data/lib/glade/products.glade +8 -4
- data/lib/glade/protjes.glade +2884 -0
- data/lib/glade/sales.glade +85 -83
- data/lib/glade/stock_print.png +0 -0
- data/lib/ui/{printenwindow.rb → OLD_printenwindow.rb} +2 -2
- data/lib/ui/automaatwindow.rb +4 -5
- data/lib/ui/gladehelper.rb +22 -10
- data/lib/ui/peoplewindow.rb +9 -2
- data/lib/ui/printingwindow.rb +197 -22
- data/lib/ui/productswindow.rb +23 -2
- data/lib/ui/protjes.rb +850 -0
- data/lib/ui/saleswindow.rb +15 -0
- metadata +8 -5
    
        data/lib/ui/saleswindow.rb
    CHANGED
    
    | @@ -23,6 +23,7 @@ module Ig3tool | |
| 23 23 | 
             
                  @statushash = {1 => "member", 0 => "non-member", 2 => "debugger"}
         | 
| 24 24 | 
             
                  @statushashi = @statushash.invert
         | 
| 25 25 |  | 
| 26 | 
            +
            			make_eval_widget @glade.get_widget("count"), 1
         | 
| 26 27 | 
             
            		end
         | 
| 27 28 |  | 
| 28 29 | 
             
            		def smartzap_activate
         | 
| @@ -111,6 +112,20 @@ module Ig3tool | |
| 111 112 |  | 
| 112 113 | 
             
            		def scribble_clicked
         | 
| 113 114 | 
             
            			_scribble
         | 
| 115 | 
            +
            			@items.model.clear
         | 
| 116 | 
            +
            		end
         | 
| 117 | 
            +
             | 
| 118 | 
            +
            		def kaching_clicked
         | 
| 119 | 
            +
            			begin
         | 
| 120 | 
            +
            			_kaching
         | 
| 121 | 
            +
            			@items.model.clear
         | 
| 122 | 
            +
            			rescue Exception => e
         | 
| 123 | 
            +
            				puts "ERROR: #{e.message}"
         | 
| 124 | 
            +
            			end
         | 
| 125 | 
            +
            		end
         | 
| 126 | 
            +
            		
         | 
| 127 | 
            +
            		def bewijs
         | 
| 128 | 
            +
            			puts "NYI"
         | 
| 114 129 | 
             
            		end
         | 
| 115 130 |  | 
| 116 131 | 
             
            		def clear_clicked
         | 
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification 
         | 
| 2 2 | 
             
            name: ig3tool
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version 
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.3.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors: 
         | 
| 7 7 | 
             
            - Kevin Pinte
         | 
| @@ -9,7 +9,7 @@ autorequire: | |
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 11 |  | 
| 12 | 
            -
            date: 2008-03- | 
| 12 | 
            +
            date: 2008-03-28 00:00:00 +01:00
         | 
| 13 13 | 
             
            default_executable: ig3tool
         | 
| 14 14 | 
             
            dependencies: 
         | 
| 15 15 | 
             
            - !ruby/object:Gem::Dependency 
         | 
| @@ -19,7 +19,7 @@ dependencies: | |
| 19 19 | 
             
                requirements: 
         | 
| 20 20 | 
             
                - - ">="
         | 
| 21 21 | 
             
                  - !ruby/object:Gem::Version 
         | 
| 22 | 
            -
                    version: 0. | 
| 22 | 
            +
                    version: 0.3.0
         | 
| 23 23 | 
             
                version: 
         | 
| 24 24 | 
             
            description: 
         | 
| 25 25 | 
             
            email: igtool@infogroep.be
         | 
| @@ -117,12 +117,14 @@ files: | |
| 117 117 | 
             
            - lib/glade/printerlog_xklein.png
         | 
| 118 118 | 
             
            - lib/glade/printing.glade
         | 
| 119 119 | 
             
            - lib/glade/products.glade
         | 
| 120 | 
            +
            - lib/glade/protjes.glade
         | 
| 120 121 | 
             
            - lib/glade/sales.glade
         | 
| 121 122 | 
             
            - lib/glade/stock_book.svg
         | 
| 122 123 | 
             
            - lib/glade/stock_book_klein.png
         | 
| 123 124 | 
             
            - lib/glade/stock_book_xklein.png
         | 
| 124 125 | 
             
            - lib/glade/stock_bookmark_klein.png
         | 
| 125 126 | 
             
            - lib/glade/stock_bookmark_xklein.png
         | 
| 127 | 
            +
            - lib/glade/stock_print.png
         | 
| 126 128 | 
             
            - lib/glade/vendingmachine.glade
         | 
| 127 129 | 
             
            - lib/lib/errors.rb
         | 
| 128 130 | 
             
            - lib/lib/util.rb
         | 
| @@ -135,10 +137,11 @@ files: | |
| 135 137 | 
             
            - lib/ui/memberswindow.rb
         | 
| 136 138 | 
             
            - lib/ui/messagebox.rb
         | 
| 137 139 | 
             
            - lib/ui/newinterne.rb
         | 
| 140 | 
            +
            - lib/ui/OLD_printenwindow.rb
         | 
| 138 141 | 
             
            - lib/ui/peoplewindow.rb
         | 
| 139 | 
            -
            - lib/ui/printenwindow.rb
         | 
| 140 142 | 
             
            - lib/ui/printingwindow.rb
         | 
| 141 143 | 
             
            - lib/ui/productswindow.rb
         | 
| 144 | 
            +
            - lib/ui/protjes.rb
         | 
| 142 145 | 
             
            - lib/ui/saleswindow.rb
         | 
| 143 146 | 
             
            - lib/ui/toolwindow.rb
         | 
| 144 147 | 
             
            has_rdoc: false
         | 
| @@ -164,7 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 164 167 | 
             
              version: 
         | 
| 165 168 | 
             
            requirements: []
         | 
| 166 169 |  | 
| 167 | 
            -
            rubyforge_project: 
         | 
| 170 | 
            +
            rubyforge_project: ig3tool
         | 
| 168 171 | 
             
            rubygems_version: 1.0.1
         | 
| 169 172 | 
             
            signing_key: 
         | 
| 170 173 | 
             
            specification_version: 2
         |