Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugal-mono-tools.git;a=commitdiff;h=5fa95c739fb4964b00d84194843ffb77ccf590a5

commit 5fa95c739fb4964b00d84194843ffb77ccf590a5
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Thu Aug 26 18:10:49 2010 +0000

*default hide install/uninstall

diff --git a/frugal-mono-tools/MainWindow.cs b/frugal-mono-tools/MainWindow.cs
index cc76e61..658da65 100644
--- a/frugal-mono-tools/MainWindow.cs
+++ b/frugal-mono-tools/MainWindow.cs
@@ -26,6 +26,7 @@ using frugalmonotools;
public partial class MainWindow : Gtk.Window
{
protected Gtk.TreeIter iter;
+       private string packageSelected="";

private bool boRoot = false;
//pacman-g2
@@ -96,14 +97,14 @@ public partial class MainWindow : Gtk.Window
//hide notebook not yet implemented
ONG_principal.RemovePage(cen_OngHW);

+               BTN_Uninstall.Visible=false;
+               BTN_Install.Visible=false;
//root options
if (Mono.Unix.Native.Syscall.getuid()!=0)
{
BTN_Network.Visible=false;
BTN_LoginManager.Visible=false;
BTN_Xorg.Visible=false;
-                       BTN_Uninstall.Visible=false;
-                       BTN_Install.Visible=false;
}
else
{
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to