diff --git a/dropship.glade b/dropship.glade index 2ec7c55..193fd4e 100644 --- a/dropship.glade +++ b/dropship.glade @@ -1,20 +1,17 @@ - + True False - gtk-close + gtk-no 3 - + + + + False False 250 250 - - - True - False - True - - - True - False - 10 - sendReceiveStack - - - - True @@ -253,6 +238,21 @@ + + + True + False + True + + + True + False + 10 + sendReceiveStack + + + + False @@ -261,9 +261,6 @@ mainWindow True True - - - False @@ -291,5 +288,8 @@ + + + diff --git a/dropship.py b/dropship.py index a5dd638..560beec 100644 --- a/dropship.py +++ b/dropship.py @@ -78,6 +78,9 @@ class DropShip: def init_ui_elements(self): """Initialize the UI elements.""" + # TODO (rra) find out how to use composite templates + # https://github.com/sebp/PyGObject-Tutorial/issues/149 + # Send UI # Drag & Drop Box self.files_to_send = "" @@ -95,7 +98,7 @@ class DropShip: self.file_chooser.add_buttons( 'Cancel', gtk.ResponseType.CANCEL, "Add", gtk.ResponseType.OK ) - + # Receive UI # Code entry box self.recv_box = self.builder.get_object('receiveBoxCodeEntry')