projects
/
embrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use a meaningful title for the window
[embrace.git]
/
bin
/
embrace
diff --git
a/bin/embrace
b/bin/embrace
index c657e7d6e3fc24166a654b592505e88bba3d8eb3..66915743cf3aa4a654f03a07c82896cbe4097735 100755
(executable)
--- a/
bin/embrace
+++ b/
bin/embrace
@@
-159,18
+159,6
@@
module Embrace
@img = @label = @alpha_anim = nil
end
@img = @label = @alpha_anim = nil
end
- def on_layer_set(layer)
- @objects.each { |o| o.layer = layer }
- end
-
- def on_stack_above(other)
- @objects.each { |o| o.stack_above = other }
- end
-
- def on_stack_below(other)
- @objects.each { |o| o.stack_below = other }
- end
-
def on_move(x, y)
@objects.each { |o| o.move(x, y) }
def on_move(x, y)
@objects.each { |o| o.move(x, y) }
@@
-303,18
+291,6
@@
module Embrace
@bg = nil
end
@bg = nil
end
- def on_layer_set(layer)
- @bg.layer = layer
- end
-
- def on_stack_above(other)
- @bg.stack_above = other
- end
-
- def on_stack_below(other)
- @bg.stack_below = other
- end
-
def on_move(x, y)
@bg.move(x, y)
end
def on_move(x, y)
@bg.move(x, y)
end
@@
-341,7
+317,7
@@
module Embrace
def initialize
super
def initialize
super
- self.title = "
blah
"
+ self.title = "
Embrace
"
self.borderless = true
@icon_dim = IO.read(ICON_FILE, 8, 16).unpack("NN")
self.borderless = true
@icon_dim = IO.read(ICON_FILE, 8, 16).unpack("NN")