Commit 41de441e authored by Jonh Wendell's avatar Jonh Wendell Committed by Jonh Wendell S. Santana
Browse files

// protocol

2008-01-30  Jonh Wendell <jwendell@gnome.org>

	* Register vinagre in gconf as a handler to vnc:// protocol

svn path=/trunk/; revision=160
parent 076f8116
2008-01-30 Jonh Wendell <jwendell@gnome.org>
* Register vinagre in gconf as a handler to vnc:// protocol
2008-01-28 Jonh Wendell <jwendell@gnome.org>
* configure.ac: post-release bump to 0.4.91
......
......@@ -50,6 +50,14 @@ PKG_CHECK_MODULES(VINAGRE, \
AC_SUBST(VINAGRE_CFLAGS)
AC_SUBST(VINAGRE_LIBS)
dnl ================================================================
dnl GConf related settings
dnl ================================================================
AC_PATH_PROG(GCONFTOOL, gconftool-2)
AM_GCONF_SOURCE_2
#*******************************************************************************
# Check for Avahi
#*******************************************************************************
......
......@@ -18,16 +18,34 @@ MIMEFILES = vinagre-mime.xml.in
mimedir = $(datadir)/mime/packages
mime_DATA = vinagre-mime.xml
schemasdir = $(GCONF_SCHEMA_FILE_DIR)
schemas_in_files = vinagre.schemas.in
schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
@INTLTOOL_SCHEMAS_RULE@
if GCONF_SCHEMAS_INSTALL
install-data-local:
if test -z "$(DESTDIR)" ; then \
for p in $(schemas_DATA) ; do \
GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/data/$$p ; \
done \
fi
else
install-data-local:
endif
CLEANFILES = \
$(desktop_DATA) \
$(mime_DATA)
$(mime_DATA) \
$(schemas_DATA)
EXTRA_DIST = \
$(glade_DATA) \
$(man_MANS) \
$(ui_DATA) \
$(desktop_in_files) \
$(MIMEFILES)
$(MIMEFILES) \
$(schemas_in_files)
UPDATE_MIME = \
if [ -f $(DESTDIR)$(datadir)/mime/packages/freedesktop.org.xml ] ; then \
......
<gconfschemafile>
<schemalist>
<schema>
<key>/schemas/desktop/gnome/url-handlers/vnc/command</key>
<applyto>/desktop/gnome/url-handlers/vnc/command</applyto>
<owner>vinagre</owner>
<type>string</type>
<default>vinagre -u %s</default>
<locale name="C">
<short>The handler for "vnc://" URLs</short>
<long></long>
</locale>
</schema>
<schema>
<key>/schemas/desktop/gnome/url-handlers/vnc/needs_terminal</key>
<applyto>/desktop/gnome/url-handlers/vnc/needs_terminal</applyto>
<owner>vinagre</owner>
<type>bool</type>
<default>false</default>
<locale name="C">
<short></short>
<long></long>
</locale>
</schema>
<schema>
<key>/schemas/desktop/gnome/url-handlers/vnc/enabled</key>
<applyto>/desktop/gnome/url-handlers/vnc/enabled</applyto>
<owner>vinagre</owner>
<type>bool</type>
<default>true</default>
<locale name="C">
<short></short>
<long></long>
</locale>
</schema>
</schemalist>
</gconfschemafile>
......@@ -3,6 +3,7 @@
data/vinagre.desktop.in.in
data/vinagre-file.desktop.in.in
data/vinagre.glade
data/vinagre.schemas.in
data/vinagre-mime.xml.in
data/vinagre-ui.xml
src/vinagre-bookmarks.c
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment