Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugal-tweak.git;a=commitdiff;h=cb74348633129394022b2acd8acaf3cf9757c77a

commit cb74348633129394022b2acd8acaf3cf9757c77a
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Wed Sep 15 21:06:41 2010 +0200

*added icon on treeview
*new GUI finished
* http://dors.frugalware.org/fwtweak.png :p

diff --git a/frugal-mono-tools/Fen_Menu.cs b/frugal-mono-tools/Fen_Menu.cs
index 37a1c5b..a76f0e8 100644
--- a/frugal-mono-tools/Fen_Menu.cs
+++ b/frugal-mono-tools/Fen_Menu.cs
@@ -83,21 +83,32 @@ namespace frugalmonotools
TREE_Menu.Selection.Changed += OnSelectionEntryUpdate;


-                       Pixbuf icoSys = global::Gdk.Pixbuf.LoadFromResource 
("frugalmonotools.Pictures.systrayupdate.png");
+                       Pixbuf icoSys = global::Gdk.Pixbuf.LoadFromResource 
("frugalmonotools.Pictures.icons.system.png");
iter = ListMenu.AppendValues(icoSys.ScaleSimple(20,20, 
Gdk.InterpType.Nearest),cch_system);
this.TREE_Menu.SetCursor(ListMenu.GetPath(iter),TREE_Menu.GetColumn(1),false);
//FIX ME select first element
-                       ListMenu.AppendValues(icoSys.ScaleSimple(20,20, 
Gdk.InterpType.Nearest), cch_xorg);
-                       ListMenu.AppendValues(icoSys.ScaleSimple(20,20, 
Gdk.InterpType.Nearest),cch_update);
-                       ListMenu.AppendValues(icoSys.ScaleSimple(20,20, 
Gdk.InterpType.Nearest),cch_packages);
-                       ListMenu.AppendValues(icoSys.ScaleSimple(20,20, 
Gdk.InterpType.Nearest),cch_hardware);
-                       ListMenu.AppendValues(icoSys.ScaleSimple(20,20, 
Gdk.InterpType.Nearest),cch_services);
-                       ListMenu.AppendValues(icoSys.ScaleSimple(20,20, 
Gdk.InterpType.Nearest),cch_network);
-                       ListMenu.AppendValues(icoSys.ScaleSimple(20,20, 
Gdk.InterpType.Nearest),cch_loginManager);
-                       ListMenu.AppendValues(icoSys.ScaleSimple(20,20, 
Gdk.InterpType.Nearest),cch_support);
-                       ListMenu.AppendValues(icoSys.ScaleSimple(20,20, 
Gdk.InterpType.Nearest),cch_news);
-                       ListMenu.AppendValues(icoSys.ScaleSimple(20,20, 
Gdk.InterpType.Nearest),cch_configuration);
-                       ListMenu.AppendValues(icoSys.ScaleSimple(20,20, 
Gdk.InterpType.Nearest),cch_about);
+                       Pixbuf icoX = global::Gdk.Pixbuf.LoadFromResource 
("frugalmonotools.Pictures.icons.xorg.png");
+                       ListMenu.AppendValues(icoX.ScaleSimple(20,20, 
Gdk.InterpType.Nearest), cch_xorg);
+                       Pixbuf icoupdate = global::Gdk.Pixbuf.LoadFromResource 
("frugalmonotools.Pictures.icons.update.png");
+                       ListMenu.AppendValues(icoupdate.ScaleSimple(20,20, 
Gdk.InterpType.Nearest),cch_update);
+                       Pixbuf icopkg = global::Gdk.Pixbuf.LoadFromResource 
("frugalmonotools.Pictures.icons.packages.png");
+                       ListMenu.AppendValues(icopkg.ScaleSimple(20,20, 
Gdk.InterpType.Nearest),cch_packages);
+                       Pixbuf icohardware = 
global::Gdk.Pixbuf.LoadFromResource 
("frugalmonotools.Pictures.icons.hardware.png");
+                       ListMenu.AppendValues(icohardware.ScaleSimple(20,20, 
Gdk.InterpType.Nearest),cch_hardware);
+                       Pixbuf icoservices = 
global::Gdk.Pixbuf.LoadFromResource 
("frugalmonotools.Pictures.icons.services.png");
+                       ListMenu.AppendValues(icoservices.ScaleSimple(20,20, 
Gdk.InterpType.Nearest),cch_services);
+                       Pixbuf iconet = global::Gdk.Pixbuf.LoadFromResource 
("frugalmonotools.Pictures.icons.network.png");
+                       ListMenu.AppendValues(iconet.ScaleSimple(20,20, 
Gdk.InterpType.Nearest),cch_network);
+                       Pixbuf icologin = global::Gdk.Pixbuf.LoadFromResource 
("frugalmonotools.Pictures.icons.loginmanager.png");
+                       ListMenu.AppendValues(icologin.ScaleSimple(20,20, 
Gdk.InterpType.Nearest),cch_loginManager);
+                       Pixbuf icosup = global::Gdk.Pixbuf.LoadFromResource 
("frugalmonotools.Pictures.icons.support.png");
+                       ListMenu.AppendValues(icosup.ScaleSimple(20,20, 
Gdk.InterpType.Nearest),cch_support);
+                       Pixbuf iconews = global::Gdk.Pixbuf.LoadFromResource 
("frugalmonotools.Pictures.icons.news.png");
+                       ListMenu.AppendValues(iconews.ScaleSimple(20,20, 
Gdk.InterpType.Nearest),cch_news);
+                       Pixbuf icoconfig = global::Gdk.Pixbuf.LoadFromResource 
("frugalmonotools.Pictures.icons.configurations.png");
+                       ListMenu.AppendValues(icoconfig.ScaleSimple(20,20, 
Gdk.InterpType.Nearest),cch_configuration);
+                       Pixbuf icoabout = global::Gdk.Pixbuf.LoadFromResource 
("frugalmonotools.Pictures.icons.about.png");
+                       ListMenu.AppendValues(icoabout.ScaleSimple(20,20, 
Gdk.InterpType.Nearest),cch_about);

//see module system
SelectModule(cch_system);
diff --git a/frugal-mono-tools/Pictures/icons/about.png 
b/frugal-mono-tools/Pictures/icons/about.png
new file mode 100755
index 0000000..917bdbb
Binary files /dev/null and b/frugal-mono-tools/Pictures/icons/about.png differ
diff --git a/frugal-mono-tools/Pictures/icons/applications-monodevelopment.png 
b/frugal-mono-tools/Pictures/icons/applications-monodevelopment.png
new file mode 100755
index 0000000..bd58726
Binary files /dev/null and 
b/frugal-mono-tools/Pictures/icons/applications-monodevelopment.png differ
diff --git a/frugal-mono-tools/Pictures/icons/configurations.png 
b/frugal-mono-tools/Pictures/icons/configurations.png
new file mode 100755
index 0000000..18ffa67
Binary files /dev/null and 
b/frugal-mono-tools/Pictures/icons/configurations.png differ
diff --git a/frugal-mono-tools/Pictures/icons/gpk-prefs.png 
b/frugal-mono-tools/Pictures/icons/gpk-prefs.png
new file mode 100755
index 0000000..c80ce41
Binary files /dev/null and b/frugal-mono-tools/Pictures/icons/gpk-prefs.png 
differ
diff --git a/frugal-mono-tools/Pictures/icons/hardware.png 
b/frugal-mono-tools/Pictures/icons/hardware.png
new file mode 100755
index 0000000..f3ca6ff
Binary files /dev/null and b/frugal-mono-tools/Pictures/icons/hardware.png 
differ
diff --git a/frugal-mono-tools/Pictures/icons/hardwareold.png 
b/frugal-mono-tools/Pictures/icons/hardwareold.png
new file mode 100755
index 0000000..63e91ff
Binary files /dev/null and b/frugal-mono-tools/Pictures/icons/hardwareold.png 
differ
diff --git a/frugal-mono-tools/Pictures/icons/loginmanager.png 
b/frugal-mono-tools/Pictures/icons/loginmanager.png
new file mode 100755
index 0000000..a8f9ecf
Binary files /dev/null and b/frugal-mono-tools/Pictures/icons/loginmanager.png 
differ
diff --git a/frugal-mono-tools/Pictures/icons/network.png 
b/frugal-mono-tools/Pictures/icons/network.png
new file mode 100755
index 0000000..009a865
Binary files /dev/null and b/frugal-mono-tools/Pictures/icons/network.png differ
diff --git a/frugal-mono-tools/Pictures/icons/news.png 
b/frugal-mono-tools/Pictures/icons/news.png
new file mode 100755
index 0000000..5ea0f9d
Binary files /dev/null and b/frugal-mono-tools/Pictures/icons/news.png differ
diff --git a/frugal-mono-tools/Pictures/icons/packages.png 
b/frugal-mono-tools/Pictures/icons/packages.png
new file mode 100755
index 0000000..1a98c7e
Binary files /dev/null and b/frugal-mono-tools/Pictures/icons/packages.png 
differ
diff --git a/frugal-mono-tools/Pictures/icons/services.png 
b/frugal-mono-tools/Pictures/icons/services.png
new file mode 100755
index 0000000..2f7493d
Binary files /dev/null and b/frugal-mono-tools/Pictures/icons/services.png 
differ
diff --git a/frugal-mono-tools/Pictures/icons/stock_zoom-page.png 
b/frugal-mono-tools/Pictures/icons/stock_zoom-page.png
new file mode 100755
index 0000000..9a5a237
Binary files /dev/null and 
b/frugal-mono-tools/Pictures/icons/stock_zoom-page.png differ
diff --git a/frugal-mono-tools/Pictures/icons/support.png 
b/frugal-mono-tools/Pictures/icons/support.png
new file mode 100755
index 0000000..bbaa598
Binary files /dev/null and b/frugal-mono-tools/Pictures/icons/support.png differ
diff --git a/frugal-mono-tools/Pictures/icons/system.png 
b/frugal-mono-tools/Pictures/icons/system.png
new file mode 100755
index 0000000..0ca4556
Binary files /dev/null and b/frugal-mono-tools/Pictures/icons/system.png differ
diff --git a/frugal-mono-tools/Pictures/icons/update.png 
b/frugal-mono-tools/Pictures/icons/update.png
new file mode 100755
index 0000000..7e45e23
Binary files /dev/null and b/frugal-mono-tools/Pictures/icons/update.png differ
diff --git a/frugal-mono-tools/Pictures/icons/xorg.png 
b/frugal-mono-tools/Pictures/icons/xorg.png
new file mode 100755
index 0000000..409a17d
Binary files /dev/null and b/frugal-mono-tools/Pictures/icons/xorg.png differ
diff --git a/frugal-mono-tools/frugal-mono-tools.csproj 
b/frugal-mono-tools/frugal-mono-tools.csproj
index c356f11..657b518 100644
--- a/frugal-mono-tools/frugal-mono-tools.csproj
+++ b/frugal-mono-tools/frugal-mono-tools.csproj
@@ -69,6 +69,18 @@
<EmbeddedResource Include="Pictures\xfcelogo.png" />
<EmbeddedResource Include="Pictures\xorglogo.png" />
<EmbeddedResource Include="Pictures\fw-mini.png" />
+    <EmbeddedResource Include="Pictures\icons\about.png" />
+    <EmbeddedResource Include="Pictures\icons\configurations.png" />
+    <EmbeddedResource Include="Pictures\icons\hardware.png" />
+    <EmbeddedResource Include="Pictures\icons\loginmanager.png" />
+    <EmbeddedResource Include="Pictures\icons\network.png" />
+    <EmbeddedResource Include="Pictures\icons\news.png" />
+    <EmbeddedResource Include="Pictures\icons\packages.png" />
+    <EmbeddedResource Include="Pictures\icons\services.png" />
+    <EmbeddedResource Include="Pictures\icons\support.png" />
+    <EmbeddedResource Include="Pictures\icons\system.png" />
+    <EmbeddedResource Include="Pictures\icons\xorg.png" />
+    <EmbeddedResource Include="Pictures\icons\update.png" />
</ItemGroup>
<ItemGroup>
<Compile Include="gtk-gui\generated.cs" />
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to