From: Ricardo Markiewicz Date: Thu, 7 Jul 2005 02:57:37 +0000 (+0000) Subject: * logo feo para hacer que la ventana principal no sea taaaaan aburrida X-Git-Tag: svn_import~25 X-Git-Url: https://git.llucax.com/z.facultad/75.10/miklolife.git/commitdiff_plain/e73acc46b145ef9faa785ac5246a62bd4f4bbb79 * logo feo para hacer que la ventana principal no sea taaaaan aburrida --- diff --git a/demo/glade/main.glade b/demo/glade/main.glade index 080383b..1510b77 100644 --- a/demo/glade/main.glade +++ b/demo/glade/main.glade @@ -23,6 +23,8 @@ + 700 + 500 True False 0 @@ -266,22 +268,12 @@ - + 0 diff --git a/demo/src/Main.cs b/demo/src/Main.cs index 602483b..8b5f7e7 100644 --- a/demo/src/Main.cs +++ b/demo/src/Main.cs @@ -14,6 +14,7 @@ public class App Dialog wConsultarAfiliado; ArrayList lst; Glade.XML xmla; + [Widget] Image logo; #region Tests @@ -53,6 +54,7 @@ public class App gxml.Autoconnect (this); #warning Descomentar para inicializar la base de datos con algunos valores de prueba ! + logo.FromFile = "logo.png"; /* InitDemo (); */ Application.Run(); } diff --git a/demo/src/Makefile b/demo/src/Makefile index 0af2dba..4627fc0 100644 --- a/demo/src/Makefile +++ b/demo/src/Makefile @@ -11,7 +11,7 @@ SOURCE_EXCEPCIONES=$(shell ls --color=none Excepciones/*.cs) 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))) diff --git a/demo/src/Vistas/RevisarAutorizacionManual.cs b/demo/src/Vistas/RevisarAutorizacionManual.cs index 7aab433..f6d0ff4 100644 --- a/demo/src/Vistas/RevisarAutorizacionManual.cs +++ b/demo/src/Vistas/RevisarAutorizacionManual.cs @@ -22,17 +22,15 @@ public class VRevisarAutorizacionManual 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 (); } diff --git a/demo/src/logo.png b/demo/src/logo.png new file mode 100644 index 0000000..60618fa Binary files /dev/null and b/demo/src/logo.png differ