bin/gui/gtkhex.rb in origami-1.2.4 vs bin/gui/gtkhex.rb in origami-1.2.5
- old
+ new
@@ -3,11 +3,11 @@
= File
gtkhex.rb
= Info
This file is part of PDF Walker, a graphical PDF file browser
- Copyright (C) 2010 Guillaume Delugré <guillaume@security-labs.org>
+ Copyright (C) 2010 Guillaume Delugré <guillaume AT security-labs DOT org>
All right reserved.
PDF Walker is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
@@ -310,10 +310,10 @@
put @adisp, 0, 0
@adisp.show
@adj = Gtk::Adjustment.new(0, 0, 0, 0, 0, 0)
- @scrollbar = VScrollbar.new(@adj)
+ @scrollbar = Gtk::VScrollbar.new(@adj)
@adj.signal_connect 'value_changed' do |adj|
unless @xdisp_gc.nil? or @adisp_gc.nil? or not @xdisp.drawable? or not @adisp.drawable?
source_min = (adj.value.to_i - @top_line) * @char_height
source_max = source_min + @xdisp.allocation.height