Ejemplo n.º 1
0
		public static Gtk.Window Show (Gtk.Window parent)
		{
			AddinManagerDialog dlg = new AddinManagerDialog (parent);
			InitDialog (dlg);
			dlg.Show ();
			return dlg;
		}
        public static Gtk.Window Show(Gtk.Window parent)
        {
            AddinManagerDialog dlg = new AddinManagerDialog(parent);

            dlg.Show();
            return(dlg);
        }
Ejemplo n.º 3
0
        public static Gtk.Window Show(Gtk.Window parent, SetupService service)
        {
            AddinManagerDialog dlg = new AddinManagerDialog(parent, service);

            InitDialog(dlg);
            dlg.Show();
            return(dlg);
        }
		public static void Run (Gtk.Window parent)
		{
			AddinManagerDialog dlg = new AddinManagerDialog (parent);
			try {
				dlg.Run ();
			} finally {
				dlg.Destroy ();
			}
		}
        public static void Run(Gtk.Window parent)
        {
            AddinManagerDialog dlg = new AddinManagerDialog(parent);

            try {
                dlg.Run();
            } finally {
                dlg.Destroy();
            }
        }
Ejemplo n.º 6
0
		public static void Run (Gtk.Window parent, SetupService service)
		{
			AddinManagerDialog dlg = new AddinManagerDialog (parent, service);
			try {
				InitDialog (dlg);
				dlg.Run ();
			} finally {
				dlg.Destroy ();
			}
		}
Ejemplo n.º 7
0
		public static Gtk.Window Show (Gtk.Window parent, SetupService service)
		{
			AddinManagerDialog dlg = new AddinManagerDialog (parent, service);
			InitDialog (dlg);
			if (parent == null) {
				dlg.SetPosition (Gtk.WindowPosition.Center);
			}
			dlg.Show ();
			return dlg;
		}
Ejemplo n.º 8
0
        public static Gtk.Dialog Create(Gtk.Window parent = null, SetupService service = null)
        {
            if (service == null)
            {
                service = new SetupService();
            }
            var dlg = new AddinManagerDialog(parent, service);

            InitDialog(dlg);
            return(dlg);
        }
Ejemplo n.º 9
0
		private static void InitDialog (AddinManagerDialog dlg)
		{
			dlg.AllowInstall = AllowInstall;
		}
Ejemplo n.º 10
0
		private static void InitDialog (AddinManagerDialog dlg)
		{
			dlg.AllowInstall = AllowInstall;
		}