<child>
<widget class="GtkVBox" id="vbox1">
+ <property name="width_request">700</property>
+ <property name="height_request">500</property>
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">0</property>
</child>
<child>
- <widget class="GtkLabel" id="label1">
+ <widget class="GtkImage" id="logo">
<property name="visible">True</property>
- <property name="label" translatable="yes"></property>
- <property name="use_underline">False</property>
- <property name="use_markup">False</property>
- <property name="justify">GTK_JUSTIFY_LEFT</property>
- <property name="wrap">False</property>
- <property name="selectable">False</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
- <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
- <property name="width_chars">-1</property>
- <property name="single_line_mode">False</property>
- <property name="angle">0</property>
</widget>
<packing>
<property name="padding">0</property>
Dialog wConsultarAfiliado;
ArrayList lst;
Glade.XML xmla;
+ [Widget] Image logo;
#region Tests
gxml.Autoconnect (this);
#warning Descomentar para inicializar la base de datos con algunos valores de prueba !
+ logo.FromFile = "logo.png";
/* InitDemo (); */
Application.Run();
}
SOURCE=$(SOURCE_DOMINIO) $(SOURCE_CONTROLADOR) $(SOURCE_EXTRA) $(SOURCE_VISTAS) $(SOURCE_TEST) $(SOURCE_REPORTES) $(SOURCE_EXCEPCIONES)
LIBS=-pkg:glade-sharp-2.0 -pkg:gtk-sharp-2.0 -r:./bin/db4o.dll
-GLADE_FILES=$(shell ls --color=none ../glade/*.glade)
+GLADE_FILES=$(shell ls --color=none ../glade/*.glade ../glade/*.png)
GLADE=$(foreach file,$(GLADE_FILES), $(addprefix -resource:,$(file)),$(notdir $(file)))
xml = new Glade.XML (null, "actualizar_autorizacion_manual.glade", "autorizaciones_pendientes", null);
xml.Autoconnect (this);
- /* Creo los modelos para los TreeView y el ComboBox
- Tipo Doc NroDoc Apellido Nombre */
- lista.Model = new ListStore (typeof(string), typeof(int), typeof (string), typeof (string));
+ lista.Model = new ListStore (typeof(int), typeof(string), typeof (string), typeof (string), typeof(string));
/* Columnas */
lista.HeadersVisible = true;
lista.AppendColumn ("Codigo", new CellRendererText (), "text", 0);
lista.AppendColumn ("Fecha Solicitud", new CellRendererText (), "text", 1);
lista.AppendColumn ("Prestacion", new CellRendererText (), "text", 2);
- lista.AppendColumn ("Afiliado", new CellRendererText (), "text", 2);
- lista.AppendColumn ("Prestador", new CellRendererText (), "text", 3);
+ lista.AppendColumn ("Afiliado", new CellRendererText (), "text", 3);
+ lista.AppendColumn ("Prestador", new CellRendererText (), "text", 4);
CargarAutorizaciones ();
}