internal void OnManageRepos(object sender, EventArgs e)
        {
            Gtk.Builder       builder = new Gtk.Builder(null, "Mono.Addins.GuiGtk3.interfaces.ManageSitesDialog.ui", null);
            ManageSitesDialog dlg     = new ManageSitesDialog(service, builder, builder.GetObject("window1").Handle);

            try {
                dlg.Run();
            } finally {
                dlg.Destroy();
            }
        }
        void ManageSites()
        {
            Gtk.Builder       builder = new Gtk.Builder(null, "Mono.Addins.GuiGtk3.interfaces.ManageSitesDialog.ui", null);
            ManageSitesDialog dlg     = new ManageSitesDialog(service, builder, builder.GetObject("ManageSitesDialog").Handle);

            try {
                dlg.Run();
                repoCombo.Active = lastRepoActive;
                FillRepos();
            } finally {
                dlg.Destroy();
            }
        }
Example #3
0
 void ManageSites()
 {
     Gtk.Builder builder = new Gtk.Builder (null, "Mono.Addins.GuiGtk3.interfaces.ManageSitesDialog.ui", null);
     ManageSitesDialog dlg = new ManageSitesDialog (service, builder, builder.GetObject ("ManageSitesDialog").Handle);
     try {
         dlg.Run ();
         repoCombo.Active = lastRepoActive;
         FillRepos ();
     } finally {
         dlg.Destroy ();
     }
 }
Example #4
0
 internal void OnManageRepos(object sender, EventArgs e)
 {
     Gtk.Builder builder = new Gtk.Builder (null, "Mono.Addins.GuiGtk3.interfaces.ManageSitesDialog.ui", null);
     ManageSitesDialog dlg = new ManageSitesDialog (service, builder, builder.GetObject ("window1").Handle);
     try {
         dlg.Run ();
     } finally {
         dlg.Destroy ();
     }
 }