openall_time_applet 0.0.33 → 0.0.34

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.33
1
+ 0.0.34
data/gui/win_main.rb CHANGED
@@ -306,41 +306,7 @@ class Openall_time_applet::Gui::Win_main
306
306
  :change_before => proc{ @dont_reload_sync = true },
307
307
  :change_after => proc{ @dont_reload_sync = false; self.update_sync_totals },
308
308
  :cols => {
309
- 1 => :descr,
310
- 2 => {
311
- :col => :timestamp,
312
- :value_callback => self.method(:tv_editable_timestamp_callback),
313
- :value_set_callback => self.method(:tv_editable_timestamp_set_callback)
314
- },
315
- 3 => {
316
- :col => :time,
317
- :value_callback => proc{ |data| Knj::Strings.human_time_str_to_secs(data[:value]) },
318
- :value_set_callback => proc{ |data| Knj::Strings.secs_to_human_time_str(data[:value], :secs => false) }
319
- },
320
- 4 => {
321
- :col => :time_transport,
322
- :value_callback => proc{ |data| Knj::Strings.human_time_str_to_secs(data[:value]) },
323
- :value_set_callback => proc{ |data| Knj::Strings.secs_to_human_time_str(data[:value], :secs => false) }
324
- },
325
- 5 => {:col => :transportlength, :type => :int},
326
- 6 => {:col => :transportdescription},
327
- 7 => {:col => :transportcosts, :type => :human_number, :decimals => 2},
328
- 8 => {:col => :travelfixed},
329
- 9 => {:col => :workinternal},
330
309
  10 => {:col => :sync_need, :type => :toggle_rev},
331
- 11 => {
332
- :col => :task_id,
333
- :value_callback => lambda{ |data|
334
- task = @args[:oata].ob.get_by(:Task, {"title" => data[:value]})
335
-
336
- if !task
337
- return 0
338
- else
339
- return task.id
340
- end
341
- },
342
- :value_set_callback => proc{ |data| data[:model].task_name }
343
- },
344
310
  12 => {
345
311
  :col => :time_sync,
346
312
  :value_callback => proc{ |data| Knj::Strings.human_time_str_to_secs(data[:value]) },
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{openall_time_applet}
8
- s.version = "0.0.33"
8
+ s.version = "0.0.34"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kasper Johansen"]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: openall_time_applet
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.33
5
+ version: 0.0.34
6
6
  platform: ruby
7
7
  authors:
8
8
  - Kasper Johansen
@@ -209,7 +209,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
209
209
  requirements:
210
210
  - - ">="
211
211
  - !ruby/object:Gem::Version
212
- hash: -2432431753330081145
212
+ hash: -2936698854477885577
213
213
  segments:
214
214
  - 0
215
215
  version: "0"