openall_time_applet 0.0.31 → 0.0.32

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.31
1
+ 0.0.32
data/gui/win_main.rb CHANGED
@@ -112,7 +112,7 @@ class Openall_time_applet::Gui::Win_main
112
112
  :model_class => :Timelog,
113
113
  :renderers => init_data[:renderers],
114
114
  :change_before => proc{|d|
115
- if d[:col_no] == 3 and @args[:oata].timelog_active and @args[:oata].timelog_active.id == d[:model].id
115
+ if d[:col_no] == 2 and @args[:oata].timelog_active and @args[:oata].timelog_active.id == d[:model].id
116
116
  raise _("You cannot edit the time for the active timelog.")
117
117
  end
118
118
 
@@ -171,7 +171,7 @@ class Openall_time_applet::Gui::Win_main
171
171
 
172
172
 
173
173
  #Connect certain column renderers to the editingStarted-method, so editing can be canceled, if the user tries to edit forbidden data on the active timelog.
174
- init_data[:renderers][3].signal_connect_after("editing-started", :time, &self.method(:on_cell_editingStarted))
174
+ init_data[:renderers][2].signal_connect_after("editing-started", :time, &self.method(:on_cell_editingStarted))
175
175
 
176
176
 
177
177
  #Fills the timelogs-treeview with data.
@@ -667,7 +667,7 @@ class Openall_time_applet::Gui::Win_main
667
667
  #Update time tracked.
668
668
  if timelog_id == act_timelog_id
669
669
  secs = act_timelog.time_total + @args[:oata].timelog_active_time_tracked
670
- iter[3] = "<b>#{Knj::Strings.secs_to_human_time_str(secs, :secs => false)}</b>"
670
+ iter[2] = "<b>#{Knj::Strings.secs_to_human_time_str(secs, :secs => false)}</b>"
671
671
  bold = true
672
672
  end
673
673
 
@@ -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.31"
8
+ s.version = "0.0.32"
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.31
5
+ version: 0.0.32
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: -3580253208332953730
212
+ hash: -4164564526941671233
213
213
  segments:
214
214
  - 0
215
215
  version: "0"