Changeset 4160


Ignore:
Timestamp:
Apr 7, 2017, 2:53:29 PM (2 years ago)
Author:
jrpelegrina
Message:

WIP in gui

Location:
lliurex-abies2pmb/trunk/fuentes/lliurex-abies2pmb-gui.install/usr/share/lliurex-abies2pmb
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • lliurex-abies2pmb/trunk/fuentes/lliurex-abies2pmb-gui.install/usr/share/lliurex-abies2pmb/ConvertBox.py

    r4148 r4160  
    3333MOUNT_OFF_IMAGE=RSRC+"rsrc/mount_off.svg"
    3434EDIT_IMAGE=RSRC+"rsrc/edit.svg"
    35 DELETE_IMAGE=RSRC+"rsrc/trash.svg"
     35
    3636MAX_RETRY_INTENTS=1200
    3737'''
    3838
    3939DRAG_ACTION = Gdk.DragAction.COPY
    40 
     40DELETE_IMAGE=RSRC+"rsrc/trash.svg"
     41MOUNT_OFF_IMAGE=RSRC+"rsrc/mount_off.svg"
    4142
    4243class ConvertBox(Gtk.VBox):
     
    230231                return msg_text
    231232       
    232 class DropArea(Gtk.Label):
     233class DropArea(Gtk.Image):
    233234
    234235    def __init__(self,origpath,origpathlabel,destpath,destpathlabel):
     
    239240        self.destpathlabel=destpathlabel
    240241
    241         Gtk.Label.__init__(self, "Drop something")
     242        Gtk.Image.__init__(self)
     243        Gtk.Image.set_from_file(self,DELETE_IMAGE)
    242244        self.drag_dest_set(Gtk.DestDefaults.ALL, [], DRAG_ACTION)
    243245       
     
    248250           
    249251                text = data.get_text()
    250                 Gtk.Label.set_text(self,"Recibido")
     252                #Gtk.Label.set_text(self,"Recibido")
     253                Gtk.Image.set_from_file(self,MOUNT_OFF_IMAGE)
    251254                text=text.strip().split("//")
    252255               
  • lliurex-abies2pmb/trunk/fuentes/lliurex-abies2pmb-gui.install/usr/share/lliurex-abies2pmb/rsrc/lliurex-abies-to-pmb.ui

    r4148 r4160  
    258258            <property name="visible">True</property>
    259259            <property name="can_focus">False</property>
     260            <property name="pixbuf">lap-banner.png</property>
    260261          </object>
    261262          <packing>
Note: See TracChangeset for help on using the changeset viewer.