[Goodies-commits] r3486 - in xfvnc/trunk: . po xfvnc

Brian Tarricone kelnos at xfce.org
Fri Nov 2 09:25:05 CET 2007


Author: kelnos
Date: 2007-11-02 08:25:05 +0000 (Fri, 02 Nov 2007)
New Revision: 3486

Added:
   xfvnc/trunk/AUTHORS
   xfvnc/trunk/COPYING
   xfvnc/trunk/ChangeLog
   xfvnc/trunk/Makefile.am
   xfvnc/trunk/NEWS
   xfvnc/trunk/README
   xfvnc/trunk/autogen.sh
   xfvnc/trunk/configure.ac.in
   xfvnc/trunk/po/
   xfvnc/trunk/po/ChangeLog
   xfvnc/trunk/po/LINGUAS
   xfvnc/trunk/po/POTFILES.in
   xfvnc/trunk/xfvnc/
   xfvnc/trunk/xfvnc/Makefile.am
   xfvnc/trunk/xfvnc/main.c
   xfvnc/trunk/xfvnc/xfvnc.desktop.in
   xfvnc/trunk/xfvnc/xfvnc.glade
Log:
import xfvnc.  this is what happens when i get bored.  sigh.


Added: xfvnc/trunk/AUTHORS
===================================================================
--- xfvnc/trunk/AUTHORS	                        (rev 0)
+++ xfvnc/trunk/AUTHORS	2007-11-02 08:25:05 UTC (rev 3486)
@@ -0,0 +1 @@
+Brian Tarricone <bjt23 at cornell.edu>

Added: xfvnc/trunk/COPYING
===================================================================
--- xfvnc/trunk/COPYING	                        (rev 0)
+++ xfvnc/trunk/COPYING	2007-11-02 08:25:05 UTC (rev 3486)
@@ -0,0 +1,340 @@
+		    GNU GENERAL PUBLIC LICENSE
+		       Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+     51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+			    Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+		    GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License.  The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language.  (Hereinafter, translation is included without limitation in
+the term "modification".)  Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+  1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+  2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) You must cause the modified files to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    b) You must cause any work that you distribute or publish, that in
+    whole or in part contains or is derived from the Program or any
+    part thereof, to be licensed as a whole at no charge to all third
+    parties under the terms of this License.
+
+    c) If the modified program normally reads commands interactively
+    when run, you must cause it, when started running for such
+    interactive use in the most ordinary way, to print or display an
+    announcement including an appropriate copyright notice and a
+    notice that there is no warranty (or else, saying that you provide
+    a warranty) and that users may redistribute the program under
+    these conditions, and telling the user how to view a copy of this
+    License.  (Exception: if the Program itself is interactive but
+    does not normally print such an announcement, your work based on
+    the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+    a) Accompany it with the complete corresponding machine-readable
+    source code, which must be distributed under the terms of Sections
+    1 and 2 above on a medium customarily used for software interchange; or,
+
+    b) Accompany it with a written offer, valid for at least three
+    years, to give any third party, for a charge no more than your
+    cost of physically performing source distribution, a complete
+    machine-readable copy of the corresponding source code, to be
+    distributed under the terms of Sections 1 and 2 above on a medium
+    customarily used for software interchange; or,
+
+    c) Accompany it with the information you received as to the offer
+    to distribute corresponding source code.  (This alternative is
+    allowed only for noncommercial distribution and only if you
+    received the program in object code or executable form with such
+    an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it.  For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable.  However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License.  Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+  5. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Program or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+  6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+  7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded.  In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+  9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation.  If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+  10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission.  For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this.  Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+			    NO WARRANTY
+
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+		     END OF TERMS AND CONDITIONS
+
+	    How to Apply These Terms to Your New Programs
+
+  If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+  To do so, attach the following notices to the program.  It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+    Gnomovision version 69, Copyright (C) year  name of author
+    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License.  Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary.  Here is a sample; alter the names:
+
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+  `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+  <signature of Ty Coon>, 1 April 1989
+  Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs.  If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library.  If this is what you want to do, use the GNU Library General
+Public License instead of this License.

Added: xfvnc/trunk/ChangeLog
===================================================================

Added: xfvnc/trunk/Makefile.am
===================================================================
--- xfvnc/trunk/Makefile.am	                        (rev 0)
+++ xfvnc/trunk/Makefile.am	2007-11-02 08:25:05 UTC (rev 3486)
@@ -0,0 +1,2 @@
+SUBDIRS = \
+	xfvnc

Added: xfvnc/trunk/NEWS
===================================================================

Added: xfvnc/trunk/README
===================================================================

Added: xfvnc/trunk/autogen.sh
===================================================================
--- xfvnc/trunk/autogen.sh	                        (rev 0)
+++ xfvnc/trunk/autogen.sh	2007-11-02 08:25:05 UTC (rev 3486)
@@ -0,0 +1,44 @@
+#!/bin/sh
+#
+# $Id: autogen.sh 23241 2006-09-29 19:05:15Z kelnos $
+#
+# Copyright (c) 2002-2005
+#         The Xfce development team. All rights reserved.
+#
+# Written for Xfce by Benedikt Meurer <benny at xfce.org>.
+#
+
+(type xdt-autogen) >/dev/null 2>&1 || {
+  cat >&2 <<EOF
+autogen.sh: You don't seem to have the Xfce development tools installed on
+            your system, which are required to build this software.
+            Please install the xfce4-dev-tools package first, available from
+            http://xfce.org/~benny/projects/xfce4-dev-tools/.
+EOF
+  exit 1
+}
+
+# verify that po/LINGUAS is present
+(test -f po/LINGUAS) >/dev/null 2>&1 || {
+  cat >&2 <<EOF
+autogen.sh: The file po/LINGUAS could not be found. Please check your snapshot
+            or try to checkout again.
+EOF
+  exit 1
+}
+
+echo 'dnl *** This file is automatically generated from configure.ac.in ***' \
+	>configure.ac
+echo 'dnl *** DO NOT EDIT! ***' >>configure.ac
+echo >>configure.ac
+
+# substitute revision and linguas
+linguas=`sed -e '/^#/d' po/LINGUAS`
+revision=`LC_ALL=C svn info $0 | awk '/^Revision: / {printf "%05d\n", $2}'`
+sed -e "s/@LINGUAS@/${linguas}/g" \
+    -e "s/@REVISION@/${revision}/g" \
+    < "configure.ac.in" >> "configure.ac"
+
+xdt-autogen $@
+
+# vi:set ts=2 sw=2 et ai:


Property changes on: xfvnc/trunk/autogen.sh
___________________________________________________________________
Name: svn:executable
   + 

Added: xfvnc/trunk/configure.ac.in
===================================================================
--- xfvnc/trunk/configure.ac.in	                        (rev 0)
+++ xfvnc/trunk/configure.ac.in	2007-11-02 08:25:05 UTC (rev 3486)
@@ -0,0 +1,73 @@
+dnl configure.ac
+dnl
+dnl xfvnc - a gtk frontend to vncviewer for xfce
+dnl
+dnl Copyright (c) 2007 Brian Tarricone <bjt23 at cornell.edu>
+dnl
+
+dnl version info
+m4_define([xfvnc_version_major], [0])
+m4_define([xfvnc_version_minor], [1])
+m4_define([xfvnc_version_micro], [0])
+m4_define([xfvnc_version_build], [r at REVISION@])
+m4_define([xfvnc_version_tag], [svn])
+m4_define([xfvnc_version], [xfvnc_version_major().xfvnc_version_minor().xfvnc_version_micro()ifelse(xfvnc_version_tag(), [svn], [xfvnc_version_tag()-xfvnc_version_build()], [xfvnc_version_tag()])])
+
+dnl init autoconf
+AC_INIT([xfvnc], [xfvnc_version], [bjt23 at cornell.edu])
+AC_PREREQ([2.50])
+
+dnl init automake
+AM_INIT_AUTOMAKE()
+AM_CONFIG_HEADER([config.h])
+dnl AC_DEFINE([WEBSITE], ["http://spuriousinterrupt.org/projects/xfvnc"],
+dnl           [Location of the xfvnc website])
+AM_MAINTAINER_MODE
+
+dnl check for UNIX variants
+AC_AIX
+AC_ISC_POSIX
+AC_MINIX
+
+dnl check for basic programs
+AC_PROG_CC
+AM_PROG_CC_C_O
+AC_PROG_INSTALL
+AC_PROG_INTLTOOL([0.31], [no-xml])
+dnl AC_PROG_MAKE_SET
+
+dnl check for standard header files
+AC_HEADER_STDC
+AC_CHECK_HEADERS([stdlib.h])
+
+dnl version information
+XFVNC_VERSION=xfvnc_version
+AC_SUBST(XFVNC_VERSION)
+
+dnl Check for i18n support
+XDT_I18N([@LINGUAS@])
+
+dnl Check for X11 installed
+dnl XDT_CHECK_LIBX11_REQUIRE
+
+dnl required
+XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.6.0])
+XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.4.0])
+XDT_CHECK_PACKAGE([LIBXFCEGUI4], [libxfcegui4-1.0], [4.4.0])
+XDT_CHECK_PACKAGE([LIBGLADE], [libglade-2.0], [2.6.0])
+XDT_CHECK_PACKAGE([GTK_VNC], [gtk-vnc-1.0], [0.2.0])
+
+
+dnl check for debugging support
+XDT_FEATURE_DEBUG
+dnl if test "x$enable_debug" = "xfull"; then
+dnl     if test "x$CC" = "xgcc"; then
+dnl         CFLAGS="$CFLAGS -fno-strict-aliasing"
+dnl     fi
+dnl fi
+
+AC_OUTPUT([
+Makefile
+po/Makefile.in
+xfvnc/Makefile
+])

Added: xfvnc/trunk/po/ChangeLog
===================================================================

Added: xfvnc/trunk/po/LINGUAS
===================================================================

Added: xfvnc/trunk/po/POTFILES.in
===================================================================
--- xfvnc/trunk/po/POTFILES.in	                        (rev 0)
+++ xfvnc/trunk/po/POTFILES.in	2007-11-02 08:25:05 UTC (rev 3486)
@@ -0,0 +1,3 @@
+xfvnc/main.c
+
+xfvnc/xfvnc.desktop.in

Added: xfvnc/trunk/xfvnc/Makefile.am
===================================================================
--- xfvnc/trunk/xfvnc/Makefile.am	                        (rev 0)
+++ xfvnc/trunk/xfvnc/Makefile.am	2007-11-02 08:25:05 UTC (rev 3486)
@@ -0,0 +1,34 @@
+bin_PROGRAMS = xfvnc
+
+xfvnc_SOURCES = \
+	main.c
+
+xfvnc_CFLAGS = \
+	-DLOCALEDIR=\"$(localedir)\" \
+	$(LIBXFCE4UTIL_CFLAGS) \
+	$(LIBXFCEGUI4_CFLAGS) \
+	$(GTK_CFLAGS) \
+	$(LIBGLADE_CFLAGS) \
+	$(GTK_VNC_CFLAGS)
+
+xfvnc_LDADD = \
+	$(LIBXFCE4UTIL_LIBS) \
+	$(LIBXFCEGUI4_LIBS) \
+	$(GTK_LIBS) \
+	$(LIBGLADE_LIBS) \
+	$(GTK_VNC_LIBS)
+
+gladedir = $(datadir)/xfvnc
+glade_DATA = xfvnc.glade
+
+desktopdir = $(datadir)/applications
+desktop_in_files = xfvnc.desktop.in
+desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+ at INTLTOOL_DESKTOP_RULE@
+
+CLEANFILES = \
+	$(desktop_DATA)
+
+EXTRA_DIST = \
+	$(desktop_in_files) \
+	$(glade_DATA)

Added: xfvnc/trunk/xfvnc/main.c
===================================================================
--- xfvnc/trunk/xfvnc/main.c	                        (rev 0)
+++ xfvnc/trunk/xfvnc/main.c	2007-11-02 08:25:05 UTC (rev 3486)
@@ -0,0 +1,204 @@
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+
+#include <gtk/gtk.h>
+#include <glade/glade.h>
+
+#include <libxfce4util/libxfce4util.h>
+#include <libxfcegui4/libxfcegui4.h>
+
+#include <vncdisplay.h>
+
+
+static void
+vnc_connected(VncDisplay *vnc,
+              gpointer user_data)
+{
+    GladeXML *gxml = user_data;
+    GtkWidget *lbl_progress;
+    
+    lbl_progress = glade_xml_get_widget(gxml, "progress_label");
+    gtk_label_set_text(GTK_LABEL(lbl_progress),
+                       _("Connected.  Starting session..."));
+}
+
+static void
+vnc_initialized(VncDisplay *vnc,
+                gpointer user_data)
+{
+    GladeXML *gxml = user_data;
+    GtkWidget *win, *connect_win, *progress_dlg;
+    guint pulse_id;
+    gchar *title;
+    
+    progress_dlg = glade_xml_get_widget(gxml, "progress_dlg");
+    pulse_id = GPOINTER_TO_UINT(g_object_get_data(G_OBJECT(progress_dlg),
+                                "pulse-timeout-id"));
+    g_source_remove(pulse_id);
+    gtk_widget_destroy(progress_dlg);
+    
+    connect_win = glade_xml_get_widget(gxml, "connect_window");
+    gtk_widget_destroy(connect_win);
+    
+    win = glade_xml_get_widget(gxml, "vnc_window");
+    title = g_strdup_printf(_("XfVNC .:. %s"), vnc_display_get_name(vnc));
+    gtk_window_set_title(GTK_WINDOW(win), title);
+    g_free(title);
+    gtk_widget_show_all(win);
+}
+
+static void
+vnc_auth_failure(VncDisplay *vnc,
+                 const gchar *message,
+                 gpointer user_data)
+{
+    GladeXML *gxml = user_data;
+    GtkWidget *progress_dlg = glade_xml_get_widget(gxml, "progress_dlg");
+    
+    xfce_message_dialog(GTK_WINDOW(progress_dlg), _("Connection Error"),
+                        GTK_STOCK_DIALOG_ERROR,
+                        _("There was an error connecting to the VNC server"),
+                        message ? message : _("Unfortunately, the type of error is unknown."),
+                        GTK_STOCK_QUIT, GTK_RESPONSE_ACCEPT, NULL);
+    
+    gtk_main_quit();
+}
+
+static void
+vnc_desktop_resize(VncDisplay *vnc,
+                   gint width,
+                   gint height,
+                   gpointer user_data)
+{
+    GladeXML *gxml = user_data;
+    GtkWidget *win;
+    
+    win = glade_xml_get_widget(gxml, "vnc_window");
+    gtk_window_resize(GTK_WINDOW(win), width, height);
+}
+
+static gboolean
+progress_pulse(gpointer data)
+{
+    GtkProgressBar *pbar = data;
+    gtk_progress_bar_pulse(pbar);
+    return TRUE;
+}
+
+static void
+progress_cancel_clicked(GtkWidget *widget,
+                        gpointer user_data)
+{
+    gtk_main_quit();
+}
+
+static void
+connect_clicked(GtkWidget *widget,
+                gpointer user_data)
+{
+    GladeXML *gxml = user_data;
+    GtkWidget *win, *sw, *vnc, *entry_host, *entry_displaynum, *entry_password;
+    GtkWidget *progress_dlg;
+    gchar *host, *dnum, *pass, *port;
+    guint pulse_id;
+    
+    entry_host = glade_xml_get_widget(gxml, "entry_host");
+    host = gtk_editable_get_chars(GTK_EDITABLE(entry_host), 0, -1);
+    entry_displaynum = glade_xml_get_widget(gxml, "entry_displaynum");
+    dnum = gtk_editable_get_chars(GTK_EDITABLE(entry_displaynum), 0, -1);
+    entry_password = glade_xml_get_widget(gxml, "entry_password");
+    pass = gtk_editable_get_chars(GTK_EDITABLE(entry_password), 0, -1);
+    
+    port = g_strdup_printf("%d", 5900 + atoi(dnum));
+    g_free(dnum);
+    
+    win = glade_xml_get_widget(gxml, "vnc_window");
+    gtk_widget_realize(win);
+    
+    sw = glade_xml_get_widget(gxml, "vnc_window_sw");
+    gtk_widget_show(sw);
+    
+    vnc = vnc_display_new();
+    vnc_display_set_use_shm(VNC_DISPLAY(vnc), TRUE);
+    vnc_display_set_pointer_local(VNC_DISPLAY(vnc), TRUE);
+    vnc_display_set_pointer_grab(VNC_DISPLAY(vnc), FALSE);
+    vnc_display_set_keyboard_grab(VNC_DISPLAY(vnc), FALSE);
+    vnc_display_set_credential(VNC_DISPLAY(vnc),
+                               VNC_DISPLAY_CREDENTIAL_CLIENTNAME,
+                               "XfVNC");
+    vnc_display_set_credential(VNC_DISPLAY(vnc),
+                               VNC_DISPLAY_CREDENTIAL_PASSWORD,
+                               pass);
+    vnc_display_open_host(VNC_DISPLAY(vnc), host, port);
+    gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(sw), vnc);
+    gtk_widget_realize(vnc);
+    g_signal_connect(G_OBJECT(vnc), "vnc-connected",
+                     G_CALLBACK(vnc_connected), gxml);
+    g_signal_connect(G_OBJECT(vnc), "vnc-initialized",
+                     G_CALLBACK(vnc_initialized), gxml);
+    g_signal_connect(G_OBJECT(vnc), "vnc-disconnected",
+                     G_CALLBACK(gtk_main_quit), NULL);
+    g_signal_connect(G_OBJECT(vnc), "vnc-auth-failure",
+                     G_CALLBACK(vnc_auth_failure),gxml);
+    g_signal_connect(G_OBJECT(vnc), "vnc-desktop-resize",
+                     G_CALLBACK(vnc_desktop_resize), gxml);
+    
+    g_free(host);
+    g_free(port);
+    g_free(pass);
+    
+    progress_dlg = glade_xml_get_widget(gxml, "progress_dlg");
+    gtk_widget_show_all(progress_dlg);
+    g_signal_connect(G_OBJECT(glade_xml_get_widget(gxml,
+                                                   "btn_progress_cancel")),
+                     "clicked", G_CALLBACK(progress_cancel_clicked), gxml);
+    
+    pulse_id = g_timeout_add(150, progress_pulse,
+                             glade_xml_get_widget(gxml, "pbar"));
+    g_object_set_data(G_OBJECT(progress_dlg), "pulse-timeout-id",
+                      GUINT_TO_POINTER(pulse_id));
+}
+
+int
+main(int argc,
+     char **argv)
+{
+    GladeXML *gxml;
+    gchar *glade_file;
+    GtkWidget *connect_window;
+    
+    xfce_textdomain(GETTEXT_PACKAGE, LOCALEDIR, "UTF-8");
+    
+    gtk_init(&argc, &argv);
+    
+    glade_file = xfce_resource_lookup(XFCE_RESOURCE_DATA,
+                                      "xfvnc/xfvnc.glade");
+    if(!glade_file)
+        glade_file = g_strdup("xfvnc.glade");
+    if(!glade_file || !(gxml = glade_xml_new(glade_file, NULL, NULL))) {
+        g_error("Unable to load xfvnc.glade");
+        return 1;
+    }
+    
+    glade_xml_signal_autoconnect(gxml);
+    
+    connect_window = glade_xml_get_widget(gxml, "connect_window");
+    gtk_widget_show_all(connect_window);
+    g_signal_connect(G_OBJECT(glade_xml_get_widget(gxml, "btn_connect")),
+                     "clicked", G_CALLBACK(connect_clicked), gxml);
+    
+    g_free(glade_file);
+    
+    gtk_main();
+    
+    g_object_unref(G_OBJECT(gxml));
+    gxml = NULL;
+    
+    return 0;
+}

Added: xfvnc/trunk/xfvnc/xfvnc.desktop.in
===================================================================
--- xfvnc/trunk/xfvnc/xfvnc.desktop.in	                        (rev 0)
+++ xfvnc/trunk/xfvnc/xfvnc.desktop.in	2007-11-02 08:25:05 UTC (rev 3486)
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Encoding=UTF-8
+Version=1.0
+_Name=XfVNC
+_Comment=Xfce VNC Viewer Application
+_GenericName=VNC Viewer
+Exec=xfvnc
+Icon=xfvnc
+Terminal=false
+StartupNotify=false
+Type=Application
+Categories=Application;Network;GTK;

Added: xfvnc/trunk/xfvnc/xfvnc.glade
===================================================================
--- xfvnc/trunk/xfvnc/xfvnc.glade	                        (rev 0)
+++ xfvnc/trunk/xfvnc/xfvnc.glade	2007-11-02 08:25:05 UTC (rev 3486)
@@ -0,0 +1,355 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
+<!--Generated with glade3 3.2.2 on Fri Nov  2 01:11:58 2007 by brian at kepler-->
+<glade-interface>
+  <widget class="GtkWindow" id="connect_window">
+    <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+    <property name="border_width">12</property>
+    <property name="title" translatable="yes">Xfce VNC Client</property>
+    <property name="icon_name">vncviewer</property>
+    <child>
+      <widget class="GtkVBox" id="vbox1">
+        <property name="visible">True</property>
+        <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+        <property name="spacing">6</property>
+        <child>
+          <widget class="GtkHBox" id="hbox1">
+            <property name="visible">True</property>
+            <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+            <property name="spacing">8</property>
+            <child>
+              <widget class="GtkLabel" id="label1">
+                <property name="visible">True</property>
+                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+                <property name="label" translatable="yes">_Recent servers:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">comboboxentry1</property>
+              </widget>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+              </packing>
+            </child>
+            <child>
+              <widget class="GtkComboBoxEntry" id="comboboxentry1">
+                <property name="visible">True</property>
+                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+                <child internal-child="entry">
+                  <widget class="GtkEntry" id="comboboxentry-entry1">
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+                  </widget>
+                </child>
+              </widget>
+              <packing>
+                <property name="position">1</property>
+              </packing>
+            </child>
+          </widget>
+          <packing>
+            <property name="expand">False</property>
+            <property name="fill">False</property>
+          </packing>
+        </child>
+        <child>
+          <widget class="GtkHSeparator" id="hseparator1">
+            <property name="visible">True</property>
+            <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+          </widget>
+          <packing>
+            <property name="expand">False</property>
+            <property name="position">1</property>
+          </packing>
+        </child>
+        <child>
+          <widget class="GtkTable" id="table1">
+            <property name="visible">True</property>
+            <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+            <property name="n_rows">6</property>
+            <property name="n_columns">2</property>
+            <property name="column_spacing">6</property>
+            <property name="row_spacing">3</property>
+            <child>
+              <placeholder/>
+            </child>
+            <child>
+              <placeholder/>
+            </child>
+            <child>
+              <placeholder/>
+            </child>
+            <child>
+              <widget class="GtkEntry" id="entry_displaynum">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+                <property name="activates_default">True</property>
+                <property name="text" translatable="yes">0</property>
+              </widget>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">1</property>
+                <property name="bottom_attach">2</property>
+              </packing>
+            </child>
+            <child>
+              <widget class="GtkEntry" id="entry_host">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+                <property name="activates_default">True</property>
+              </widget>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+              </packing>
+            </child>
+            <child>
+              <widget class="GtkLabel" id="label3">
+                <property name="visible">True</property>
+                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes">Display _number:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">entry_displaynum</property>
+              </widget>
+              <packing>
+                <property name="top_attach">1</property>
+                <property name="bottom_attach">2</property>
+                <property name="x_options">GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <widget class="GtkLabel" id="label2">
+                <property name="visible">True</property>
+                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes">_Computer name:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">entry_host</property>
+              </widget>
+              <packing>
+                <property name="x_options">GTK_FILL</property>
+              </packing>
+            </child>
+            <child>
+              <widget class="GtkLabel" id="label4">
+                <property name="visible">True</property>
+                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes">_Password:</property>
+                <property name="use_underline">True</property>
+                <property name="mnemonic_widget">entry_password</property>
+              </widget>
+              <packing>
+                <property name="top_attach">2</property>
+                <property name="bottom_attach">3</property>
+              </packing>
+            </child>
+            <child>
+              <widget class="GtkEntry" id="entry_password">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+                <property name="visibility">False</property>
+                <property name="activates_default">True</property>
+              </widget>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">2</property>
+                <property name="bottom_attach">3</property>
+              </packing>
+            </child>
+            <child>
+              <widget class="GtkCheckButton" id="chk_viewonly">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+                <property name="label" translatable="yes">_View only</property>
+                <property name="use_underline">True</property>
+                <property name="response_id">0</property>
+                <property name="draw_indicator">True</property>
+              </widget>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">3</property>
+                <property name="bottom_attach">4</property>
+              </packing>
+            </child>
+            <child>
+              <widget class="GtkCheckButton" id="chk_allowother">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+                <property name="label" translatable="yes">_Allow other clients to connect</property>
+                <property name="use_underline">True</property>
+                <property name="response_id">0</property>
+                <property name="draw_indicator">True</property>
+              </widget>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">4</property>
+                <property name="bottom_attach">5</property>
+              </packing>
+            </child>
+            <child>
+              <widget class="GtkCheckButton" id="chk_fullscreen">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+                <property name="label" translatable="yes">Show _fullscreen</property>
+                <property name="use_underline">True</property>
+                <property name="response_id">0</property>
+                <property name="draw_indicator">True</property>
+              </widget>
+              <packing>
+                <property name="left_attach">1</property>
+                <property name="right_attach">2</property>
+                <property name="top_attach">5</property>
+                <property name="bottom_attach">6</property>
+              </packing>
+            </child>
+          </widget>
+          <packing>
+            <property name="expand">False</property>
+            <property name="position">2</property>
+          </packing>
+        </child>
+        <child>
+          <widget class="GtkHButtonBox" id="hbuttonbox1">
+            <property name="visible">True</property>
+            <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+            <property name="spacing">6</property>
+            <property name="layout_style">GTK_BUTTONBOX_END</property>
+            <child>
+              <widget class="GtkButton" id="btn_quit">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">True</property>
+                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+                <property name="label" translatable="yes">gtk-quit</property>
+                <property name="use_stock">True</property>
+                <property name="response_id">0</property>
+                <signal name="clicked" handler="gtk_main_quit"/>
+                <accelerator key="Escape" modifiers="" signal="clicked"/>
+              </widget>
+            </child>
+            <child>
+              <widget class="GtkButton" id="btn_connect">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="has_default">True</property>
+                <property name="receives_default">True</property>
+                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+                <property name="label" translatable="yes">gtk-connect</property>
+                <property name="use_stock">True</property>
+                <property name="response_id">0</property>
+              </widget>
+              <packing>
+                <property name="position">1</property>
+              </packing>
+            </child>
+          </widget>
+          <packing>
+            <property name="expand">False</property>
+            <property name="fill">False</property>
+            <property name="position">3</property>
+          </packing>
+        </child>
+      </widget>
+    </child>
+  </widget>
+  <widget class="GtkDialog" id="progress_dlg">
+    <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+    <property name="border_width">5</property>
+    <property name="title" translatable="yes">XfVNC Status</property>
+    <property name="resizable">False</property>
+    <property name="modal">True</property>
+    <property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
+    <property name="icon_name">vncviewer</property>
+    <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+    <property name="transient_for">connect_window</property>
+    <property name="opacity">0.85000002384185791</property>
+    <property name="has_separator">False</property>
+    <child internal-child="vbox">
+      <widget class="GtkVBox" id="dialog-vbox1">
+        <property name="visible">True</property>
+        <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+        <property name="spacing">3</property>
+        <child>
+          <widget class="GtkLabel" id="progress_label">
+            <property name="visible">True</property>
+            <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+            <property name="xalign">0</property>
+            <property name="label" translatable="yes">Connecting...</property>
+          </widget>
+          <packing>
+            <property name="expand">False</property>
+            <property name="fill">False</property>
+            <property name="position">1</property>
+          </packing>
+        </child>
+        <child>
+          <widget class="GtkProgressBar" id="pbar">
+            <property name="visible">True</property>
+            <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+            <property name="activity_mode">True</property>
+            <property name="text" translatable="yes"></property>
+          </widget>
+          <packing>
+            <property name="expand">False</property>
+            <property name="fill">False</property>
+            <property name="position">2</property>
+          </packing>
+        </child>
+        <child internal-child="action_area">
+          <widget class="GtkHButtonBox" id="dialog-action_area1">
+            <property name="visible">True</property>
+            <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+            <property name="layout_style">GTK_BUTTONBOX_END</property>
+            <child>
+              <widget class="GtkButton" id="btn_progress_cancel">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">True</property>
+                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+                <property name="label" translatable="yes">gtk-cancel</property>
+                <property name="use_stock">True</property>
+                <property name="response_id">0</property>
+                <accelerator key="Escape" modifiers="" signal="clicked"/>
+              </widget>
+            </child>
+          </widget>
+          <packing>
+            <property name="expand">False</property>
+            <property name="pack_type">GTK_PACK_END</property>
+          </packing>
+        </child>
+      </widget>
+    </child>
+  </widget>
+  <widget class="GtkWindow" id="vnc_window">
+    <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+    <property name="title" translatable="yes">XfVNC</property>
+    <property name="icon_name">vncviewer</property>
+    <signal name="delete_event" handler="gtk_main_quit"/>
+    <child>
+      <widget class="GtkScrolledWindow" id="vnc_window_sw">
+        <property name="visible">True</property>
+        <property name="can_focus">True</property>
+        <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+        <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+        <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+        <child>
+          <placeholder/>
+        </child>
+      </widget>
+    </child>
+  </widget>
+</glade-interface>




More information about the Goodies-commits mailing list