openall_time_applet 0.0.22 → 0.0.23
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/glade/win_main.glade +17 -1
- data/gui/win_main.rb +5 -0
- data/openall_time_applet.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.23
|
data/glade/win_main.glade
CHANGED
@@ -368,7 +368,7 @@
|
|
368
368
|
<object class="GtkHButtonBox" id="hbuttonbox4">
|
369
369
|
<property name="visible">True</property>
|
370
370
|
<property name="can_focus">False</property>
|
371
|
-
<property name="spacing">
|
371
|
+
<property name="spacing">4</property>
|
372
372
|
<property name="layout_style">end</property>
|
373
373
|
<child>
|
374
374
|
<object class="GtkButton" id="btnSyncPrepareTransfer">
|
@@ -386,6 +386,22 @@
|
|
386
386
|
<property name="position">0</property>
|
387
387
|
</packing>
|
388
388
|
</child>
|
389
|
+
<child>
|
390
|
+
<object class="GtkButton" id="btnCancelPrepareTransfer">
|
391
|
+
<property name="label">gtk-cancel</property>
|
392
|
+
<property name="visible">True</property>
|
393
|
+
<property name="can_focus">True</property>
|
394
|
+
<property name="receives_default">True</property>
|
395
|
+
<property name="use_action_appearance">False</property>
|
396
|
+
<property name="use_stock">True</property>
|
397
|
+
<signal name="clicked" handler="on_btnCancelPrepareTransfer_clicked" swapped="no"/>
|
398
|
+
</object>
|
399
|
+
<packing>
|
400
|
+
<property name="expand">False</property>
|
401
|
+
<property name="fill">False</property>
|
402
|
+
<property name="position">1</property>
|
403
|
+
</packing>
|
404
|
+
</child>
|
389
405
|
</object>
|
390
406
|
<packing>
|
391
407
|
<property name="expand">False</property>
|
data/gui/win_main.rb
CHANGED
@@ -370,6 +370,11 @@ class Openall_time_applet::Gui::Win_main
|
|
370
370
|
@gui["labTotal"].markup = "<b>#{_("Total hours:")}</b> #{Knj::Strings.secs_to_human_time_str(total_secs)}"
|
371
371
|
end
|
372
372
|
|
373
|
+
def on_btnCancelPrepareTransfer_clicked
|
374
|
+
@gui["expOverview"].show
|
375
|
+
@gui["vboxPrepareTransfer"].hide
|
376
|
+
end
|
377
|
+
|
373
378
|
#This method is called, when editting starts in a description-, time- or task-cell. If it is the active timelog, then editting is canceled.
|
374
379
|
def on_cell_editingStarted(renderer, editable, path, col_title)
|
375
380
|
iter = @gui["tvTimelogs"].model.get_iter(path)
|
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.23
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Kasper Johansen
|
@@ -218,7 +218,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
218
218
|
requirements:
|
219
219
|
- - ">="
|
220
220
|
- !ruby/object:Gem::Version
|
221
|
-
hash:
|
221
|
+
hash: 1310176801953661997
|
222
222
|
segments:
|
223
223
|
- 0
|
224
224
|
version: "0"
|