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 +1 -1
- data/gui/win_main.rb +3 -3
- data/openall_time_applet.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
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] ==
|
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][
|
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[
|
670
|
+
iter[2] = "<b>#{Knj::Strings.secs_to_human_time_str(secs, :secs => false)}</b>"
|
671
671
|
bold = true
|
672
672
|
end
|
673
673
|
|
data/openall_time_applet.gemspec
CHANGED
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.
|
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: -
|
212
|
+
hash: -4164564526941671233
|
213
213
|
segments:
|
214
214
|
- 0
|
215
215
|
version: "0"
|