[pdfmod] Remove gnome-sharp dep
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pdfmod] Remove gnome-sharp dep
- Date: Fri, 19 Feb 2010 02:44:56 +0000 (UTC)
commit 9fd44663930cf3f35e529c8e67705fb498b8c548
Author: Gabriel Burt <gabriel burt gmail com>
Date: Thu Feb 18 18:43:10 2010 -0800
Remove gnome-sharp dep
configure.ac | 1 -
src/Makefile.am | 1 -
src/PdfMod.mdp | 3 +--
src/PdfMod/Gui/Actions.cs | 7 +------
4 files changed, 2 insertions(+), 10 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 2071c42..5a3e8fd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -108,7 +108,6 @@ AM_GLIB_GNU_GETTEXT
dnl package checks, common for all configs
PKG_CHECK_MODULES([GTK_SHARP_20], [gtk-sharp-2.0])
PKG_CHECK_MODULES([GLIB_SHARP_20], [glib-sharp-2.0])
-PKG_CHECK_MODULES([GNOME_SHARP_20], [gnome-sharp-2.0])
PKG_CHECK_MODULES([GCONF_SHARP_20], [gconf-sharp-2.0])
dnl package checks, per config
diff --git a/src/Makefile.am b/src/Makefile.am
index 28e7238..52a31d6 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -84,7 +84,6 @@ REFERENCES = \
Mono.Posix \
-pkg:gconf-sharp-2.0 \
-pkg:glib-sharp-2.0 \
- -pkg:gnome-sharp-2.0 \
-pkg:gtk-sharp-2.0 \
-pkg:hyena \
-pkg:hyena.gui \
diff --git a/src/PdfMod.mdp b/src/PdfMod.mdp
index d784070..aa37e31 100644
--- a/src/PdfMod.mdp
+++ b/src/PdfMod.mdp
@@ -52,7 +52,6 @@
<ProjectReference type="Gac" localcopy="True" refto="Mono.Cairo, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" />
<ProjectReference type="Gac" localcopy="True" refto="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<ProjectReference type="Project" localcopy="True" refto="PdfSharp" />
- <ProjectReference type="Gac" localcopy="True" refto="gnome-sharp, Version=2.24.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<ProjectReference type="Gac" localcopy="True" refto="gconf-sharp, Version=2.24.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<ProjectReference type="Gac" localcopy="True" refto="Hyena, Version=0.0.0.0, Culture=neutral" />
<ProjectReference type="Gac" localcopy="True" refto="Hyena.Gui, Version=0.0.0.0, Culture=neutral" />
@@ -68,4 +67,4 @@
<AsmRefVar Sync="True" Name="DLL_REFERENCES" />
<ProjectRefVar Sync="True" Name="PROJECT_REFERENCES" />
</MonoDevelop.Autotools.MakefileInfo>
-</Project>
\ No newline at end of file
+</Project>
diff --git a/src/PdfMod/Gui/Actions.cs b/src/PdfMod/Gui/Actions.cs
index 94e7b92..ad88146 100644
--- a/src/PdfMod/Gui/Actions.cs
+++ b/src/PdfMod/Gui/Actions.cs
@@ -107,12 +107,7 @@ namespace PdfMod.Gui
this["RotateLeft"].IconName = "object-rotate-left";
this["ExportImages"].IconName = "image-x-generic";
- // Don't show Help unless we can at least access some of the GNOME api
- UpdateAction ("Help", false);
- try {
- Gnome.Program.Get ();
- UpdateAction ("Help", true);
- } catch {}
+ UpdateAction ("Help", true);
Update ();
app.IconView.SelectionChanged += OnChanged;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]