[Xfce4-commits] <eatmonkey:aria2-xml-rpc> Reorder label in Info bar
Mike Massonnet
noreply at xfce.org
Sat Feb 27 00:44:01 CET 2010
Updating branch refs/heads/aria2-xml-rpc
to 747a4e095d13118de74731bd4b5c61729597f93a (commit)
from 04fe8a7daa290e8f09e42d0a14c79d94decb9537 (commit)
commit 747a4e095d13118de74731bd4b5c61729597f93a
Author: Mike Massonnet <mmassonnet at xfce.org>
Date: Thu Feb 18 20:51:44 2010 +0100
Reorder label in Info bar
Pack the label and icon at the start.
src/eatmanager.rb | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/eatmanager.rb b/src/eatmanager.rb
index d58391e..f94d730 100644
--- a/src/eatmanager.rb
+++ b/src/eatmanager.rb
@@ -32,7 +32,7 @@ class Eat::Manager
@infobar.set_no_show_all(true)
}
@aria2.signal_connect("disconnected") {
- set_sensitive(false)
+ set_sensitive(false) # FIXME @action_<FOO> may not yet have been defined
if !@aria2.use_local_server?
@infobar.set_no_show_all(false)
@infobar.show_all
@@ -87,13 +87,14 @@ class Eat::Manager
=end
@infobar = HBox.new(false, 4)
@infobar.set_no_show_all(true)
+ @infobar.set_border_width(2)
infobutton = Button.new("Reconnect")
infobutton.signal_connect('clicked') { @aria2.connect(true) }
@infobar.pack_end(infobutton, false, false, 0)
- infolabel = Label.new("Disconnected from aria2")
- @infobar.pack_end(infolabel, false, false, 0)
infoimg = Image.new(Stock::DIALOG_ERROR, IconSize::MENU)
- @infobar.pack_end(infoimg, false, false, 0)
+ @infobar.pack_start(infoimg, false, false, 0)
+ infolabel = Label.new("Disconnected from aria2")
+ @infobar.pack_start(infolabel, false, false, 0)
hbox = builder["hbox-info-bar"]
hbox.add(@infobar)
More information about the Xfce4-commits
mailing list