openall_time_applet 0.0.22 → 0.0.23

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.22
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">3</property>
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)
@@ -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.22"
8
+ s.version = "0.0.23"
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.22
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: -3066886317205834200
221
+ hash: 1310176801953661997
222
222
  segments:
223
223
  - 0
224
224
  version: "0"