[kupfer] Partial revert of "Uupdated Galician translations"
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [kupfer] Partial revert of "Uupdated Galician translations"
- Date: Sat, 1 Jan 2011 14:48:54 +0000 (UTC)
commit 7f4555f591ce9f2c756cc1a6e360b7c44fdc5b1b
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Sat Jan 1 15:47:47 2011 +0100
Partial revert of "Uupdated Galician translations"
Reverting the (unintended) change of the ./kupfer-run symlink in a
translation update.
This reverts commit 1d9128c8da48b74595e9de57b0c69c90d4b28e63.
kupfer-run | 81 +-----------------------------------------------------------
1 files changed, 1 insertions(+), 80 deletions(-)
---
diff --git a/kupfer-run b/kupfer-run
deleted file mode 100755
index 1d477a5..0000000
--- a/kupfer-run
+++ /dev/null
@@ -1,80 +0,0 @@
-#!/bin/bash
-# kupfer A convenient command and access tool
-#
-# Copyright 2007--2010 Ulrik Sverdrup <ulrik sverdrup gmail com>
-#
-# 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 3 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, see <http://www.gnu.org/licenses/>.
-
-# This script invokes kupfer by calling an already running instance, or
-# starting a new if none is found running.
-
-PYTHON="@PYTHON@"
-PYTHONDIR="@PYTHONDIR@"
-test ${PYTHON:0:1} = "@" && PYTHON=python2.6
-test ${PYTHONDIR:0:1} = "@" && PYTHONDIR=$(dirname $(realpath $0))/..
-
-SERVICE="se.kaizer.kupfer"
-OBJ="/interface"
-IFACE="se.kaizer.kupfer.Listener"
-
-# We allow reading directly from stdin if we pipe text into Kupfer
-if ! tty --quiet
-then
- echo "kupfer: Reading from stdin" > /dev/stderr
- TEXT_INPUT=$(cat)
-fi
-
-# If there are any options, like "--help", we run Kupfer directly
-test "x${1:0:2}" = "x--"
-KUPFER_HAS_OPTIONS=$?
-
-test $KUPFER_HAS_OPTIONS != 0 && dbus-send --type=method_call --print-reply \
- --dest=$SERVICE $OBJ $IFACE.Present >/dev/null 2>&1
-KUPFER_RUNNING=$?
-
-if test \( -n "$TEXT_INPUT" -a $KUPFER_HAS_OPTIONS != 0 \)
-then
- dbus-send --type=method_call --dest=$SERVICE $OBJ \
- $IFACE.PutText string:"$TEXT_INPUT"
-fi
-
-_realpaths () {
- # Emit realpaths for arguments, separated by NUL bytes
- while test $# != 0
- do
- echo -ne $(realpath "$1")"\0"
- shift
- done
-}
-
-if test \( -n "$1" -a $KUPFER_HAS_OPTIONS != 0 \)
-then
- # NOTE: We must escape commas here since it is dbus-send's
- # array item separator. This is then unescaped by kupfer
- ARRAY=$(_realpaths "$@" | sed -e 's/,/%%kupfercomma%%/g' | tr \\0 ,)
- dbus-send --type=method_call --dest=$SERVICE $OBJ \
- $IFACE.PutFiles array:string:"$ARRAY"
-fi
-
-
-
-if test $KUPFER_RUNNING != 0
-then
- exec ${PYTHON} "$PYTHONDIR/kupfer.py" $*
-fi
-
-if test -n "$DESKTOP_STARTUP_ID"
-then
- ${PYTHON} -c "import gtk.gdk; gtk.gdk.notify_startup_complete()"
-fi
diff --git a/kupfer-run b/kupfer-run
new file mode 120000
index 0000000..eebac8f
--- /dev/null
+++ b/kupfer-run
@@ -0,0 +1 @@
+bin/kupfer.in
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]