[gevice] added file with pending jobs



commit 3000a5f68b5004de9867822ae9a30ff8b66327c3
Author: Alejandro Valdes Jimenez <avaldes utalca cl>
Date:   Sun Jul 5 17:39:49 2009 -0400

    added file with pending jobs

 ChangeLog     |    4 ++++
 TODO          |    2 ++
 src/gevice.py |    6 +++---
 3 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index a1367fb..b37cc05 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2009-07-05  Alejandro Valdes Jimenez  <avaldes gnome org>
 
+	* TODO: added file with pending jobs.
+
+2009-07-05  Alejandro Valdes Jimenez  <avaldes gnome org>
+
 	* data/glade/gevice.glade: add scroll to notebook.
 	* src/config.py.in:
 	* src/gevice.py: add support for dual terminal in one tab.
diff --git a/TODO b/TODO
new file mode 100644
index 0000000..babf5ba
--- /dev/null
+++ b/TODO
@@ -0,0 +1,2 @@
+- change to GtkBuilder.
+- move UI interfaz from string to file.
diff --git a/src/gevice.py b/src/gevice.py
index f6c3360..ab7f984 100755
--- a/src/gevice.py
+++ b/src/gevice.py
@@ -378,15 +378,15 @@ class Gevice:
                     vpaned.add2 (hbox_term2)
                     terminal2.fork_command (proto,['bash','-l',user,data[2]],[],config.DEFAULT_TMP)
                             
-        page = self.notebook.append_page(vpaned,hbox_label)
-            
+        page = self.notebook.append_page(vpaned,hbox_label)            
         self.notebook.set_tab_reorderable(vpaned,True)
         self.notebook.set_tab_detachable(vpaned,True)
-        self.notebook.set_current_page(page)
+        
         terminal.grab_focus()
 
         hbox_label.show_all()
         vpaned.show_all()
+        self.notebook.set_current_page(page)
 
     def create_button_with_image (self,id_stock,sensitive):
         "return a button with image, utilized in tool of browser"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]