[Goodies-commits] r4018 - in xfce4-clipman-plugin/trunk: . panel-plugin po
Mike Massonnet
mmassonnet at xfce.org
Tue Mar 4 16:15:08 CET 2008
Author: mmassonnet
Date: 2008-03-04 15:15:08 +0000 (Tue, 04 Mar 2008)
New Revision: 4018
Added:
xfce4-clipman-plugin/trunk/INSTALL
xfce4-clipman-plugin/trunk/TODO
Removed:
xfce4-clipman-plugin/trunk/.gitignore
xfce4-clipman-plugin/trunk/panel-plugin/.gitignore
xfce4-clipman-plugin/trunk/panel-plugin/xfce4-popup-clipman.c
xfce4-clipman-plugin/trunk/panel-plugin/xfce4-popup-clipman.h
xfce4-clipman-plugin/trunk/po/.gitignore
Modified:
xfce4-clipman-plugin/trunk/AUTHORS
xfce4-clipman-plugin/trunk/ChangeLog
xfce4-clipman-plugin/trunk/README
xfce4-clipman-plugin/trunk/configure.in.in
xfce4-clipman-plugin/trunk/panel-plugin/Makefile.am
xfce4-clipman-plugin/trunk/panel-plugin/clipman-dialogs.c
xfce4-clipman-plugin/trunk/panel-plugin/clipman-dialogs.h
xfce4-clipman-plugin/trunk/panel-plugin/clipman.c
xfce4-clipman-plugin/trunk/panel-plugin/clipman.h
xfce4-clipman-plugin/trunk/po/ChangeLog
xfce4-clipman-plugin/trunk/po/LINGUAS
xfce4-clipman-plugin/trunk/po/ca.po
xfce4-clipman-plugin/trunk/po/cs.po
xfce4-clipman-plugin/trunk/po/de.po
xfce4-clipman-plugin/trunk/po/en_GB.po
xfce4-clipman-plugin/trunk/po/eu.po
xfce4-clipman-plugin/trunk/po/fr.po
xfce4-clipman-plugin/trunk/po/hu.po
xfce4-clipman-plugin/trunk/po/it.po
xfce4-clipman-plugin/trunk/po/ja.po
xfce4-clipman-plugin/trunk/po/lv.po
xfce4-clipman-plugin/trunk/po/nb_NO.po
xfce4-clipman-plugin/trunk/po/pl.po
xfce4-clipman-plugin/trunk/po/pt_BR.po
xfce4-clipman-plugin/trunk/po/pt_PT.po
xfce4-clipman-plugin/trunk/po/sq.po
xfce4-clipman-plugin/trunk/po/uk.po
xfce4-clipman-plugin/trunk/po/ur.po
xfce4-clipman-plugin/trunk/po/xfce4-clipman-plugin.pot
xfce4-clipman-plugin/trunk/po/zh_TW.po
Log:
xfce4-clipman-plugin: revert trunk to r3676
Deleted: xfce4-clipman-plugin/trunk/.gitignore
Modified: xfce4-clipman-plugin/trunk/AUTHORS
===================================================================
--- xfce4-clipman-plugin/trunk/AUTHORS 2008-03-04 15:01:43 UTC (rev 4017)
+++ xfce4-clipman-plugin/trunk/AUTHORS 2008-03-04 15:15:08 UTC (rev 4018)
@@ -1,3 +1,2 @@
Eduard Roccatello <eduard at xfce.org>
Nick Schermer <nickschermer at gmail.com>
-Mike Massonnet <mmassonnet at xfce.org>
Modified: xfce4-clipman-plugin/trunk/ChangeLog
===================================================================
--- xfce4-clipman-plugin/trunk/ChangeLog 2008-03-04 15:01:43 UTC (rev 4017)
+++ xfce4-clipman-plugin/trunk/ChangeLog 2008-03-04 15:15:08 UTC (rev 4018)
@@ -1,129 +1,3 @@
-2008-01-25 Nick Schermer <nick at xfce.org>
-
- * README: Fix missing character ^_^.
-
-2008-01-25 Nick Schermer <nick at xfce.org>
-
- * panel-plugin/clipman.c: Fix missing include.
- * panel-plugin/Makefile.am: Some improvements.
- * README: Small improvement.
-
-2008-01-24 Mike Massonnet <mmassonnet at gmail.com>
-
- * panel-plugin/clipman.c(clipman_plugin_set_size): Scale pixbuf.
-
-2008-01-24 Mike Massonnet <mmassonnet at gmail.com>
-
- * panel-plugin/Makefile.am: Add stuff in INCLUDES
- * panel-plugin/clipman.c: Count padding of 2 (as done by other panel plugins)
- and correct the double xthickness to x/y.
-
-2008-01-14 Mike Massonnet <mmassonnet at gmail.com>
-
- * .gitignore: Add *.swp.
- * TODO: out of ideas. Deleted.
- * po/: update french translation, fix changelog.
-
-2008-01-14 Mike Massonnet <mmassonnet at gmail.com>
-
- * Add .gitignore files.
-
-2008-01-14 Mike Massonnet <mmassonnet at gmail.com>
-
- * panel-plugin/Makefile.am,
- panel-plugin/xfce4-popup-clipman.c,
- panel-plugin/xfce4-popup-clipman.h,
- panel-plugin/clipman.c: Add popup command.
-
-2008-01-14 Mike Massonnet <mmassonnet at gmail.com>
-
- * panel-plugin/clipman.c(clipman_plugin_button_pressed),
- panel-plugin/clipman.c(clipman_plugin_new),
- panel-plugin/clipman.c(clipman_plugin_menu_popup):
- Replace "button_press_event" against a "toggled" signal.
-
-2008-01-14 Mike Massonnet <mmassonnet at gmail.com>
-
- * panel-plugin/clipman.c(clipman_plugin_load_data),
- panel-plugin/clipman.c(clipman_plugin_save_data): Replace g_return_if_fail
- with return since it wouldn't be a bug in the application, but a end-user
- problem (file permission, ...).
- * panel-plugin/clipman.c(clipman_plugin_get_short_text): Replace the UTF-8
- ellipsis with "...".
- * panel-plugin/clipman.c(clipman_plugin_menu_insert_clip),
- panel-plugin/clipman.c(clipman_plugin_menu_item_activate),
- panel-plugin/clipman.c(clipman_plugin_menu_item_pressed): Set a gobject data
- with the pointer of the clip. Remove the g_slist_nth_data() calls.
-
-2008-01-09 Mike Massonnet <mmassonnet at gmail.com>
-
- * panel-plugin/clipman.h: Set save on exit by default.
- * panel-plugin/clipman.c: Three new functions _plugin_add_static/with_text,
- _plugin_delete, where the GUI code fits better. Remove _clips_add_static.
- * panel-plugin/clipman.c(clipman_plugin_load_data): Use DEFBEHAVIOUR
- instead of NORMAL.
- * panel-plugin/clipman.c(clipman_plugin_load_data),
- panel-plugin/clipman.c(clipman_plugin_save_data): Rename StaticClipboard
- to StaticClips. Delete rc group StaticClips before save.
- * panel-plugin/clipman.c(clipman_plugin_menu_item_pressed): Add button
- event 2 to copy to static clipboard. Move code for button event 3 in
- function _plugin_delete.
-
-2008-01-08 Mike Massonnet <mmassonnet at gmail.com>
-
- * po/*.po: make update-po.
- * po/fr.po: Update french translation.
-
-2008-01-08 Mike Massonnet <mmassonnet at gmail.com>
-
- * panel-plugin/clipman-dialogs.h: Move declarations inside clipman-dialogs.c.
- * panel-plugin/clipman-dialogs.c: Refine the dialog.
- * panel-plugin/clipman-dialogs.c, panel-plugin/clipman.c,
- panel-plugin/clipman.h: Add "static selection" option.
-
-2008-01-07 Mike Massonnet <mmassonnet at gmail.com>
-
- * Forget one clipman_clip_free replacement.
-
-2008-01-07 Mike Massonnet <mmassonnet at gmail.com>
-
- * Forget to clean short_text of static clipboard.
-
-2008-01-07 Mike Massonnet <mmassonnet at gmail.com>
-
- * Merge _clips_load_data inside _plugin_load_data.
- * Merge _clips_save_data inside _plugin_save_data.
- * Replace g_slist_length() > 0 with history != NULL.
- * Replace loop while (clip = _nth_data()) with for (list = history; list
- != NULL; list = list->next).
- * Add clipman_clip_new and clipman_clip_free.
- * Declare _clips_delete outside and use it in clipman-dialogs.c to free
- the overlap in the history.
-
-2008-01-06 Mike Massonnet <mmassonnet at gmail.com>
-
- * Extract code from _add_static to _add. Free ClipmanClip in _add if the
- clip exists. Set default value for Ignore Primary to FALSE.
-
-2008-01-06 Mike Massonnet <mmassonnet at gmail.com>
-
- * Save/load the static clipboard. Get rid of some TRACEs.
-
-2008-01-06 Mike Massonnet <mmassonnet at gmail.com>
-
- * Add static clipboard
-
-2008-01-06 Mike Massonnet <mmassonnet at gmail.com>
-
- * Remove more useless files in VCS.
-
-2008-01-05 Mike Massonnet <mmassonnet at xfce.org>
-
- * configure.in.in, panel-plugin/clipman.c, panel-plugin/clipman.h,
- panel-plugin/clipman-dialogs.c, panel-plugin/clipman-dialogs.h: Initial
- rewrite. Separate code between ClipmanPlugin and ClipmanClips. Use a
- GSList to store the history.
-
2006-01-17 Nick Schermer <nick at xfce.org>
* Improve configure files and Makefiles.
Added: xfce4-clipman-plugin/trunk/INSTALL
===================================================================
--- xfce4-clipman-plugin/trunk/INSTALL (rev 0)
+++ xfce4-clipman-plugin/trunk/INSTALL 2008-03-04 15:15:08 UTC (rev 4018)
@@ -0,0 +1,229 @@
+Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software
+Foundation, Inc.
+
+ This file is free documentation; the Free Software Foundation gives
+unlimited permission to copy, distribute and modify it.
+
+Basic Installation
+==================
+
+ These are generic installation instructions.
+
+ The `configure' shell script attempts to guess correct values for
+various system-dependent variables used during compilation. It uses
+those values to create a `Makefile' in each directory of the package.
+It may also create one or more `.h' files containing system-dependent
+definitions. Finally, it creates a shell script `config.status' that
+you can run in the future to recreate the current configuration, and a
+file `config.log' containing compiler output (useful mainly for
+debugging `configure').
+
+ It can also use an optional file (typically called `config.cache'
+and enabled with `--cache-file=config.cache' or simply `-C') that saves
+the results of its tests to speed up reconfiguring. (Caching is
+disabled by default to prevent problems with accidental use of stale
+cache files.)
+
+ If you need to do unusual things to compile the package, please try
+to figure out how `configure' could check whether to do them, and mail
+diffs or instructions to the address given in the `README' so they can
+be considered for the next release. If you are using the cache, and at
+some point `config.cache' contains results you don't want to keep, you
+may remove or edit it.
+
+ The file `configure.ac' (or `configure.in') is used to create
+`configure' by a program called `autoconf'. You only need
+`configure.ac' if you want to change it or regenerate `configure' using
+a newer version of `autoconf'.
+
+The simplest way to compile this package is:
+
+ 1. `cd' to the directory containing the package's source code and type
+ `./configure' to configure the package for your system. If you're
+ using `csh' on an old version of System V, you might need to type
+ `sh ./configure' instead to prevent `csh' from trying to execute
+ `configure' itself.
+
+ Running `configure' takes awhile. While running, it prints some
+ messages telling which features it is checking for.
+
+ 2. Type `make' to compile the package.
+
+ 3. Optionally, type `make check' to run any self-tests that come with
+ the package.
+
+ 4. Type `make install' to install the programs and any data files and
+ documentation.
+
+ 5. You can remove the program binaries and object files from the
+ source code directory by typing `make clean'. To also remove the
+ files that `configure' created (so you can compile the package for
+ a different kind of computer), type `make distclean'. There is
+ also a `make maintainer-clean' target, but that is intended mainly
+ for the package's developers. If you use it, you may have to get
+ all sorts of other programs in order to regenerate files that came
+ with the distribution.
+
+Compilers and Options
+=====================
+
+ Some systems require unusual options for compilation or linking that
+the `configure' script does not know about. Run `./configure --help'
+for details on some of the pertinent environment variables.
+
+ You can give `configure' initial values for configuration parameters
+by setting variables in the command line or in the environment. Here
+is an example:
+
+ ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
+
+ *Note Defining Variables::, for more details.
+
+Compiling For Multiple Architectures
+====================================
+
+ You can compile the package for more than one kind of computer at the
+same time, by placing the object files for each architecture in their
+own directory. To do this, you must use a version of `make' that
+supports the `VPATH' variable, such as GNU `make'. `cd' to the
+directory where you want the object files and executables to go and run
+the `configure' script. `configure' automatically checks for the
+source code in the directory that `configure' is in and in `..'.
+
+ If you have to use a `make' that does not support the `VPATH'
+variable, you have to compile the package for one architecture at a
+time in the source code directory. After you have installed the
+package for one architecture, use `make distclean' before reconfiguring
+for another architecture.
+
+Installation Names
+==================
+
+ By default, `make install' will install the package's files in
+`/usr/local/bin', `/usr/local/man', etc. You can specify an
+installation prefix other than `/usr/local' by giving `configure' the
+option `--prefix=PATH'.
+
+ You can specify separate installation prefixes for
+architecture-specific files and architecture-independent files. If you
+give `configure' the option `--exec-prefix=PATH', the package will use
+PATH as the prefix for installing programs and libraries.
+Documentation and other data files will still use the regular prefix.
+
+ In addition, if you use an unusual directory layout you can give
+options like `--bindir=PATH' to specify different values for particular
+kinds of files. Run `configure --help' for a list of the directories
+you can set and what kinds of files go in them.
+
+ If the package supports it, you can cause programs to be installed
+with an extra prefix or suffix on their names by giving `configure' the
+option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
+
+Optional Features
+=================
+
+ Some packages pay attention to `--enable-FEATURE' options to
+`configure', where FEATURE indicates an optional part of the package.
+They may also pay attention to `--with-PACKAGE' options, where PACKAGE
+is something like `gnu-as' or `x' (for the X Window System). The
+`README' should mention any `--enable-' and `--with-' options that the
+package recognizes.
+
+ For packages that use the X Window System, `configure' can usually
+find the X include and library files automatically, but if it doesn't,
+you can use the `configure' options `--x-includes=DIR' and
+`--x-libraries=DIR' to specify their locations.
+
+Specifying the System Type
+==========================
+
+ There may be some features `configure' cannot figure out
+automatically, but needs to determine by the type of machine the package
+will run on. Usually, assuming the package is built to be run on the
+_same_ architectures, `configure' can figure that out, but if it prints
+a message saying it cannot guess the machine type, give it the
+`--build=TYPE' option. TYPE can either be a short name for the system
+type, such as `sun4', or a canonical name which has the form:
+
+ CPU-COMPANY-SYSTEM
+
+where SYSTEM can have one of these forms:
+
+ OS KERNEL-OS
+
+ See the file `config.sub' for the possible values of each field. If
+`config.sub' isn't included in this package, then this package doesn't
+need to know the machine type.
+
+ If you are _building_ compiler tools for cross-compiling, you should
+use the `--target=TYPE' option to select the type of system they will
+produce code for.
+
+ If you want to _use_ a cross compiler, that generates code for a
+platform different from the build platform, you should specify the
+"host" platform (i.e., that on which the generated programs will
+eventually be run) with `--host=TYPE'.
+
+Sharing Defaults
+================
+
+ If you want to set default values for `configure' scripts to share,
+you can create a site shell script called `config.site' that gives
+default values for variables like `CC', `cache_file', and `prefix'.
+`configure' looks for `PREFIX/share/config.site' if it exists, then
+`PREFIX/etc/config.site' if it exists. Or, you can set the
+`CONFIG_SITE' environment variable to the location of the site script.
+A warning: not all `configure' scripts look for a site script.
+
+Defining Variables
+==================
+
+ Variables not defined in a site shell script can be set in the
+environment passed to `configure'. However, some packages may run
+configure again during the build, and the customized values of these
+variables may be lost. In order to avoid this problem, you should set
+them in the `configure' command line, using `VAR=value'. For example:
+
+ ./configure CC=/usr/local2/bin/gcc
+
+will cause the specified gcc to be used as the C compiler (unless it is
+overridden in the site shell script).
+
+`configure' Invocation
+======================
+
+ `configure' recognizes the following options to control how it
+operates.
+
+`--help'
+`-h'
+ Print a summary of the options to `configure', and exit.
+
+`--version'
+`-V'
+ Print the version of Autoconf used to generate the `configure'
+ script, and exit.
+
+`--cache-file=FILE'
+ Enable the cache: use and save the results of the tests in FILE,
+ traditionally `config.cache'. FILE defaults to `/dev/null' to
+ disable caching.
+
+`--config-cache'
+`-C'
+ Alias for `--cache-file=config.cache'.
+
+`--quiet'
+`--silent'
+`-q'
+ Do not print messages saying which checks are being made. To
+ suppress all normal output, redirect it to `/dev/null' (any error
+ messages will still be shown).
+
+`--srcdir=DIR'
+ Look for the package's source code in directory DIR. Usually
+ `configure' can determine that directory automatically.
+
+`configure' also accepts some other, not widely useful, options. Run
+`configure --help' for more details.
+
Modified: xfce4-clipman-plugin/trunk/README
===================================================================
--- xfce4-clipman-plugin/trunk/README 2008-03-04 15:01:43 UTC (rev 4017)
+++ xfce4-clipman-plugin/trunk/README 2008-03-04 15:15:08 UTC (rev 4018)
@@ -1 +1 @@
-This is a simple clipboard history for Xfce Panel
+This is a simple cliboard history for XFCE4 Panel
Added: xfce4-clipman-plugin/trunk/TODO
===================================================================
Modified: xfce4-clipman-plugin/trunk/configure.in.in
===================================================================
--- xfce4-clipman-plugin/trunk/configure.in.in 2008-03-04 15:01:43 UTC (rev 4017)
+++ xfce4-clipman-plugin/trunk/configure.in.in 2008-03-04 15:15:08 UTC (rev 4018)
@@ -60,10 +60,11 @@
dnl ***********************************
dnl *** Check for required packages ***
dnl ***********************************
-XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.10.0])
-XDT_CHECK_PACKAGE([LIBXFCEGUI4], [libxfcegui4-1.0], [4.4.0])
-XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.4.0])
-XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-1.0], [4.4.0])
+XDT_CHECK_PACKAGE([GTHREAD], [gthread-2.0], [2.6.0])
+XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.6.0])
+XDT_CHECK_PACKAGE([LIBXFCEGUI4], [libxfcegui4-1.0], [4.3.99.2])
+XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.3.99.2])
+XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-1.0], [4.3.99.2])
dnl ***********************************
dnl *** Check for debugging support ***
Deleted: xfce4-clipman-plugin/trunk/panel-plugin/.gitignore
Modified: xfce4-clipman-plugin/trunk/panel-plugin/Makefile.am
===================================================================
--- xfce4-clipman-plugin/trunk/panel-plugin/Makefile.am 2008-03-04 15:01:43 UTC (rev 4017)
+++ xfce4-clipman-plugin/trunk/panel-plugin/Makefile.am 2008-03-04 15:15:08 UTC (rev 4018)
@@ -2,33 +2,12 @@
INCLUDES = \
-I$(top_srcdir) \
- -DG_LOG_DOMAIN=\"xfce4-clipman-plugin\" \
+ -DG_LOG_DOMAIN=\"xfce4-battery-plugin\" \
-DPACKAGE_LOCALE_DIR=\"$(localedir)\"
#
-# Clipman popup command
+# Battery Plugin
#
-bin_PROGRAMS = \
- xfce4-popup-clipman
-
-xfce4_popup_clipman_SOURCES = \
- xfce4-popup-clipman.h \
- xfce4-popup-clipman.c
-
-xfce4_popup_clipman_CFLAGS = \
- $(LIBX11_CFLAGS) \
- $(GTK_CFLAGS)
-
-xfce4_popup_clipman_LDADD = \
- $(LIBX11_LIBS) \
- $(GTK_LIBS)
-
-xfce4_popup_clipman_LDFLAGS = \
- $(LIBX11_LDFLAGS)
-
-#
-# Clipman plugin
-#
plugindir = \
$(libexecdir)/xfce4/panel-plugins
@@ -36,36 +15,30 @@
xfce4-clipman-plugin
xfce4_clipman_plugin_SOURCES = \
- clipman-dialogs.h \
- clipman-dialogs.c \
clipman.h \
- clipman.c
+ clipman.c \
+ clipman-dialogs.h \
+ clipman-dialogs.c
xfce4_clipman_plugin_CFLAGS = \
- $(LIBXFCE4PANEL_CFLAGS) \
- $(LIBXFCE4UTIL_CFLAGS) \
- $(LIBXFCEGUI4_CFLAGS)
+ $(LIBXFCEGUI4_CFLAGS) \
+ $(LIBXFCE4PANEL_CFLAGS)
xfce4_clipman_plugin_LDADD = \
$(LIBXFCE4PANEL_LIBS) \
- $(LIBXFCE4UTIL_LIBS) \
$(LIBXFCEGUI4_LIBS)
-
#
# Desktop file
#
+desktopdir = $(datadir)/xfce4/panel-plugins
desktop_in_in_files = clipman.desktop.in.in
desktop_in_files = $(desktop_in_in_files:.desktop.in.in=.desktop.in)
-
-desktopdir = $(datadir)/xfce4/panel-plugins
+%.desktop.in: %.desktop.in.in
+ sed -e "s,\@libexecdir\@,$(libexecdir),g" < $< > $@
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
-# get full path into .desktop file
-%.desktop.in: %.desktop.in.in
- sed -e "s,\@libexecdir\@,$(libexecdir),g" < $< > $@
-
EXTRA_DIST = \
$(desktop_in_in_files)
Modified: xfce4-clipman-plugin/trunk/panel-plugin/clipman-dialogs.c
===================================================================
--- xfce4-clipman-plugin/trunk/panel-plugin/clipman-dialogs.c 2008-03-04 15:01:43 UTC (rev 4017)
+++ xfce4-clipman-plugin/trunk/panel-plugin/clipman-dialogs.c 2008-03-04 15:15:08 UTC (rev 4018)
@@ -1,7 +1,6 @@
-/* $Id: clipman-dialogs.c 2395 2007-01-17 17:42:53Z nick $
+/* $Id$
*
* Copyright (c) 2006-2007 Nick Schermer <nick at xfce.org>
- * Copyright (c) 2007 Mike Massonnet <mmassonnet at xfce.org>
*
* 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
@@ -22,420 +21,351 @@
#include <config.h>
#endif
+#include <string.h>
+#include <gtk/gtk.h>
+
+#include <libxfcegui4/libxfcegui4.h>
+#include <libxfce4panel/xfce-panel-plugin.h>
+
#include "clipman.h"
#include "clipman-dialogs.h"
+#define PLUGIN_WEBSITE "http://goodies.xfce.org/projects/panel-plugins/xfce4-clipman-plugin"
+typedef struct
+{
+ ClipmanPlugin *clipman;
-#define PLUGIN_WEBSITE "http://goodies.xfce.org/projects/panel-plugins/xfce4-clipman-plugin"
+ GtkWidget *ExitSave;
+ GtkWidget *IgnoreSelection;
+ GtkWidget *PreventEmpty;
-typedef struct _ClipmanOptions ClipmanOptions;
+ GtkWidget *Behaviour;
-struct _ClipmanOptions
+ GtkWidget *ItemNumbers;
+ GtkWidget *SeparateMenu;
+
+ GtkWidget *HistorySize;
+ GtkWidget *ItemChars;
+}
+ClipmanOptions;
+
+static void
+clipman_configure_response (GtkWidget *dialog,
+ int response,
+ ClipmanOptions *options)
{
- ClipmanPlugin *clipman;
+ gboolean result;
- GtkWidget *ExitSave;
- GtkWidget *PreventEmpty;
- GtkWidget *IgnoreSelection;
+ if (response == GTK_RESPONSE_HELP)
+ {
+ /* show help */
+ result = g_spawn_command_line_async ("exo-open --launch WebBrowser " PLUGIN_WEBSITE, NULL);
- GtkWidget *BehaviourNormal;
- GtkWidget *BehaviourStrictly;
+ if (G_UNLIKELY (result == FALSE))
+ g_warning (_("Unable to open the following url: %s"), PLUGIN_WEBSITE);
- GtkWidget *ItemNumbers;
+ return;
+ }
- GtkWidget *HistorySize;
- GtkWidget *ItemChars;
+ DBG("Destroy the dialog");
- GtkWidget *IgnoreStatic;
- GtkWidget *StaticDefault;
- GtkWidget *StaticPrimary;
- GtkWidget *StaticBoth;
+ g_object_set_data (G_OBJECT (options->clipman->plugin), "dialog", NULL);
-};
+ if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (options->Behaviour)))
+ options->clipman->Behaviour = NORMAL;
+ else
+ options->clipman->Behaviour = STRICTLY;
+ if (options->clipman->HistoryItems != gtk_range_get_value (GTK_RANGE (options->HistorySize)))
+ {
+ options->clipman->HistoryItems = gtk_range_get_value (GTK_RANGE (options->HistorySize));
+ clipman_check_array_len (options->clipman);
+ }
+ options->clipman->MenuCharacters = gtk_range_get_value (GTK_RANGE (options->ItemChars));
-static void clipman_configure_response (GtkWidget *dialog,
- gint response,
- ClipmanOptions *options);
-static void set_scale_to_spin (GtkWidget *scalewidget,
- GtkWidget *spinwidget);
-static void set_spin_to_scale (GtkWidget *spinwidget,
- GtkWidget *scalewidget);
-static void toggle_button (GtkWidget *button,
- ClipmanOptions *options);
+ clipman_save (options->clipman->plugin, options->clipman);
+ clipman_remove_selection_clips (options->clipman);
+ xfce_panel_plugin_unblock_menu (options->clipman->plugin);
-void
-clipman_configure_new (ClipmanPlugin *clipman_plugin)
+ gtk_widget_destroy (dialog);
+
+ panel_slice_free (ClipmanOptions, options);
+}
+
+static void
+set_scale_to_spin (GtkWidget *scalewidget,
+ GtkWidget *spinwidget)
{
- GtkWidget *dialog, *dialog_vbox, *frame, *notebook, *notebook_vbox;
- GtkWidget *vbox, *hbox, *button, *label;
- ClipmanClips *clipman_clips = clipman_plugin->clipman_clips;
- ClipmanOptions *options;
- GSList *group;
+ guint value;
+ value = gtk_range_get_value (GTK_RANGE (scalewidget));
+ gtk_spin_button_set_value (GTK_SPIN_BUTTON(spinwidget), value);
+}
- options = panel_slice_new0 (ClipmanOptions);
- options->clipman = clipman_plugin;
+static void
+set_spin_to_scale (GtkWidget *spinwidget,
+ GtkWidget *scalewidget)
+{
+ guint value;
+ value = gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON(spinwidget));
+ gtk_range_set_value (GTK_RANGE (scalewidget), value);
+}
- dialog =
- xfce_titled_dialog_new_with_buttons (_("Clipboard Manager"),
- GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (clipman_plugin->panel_plugin))),
- GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_NO_SEPARATOR,
- GTK_STOCK_HELP, GTK_RESPONSE_HELP,
- GTK_STOCK_CLOSE, GTK_RESPONSE_OK,
- NULL);
- gtk_window_set_icon_name (GTK_WINDOW (dialog), GTK_STOCK_PASTE);
- gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_CENTER);
- gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE);
- gtk_window_set_keep_above (GTK_WINDOW (dialog), TRUE);
- gtk_window_stick (GTK_WINDOW (dialog));
+static void
+toggle_button (GtkWidget *button,
+ ClipmanOptions *options)
+{
+ if (button == options->ExitSave)
+ options->clipman->ExitSave =
+ gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button));
- dialog_vbox = GTK_DIALOG (dialog)->vbox;
+ else if (button == options->IgnoreSelection)
+ {
+ options->clipman->IgnoreSelect =
+ gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button));
- notebook = gtk_notebook_new ();
- gtk_box_pack_start (GTK_BOX (dialog_vbox), notebook, TRUE, TRUE, 0);
- gtk_container_set_border_width (GTK_CONTAINER (notebook), BORDER-2);
+ if (options->clipman->IgnoreSelect)
+ gtk_widget_set_sensitive (options->SeparateMenu, FALSE);
+ else
+ gtk_widget_set_sensitive (options->SeparateMenu, TRUE);
+ }
+ else if (button == options->PreventEmpty)
+ options->clipman->PreventEmpty =
+ gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button));
- /* === General === */
- notebook_vbox = gtk_vbox_new (FALSE, 2);
- gtk_container_add (GTK_CONTAINER (notebook), notebook_vbox);
+ else if (button == options->ItemNumbers)
+ options->clipman->ItemNumbers =
+ gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button));
- gtk_notebook_set_tab_label_text (GTK_NOTEBOOK (notebook),
- gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook), 0),
- _("General"));
+ else if (button == options->SeparateMenu)
+ options->clipman->SeparateMenu =
+ gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button));
+}
- /* General */
- vbox = gtk_vbox_new (FALSE, 2);
- frame = xfce_create_framebox_with_content (_("General"), vbox);
- gtk_container_set_border_width (GTK_CONTAINER (frame), BORDER);
- gtk_box_pack_start (GTK_BOX (notebook_vbox), frame, FALSE, TRUE, 0);
+void
+clipman_configure (XfcePanelPlugin *plugin,
+ ClipmanPlugin *clipman)
+{
+ GtkWidget *dialog, *dialog_vbox, *frame, *button, *label;
+ GtkWidget *vbox, *hbox, *notebook_vbox, *notebook;
+ ClipmanOptions *options;
+ GSList *group;
- button = options->ExitSave =
- gtk_check_button_new_with_mnemonic (_("Save clipboard contents on _exit"));
- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), clipman_clips->save_on_exit);
- gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
- g_signal_connect (G_OBJECT (button), "toggled",
- G_CALLBACK (toggle_button), options);
+ options = panel_slice_new0 (ClipmanOptions);
+ options->clipman = clipman;
- button = options->PreventEmpty =
- gtk_check_button_new_with_mnemonic (_("Pre_vent empty clipboard"));
- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), clipman_clips->prevent_empty);
- gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
- g_signal_connect (G_OBJECT (button), "toggled",
- G_CALLBACK (toggle_button), options);
+ xfce_panel_plugin_block_menu (clipman->plugin);
- button = options->IgnoreSelection =
- gtk_check_button_new_with_mnemonic (_("_Ignore selections"));
- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), clipman_clips->ignore_primary);
- gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
- g_signal_connect (G_OBJECT (button), "toggled",
- G_CALLBACK (toggle_button), options);
+ dialog = xfce_titled_dialog_new_with_buttons (_("Clipboard Manager"),
+ GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (plugin))),
+ GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_NO_SEPARATOR,
+ GTK_STOCK_HELP, GTK_RESPONSE_HELP,
+ GTK_STOCK_CLOSE, GTK_RESPONSE_OK,
+ NULL);
- /* Behavior */
- vbox = gtk_vbox_new (FALSE, 2);
- frame = xfce_create_framebox_with_content (_("Clipboard Behavior"), vbox);
- gtk_container_set_border_width (GTK_CONTAINER (frame), BORDER);
- gtk_box_pack_start (GTK_BOX (notebook_vbox), frame, FALSE, TRUE, 0);
+ gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_CENTER);
+ gtk_window_set_icon_name (GTK_WINDOW (dialog), "xfce4-settings");
- group = NULL;
+ g_object_set_data (G_OBJECT (clipman->plugin), "dialog", dialog);
- button = options->BehaviourNormal =
- gtk_radio_button_new_with_mnemonic (group, _("Normal clipboard _management"));
- gtk_radio_button_set_group (GTK_RADIO_BUTTON (button), group);
- group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (button));
- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), clipman_clips->behavior == NORMAL);
- gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
- g_signal_connect (G_OBJECT (button), "toggled",
- G_CALLBACK (toggle_button), options);
+ dialog_vbox = GTK_DIALOG (dialog)->vbox;
- button = options->BehaviourStrictly =
- gtk_radio_button_new_with_mnemonic (group, _("Strictly separate _both clipboards"));
- gtk_radio_button_set_group (GTK_RADIO_BUTTON (button), group);
- group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (button));
- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), clipman_clips->behavior == STRICTLY);
- gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
- g_signal_connect (G_OBJECT (button), "toggled",
- G_CALLBACK (toggle_button), options);
+ notebook = gtk_notebook_new ();
+ gtk_box_pack_start (GTK_BOX (dialog_vbox), notebook, FALSE, TRUE, 0);
+ gtk_container_set_border_width (GTK_CONTAINER (notebook), BORDER-3);
- /* === Appearance === */
- notebook_vbox = gtk_vbox_new (FALSE, 2);
- gtk_container_add (GTK_CONTAINER (notebook), notebook_vbox);
+ notebook_vbox = gtk_vbox_new (FALSE, 2);
+ gtk_container_add (GTK_CONTAINER (notebook), notebook_vbox);
- gtk_notebook_set_tab_label_text (GTK_NOTEBOOK (notebook),
- gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook), 1),
- _("Appearance"));
+ /**
+ * The general frame
+ **/
+ frame = gtk_frame_new (NULL);
+ gtk_box_pack_start (GTK_BOX (notebook_vbox), frame, FALSE, TRUE, 0);
+ gtk_container_set_border_width (GTK_CONTAINER (frame), BORDER-3);
- /* Appearance */
- vbox = gtk_vbox_new (FALSE, 2);
- frame = xfce_create_framebox_with_content (_("Menu Appearance"), vbox);
- gtk_container_set_border_width (GTK_CONTAINER (frame), BORDER);
- gtk_box_pack_start (GTK_BOX (notebook_vbox), frame, FALSE, TRUE, 0);
+ vbox = gtk_vbox_new (FALSE, 2);
+ gtk_container_add (GTK_CONTAINER (frame), vbox);
+ gtk_container_set_border_width (GTK_CONTAINER (vbox), BORDER);
- button = options->ItemNumbers = gtk_check_button_new_with_mnemonic (_("_Show item numbers"));
- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), clipman_plugin->menu_item_show_number);
- gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
- g_signal_connect (G_OBJECT (button), "toggled",
- G_CALLBACK (toggle_button), options);
+ button = options->ExitSave = gtk_check_button_new_with_mnemonic (_("Save clipboard contents on _exit"));
+ gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), clipman->ExitSave);
- /* Numbers */
- vbox = gtk_vbox_new (FALSE, 2);
- frame = xfce_create_framebox_with_content (_("Numbers"), vbox);
- gtk_container_set_border_width (GTK_CONTAINER (frame), BORDER);
- gtk_box_pack_start (GTK_BOX (notebook_vbox), frame, FALSE, TRUE, 0);
+ g_signal_connect (G_OBJECT (button), "toggled",
+ G_CALLBACK (toggle_button), options);
- /* History length */
- label = gtk_label_new (_("Clipboard history items:"));
- gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5);
- gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
+ button = options->IgnoreSelection = gtk_check_button_new_with_mnemonic (_("_Ignore selections"));
+ gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), clipman->IgnoreSelect);
- hbox = gtk_hbox_new (FALSE, 0);
- gtk_box_pack_start (GTK_BOX (vbox), hbox, TRUE, TRUE, 0);
+ g_signal_connect (G_OBJECT (button), "toggled",
+ G_CALLBACK (toggle_button), options);
- button = options->HistorySize =
- gtk_hscale_new (GTK_ADJUSTMENT (gtk_adjustment_new (clipman_clips->history_length,
- MINHISTORY, MAXHISTORY, 1, 5, 0)));
- gtk_scale_set_draw_value (GTK_SCALE (button), FALSE);
- gtk_scale_set_digits (GTK_SCALE (button), 0);
- gtk_box_pack_start (GTK_BOX (hbox), button, TRUE, TRUE, 10);
+ button = options->PreventEmpty = gtk_check_button_new_with_mnemonic (_("Pre_vent empty clipboard"));
+ gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), clipman->PreventEmpty);
- button = gtk_spin_button_new_with_range (MINHISTORY, MAXHISTORY, 1);
- gtk_spin_button_set_value (GTK_SPIN_BUTTON (button), clipman_clips->history_length);
- gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, TRUE, 0);
+ g_signal_connect (G_OBJECT (button), "toggled",
+ G_CALLBACK (toggle_button), options);
- g_signal_connect (G_OBJECT (options->HistorySize), "value_changed",
- G_CALLBACK (set_scale_to_spin), button);
- g_signal_connect (G_OBJECT (button), "value_changed",
- G_CALLBACK (set_spin_to_scale), options->HistorySize);
- /* Max menu item chars */
- label = gtk_label_new (_("Menu item characters:"));
- gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5);
- gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
+ label = gtk_label_new (_("<b>General</b>"));
+ gtk_frame_set_label_widget (GTK_FRAME (frame), label);
+ gtk_label_set_use_markup (GTK_LABEL (label), TRUE);
+ gtk_misc_set_padding (GTK_MISC (label), 2, 0);
- hbox = gtk_hbox_new (FALSE, 0);
- gtk_box_pack_start (GTK_BOX (vbox), hbox, TRUE, TRUE, 0);
+ /**
+ * separate clipboards frame
+ **/
+ frame = gtk_frame_new (NULL);
+ gtk_box_pack_start (GTK_BOX (notebook_vbox), frame, FALSE, TRUE, 0);
+ gtk_container_set_border_width (GTK_CONTAINER (frame), BORDER-3);
- button = options->ItemChars =
- gtk_hscale_new (GTK_ADJUSTMENT (gtk_adjustment_new (clipman_plugin->menu_item_max_chars,
- MINCHARS, MAXCHARS, 1, 5, 0)));
- gtk_scale_set_draw_value (GTK_SCALE (button), FALSE);
- gtk_scale_set_digits (GTK_SCALE (button), 0);
- gtk_box_pack_start (GTK_BOX (hbox), button, TRUE, TRUE, 10);
+ vbox = gtk_vbox_new (FALSE, 2);
+ gtk_container_add (GTK_CONTAINER (frame), vbox);
+ gtk_container_set_border_width (GTK_CONTAINER (vbox), BORDER);
- button = gtk_spin_button_new_with_range (MINCHARS, MAXCHARS, 1);
- gtk_spin_button_set_value (GTK_SPIN_BUTTON (button), clipman_plugin->menu_item_max_chars);
- gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, TRUE, 0);
+ group = NULL;
- g_signal_connect (G_OBJECT (options->ItemChars), "value_changed",
- G_CALLBACK (set_scale_to_spin), button);
- g_signal_connect (G_OBJECT (button), "value_changed",
- G_CALLBACK (set_spin_to_scale), options->ItemChars);
+ button = options->Behaviour = gtk_radio_button_new_with_mnemonic (group, _("Normal clipboard _management"));
+ gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
+ gtk_radio_button_set_group (GTK_RADIO_BUTTON (button), group);
+ group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (button));
- /* === Static clipboard === */
- notebook_vbox = gtk_vbox_new (FALSE, 2);
- gtk_container_add (GTK_CONTAINER (notebook), notebook_vbox);
+ if(clipman->Behaviour == NORMAL)
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), TRUE);
- gtk_notebook_set_tab_label_text (GTK_NOTEBOOK (notebook),
- gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook), 2),
- _("Static Clipboard"));
+ button = gtk_radio_button_new_with_mnemonic (group, _("Strictly separate _both clipboards"));
+ gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
- /* General */
- vbox = gtk_vbox_new (FALSE, 2);
- frame = xfce_create_framebox_with_content (_("General"), vbox);
- gtk_container_set_border_width (GTK_CONTAINER (frame), BORDER);
- gtk_box_pack_start (GTK_BOX (notebook_vbox), frame, FALSE, TRUE, 0);
+ gtk_radio_button_set_group (GTK_RADIO_BUTTON (button), group);
+ group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (button));
- button = options->IgnoreStatic =
- gtk_check_button_new_with_mnemonic (_("Ignore _static clipboard"));
- gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), clipman_clips->ignore_static_clipboard);
- g_signal_connect (G_OBJECT (button), "toggled",
- G_CALLBACK (toggle_button), options);
+ if(clipman->Behaviour == STRICTLY)
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), TRUE);
- /* Copy to clipboard */
- vbox = gtk_vbox_new (FALSE, 2);
- frame = xfce_create_framebox_with_content (_("Select to Clipboards"), vbox);
- gtk_container_set_border_width (GTK_CONTAINER (frame), BORDER);
- gtk_box_pack_start (GTK_BOX (notebook_vbox), frame, FALSE, TRUE, 0);
+ label = gtk_label_new (_("<b>Clipboard Behaviour</b>"));
+ gtk_frame_set_label_widget (GTK_FRAME (frame), label);
+ gtk_label_set_use_markup (GTK_LABEL (label), TRUE);
+ gtk_misc_set_padding (GTK_MISC (label), 2, 0);
- group = NULL;
+ /**
+ * Notebook label
+ **/
+ label = gtk_label_new (_("General"));
+ gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook), 0), label);
- button = options->StaticDefault =
- gtk_radio_button_new_with_mnemonic (group, _("Default"));
- gtk_radio_button_set_group (GTK_RADIO_BUTTON (button), group);
- group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (button));
- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), clipman_clips->static_selection == DEFAULT);
- gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
- g_signal_connect (G_OBJECT (button), "toggled",
- G_CALLBACK (toggle_button), options);
+ notebook_vbox = gtk_vbox_new (FALSE, 2);
+ gtk_container_add (GTK_CONTAINER (notebook), notebook_vbox);
- button = options->StaticPrimary =
- gtk_radio_button_new_with_mnemonic (group, _("Selection"));
- gtk_radio_button_set_group (GTK_RADIO_BUTTON (button), group);
- group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (button));
- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), clipman_clips->static_selection == PRIMARY);
- gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
- g_signal_connect (G_OBJECT (button), "toggled",
- G_CALLBACK (toggle_button), options);
+ /**
+ * Menu appearance frame
+ **/
+ frame = gtk_frame_new (NULL);
+ gtk_box_pack_start (GTK_BOX (notebook_vbox), frame, FALSE, TRUE, 0);
+ gtk_container_set_border_width (GTK_CONTAINER (frame), BORDER-3);
- button = options->StaticBoth =
- gtk_radio_button_new_with_mnemonic (group, _("Both"));
- gtk_radio_button_set_group (GTK_RADIO_BUTTON (button), group);
- group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (button));
- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), clipman_clips->static_selection == BOTH);
- gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
- g_signal_connect (G_OBJECT (button), "toggled",
- G_CALLBACK (toggle_button), options);
+ vbox = gtk_vbox_new (FALSE, 2);
+ gtk_container_add (GTK_CONTAINER (frame), vbox);
+ gtk_container_set_border_width (GTK_CONTAINER (vbox), BORDER);
- /* Show the stuff */
- g_signal_connect (dialog, "response",
- G_CALLBACK (clipman_configure_response), options);
- xfce_panel_plugin_block_menu (clipman_plugin->panel_plugin);
- gtk_widget_show_all (dialog);
-}
+ button = options->ItemNumbers = gtk_check_button_new_with_mnemonic (_("_Show item numbers"));
+ gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), clipman->ItemNumbers);
-static void
-clipman_configure_response (GtkWidget *dialog,
- gint response,
- ClipmanOptions *options)
-{
- gboolean result;
+ g_signal_connect (G_OBJECT (button), "toggled",
+ G_CALLBACK (toggle_button), options);
- if (response == GTK_RESPONSE_HELP)
- {
- /* show help */
- result = g_spawn_command_line_async ("exo-open --launch WebBrowser " PLUGIN_WEBSITE, NULL);
+ button = options->SeparateMenu = gtk_check_button_new_with_mnemonic (_("Se_parate clipboards"));
+ gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), clipman->SeparateMenu);
- if (G_UNLIKELY (result == FALSE))
- g_warning (_("Unable to open the following url: %s"), PLUGIN_WEBSITE);
+ g_signal_connect (G_OBJECT (button), "toggled",
+ G_CALLBACK (toggle_button), options);
- return;
- }
+ label = gtk_label_new (_("<b>Menu Appearance</b>"));
+ gtk_frame_set_label_widget (GTK_FRAME (frame), label);
+ gtk_label_set_use_markup (GTK_LABEL (label), TRUE);
+ gtk_misc_set_padding (GTK_MISC (label), 2, 0);
- DBG("Destroy the dialog");
+ /**
+ * Call some functions
+ **/
- /* History length */
- gint history_length = gtk_range_get_value (GTK_RANGE (options->HistorySize));
- if (options->clipman->clipman_clips->history_length != history_length)
- {
- options->clipman->clipman_clips->history_length = history_length;
+ toggle_button (options->IgnoreSelection, options);
- /* Free the overlap in the history */
- ClipmanClip *clip;
- gint length = g_slist_length (options->clipman->clipman_clips->history);
- while (history_length < length--)
- {
- clip = (ClipmanClip *)(g_slist_last (options->clipman->clipman_clips->history)->data);
- clipman_clips_delete (options->clipman->clipman_clips, clip);
- }
- }
+ /**
+ * Numbers frame
+ **/
+ frame = gtk_frame_new (NULL);
+ gtk_box_pack_start (GTK_BOX (notebook_vbox), frame, FALSE, TRUE, 0);
+ gtk_container_set_border_width (GTK_CONTAINER (frame), BORDER-3);
- /* Menu item max chars */
- gint max_chars = gtk_range_get_value (GTK_RANGE (options->HistorySize));
- if (options->clipman->menu_item_max_chars != max_chars)
- {
- options->clipman->menu_item_max_chars = gtk_range_get_value (GTK_RANGE (options->ItemChars));
+ vbox = gtk_vbox_new (FALSE, 2);
+ gtk_container_add (GTK_CONTAINER (frame), vbox);
+ gtk_container_set_border_width (GTK_CONTAINER (vbox), BORDER);
- /* Invalidate the old clip->short_text */
- GSList *list;
- ClipmanClip *clip;
- for (list = options->clipman->clipman_clips->history; list != NULL; list = list->next)
- {
- clip = (ClipmanClip *)list->data;
- g_free (clip->short_text);
- clip->short_text = NULL;
- }
- for (list = options->clipman->clipman_clips->static_clipboard; list != NULL; list = list->next)
- {
- clip = (ClipmanClip *)list->data;
- g_free (clip->short_text);
- clip->short_text = NULL;
- }
- }
+ label = gtk_label_new (_("Clipboard history items:"));
+ gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
+ gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5);
- xfce_panel_plugin_unblock_menu (options->clipman->panel_plugin);
- gtk_widget_destroy (dialog);
- panel_slice_free (ClipmanOptions, options);
-}
+ hbox = gtk_hbox_new (FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (vbox), hbox, TRUE, TRUE, 0);
-static void
-set_scale_to_spin (GtkWidget *scalewidget,
- GtkWidget *spinwidget)
-{
- guint value;
- value = gtk_range_get_value (GTK_RANGE (scalewidget));
- gtk_spin_button_set_value (GTK_SPIN_BUTTON (spinwidget), value);
-}
+ button = options->HistorySize = gtk_hscale_new (GTK_ADJUSTMENT (gtk_adjustment_new (clipman->HistoryItems, MINHISTORY, MAXHISTORY, 1, 5, 0)));
+ gtk_widget_show (button);
+ gtk_box_pack_start (GTK_BOX (hbox), button, TRUE, TRUE, 10);
+ gtk_scale_set_draw_value (GTK_SCALE (button), FALSE);
+ gtk_scale_set_digits (GTK_SCALE (button), 0);
-static void
-set_spin_to_scale (GtkWidget *spinwidget,
- GtkWidget *scalewidget)
-{
- guint value;
- value = gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (spinwidget));
- gtk_range_set_value (GTK_RANGE (scalewidget), value);
-}
+ button = gtk_spin_button_new_with_range(MINHISTORY, MAXHISTORY, 1);
+ gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, TRUE, 0);
+ gtk_spin_button_set_value(GTK_SPIN_BUTTON(button), clipman->HistoryItems);
-static void
-toggle_button (GtkWidget *button,
- ClipmanOptions *options)
-{
- ClipmanPlugin *clipman_plugin = options->clipman;
- ClipmanClips *clipman_clips = clipman_plugin->clipman_clips;
+ /* Sync history widgets */
+ g_signal_connect (G_OBJECT (options->HistorySize), "value_changed",
+ G_CALLBACK (set_scale_to_spin), button);
- if (button == options->ItemNumbers)
- clipman_plugin->menu_item_show_number =
- gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button));
+ g_signal_connect (G_OBJECT (button), "value_changed",
+ G_CALLBACK (set_spin_to_scale), options->HistorySize);
- else if (button == options->ExitSave)
- clipman_clips->save_on_exit =
- gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button));
+ label = gtk_label_new (_("Menu item characters:"));
+ gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
+ gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5);
- else if (button == options->PreventEmpty)
- clipman_clips->prevent_empty =
- gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button));
+ hbox = gtk_hbox_new (FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (vbox), hbox, TRUE, TRUE, 0);
- else if (button == options->IgnoreSelection)
- clipman_clips->ignore_primary =
- gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button));
+ button = options->ItemChars = gtk_hscale_new (GTK_ADJUSTMENT (gtk_adjustment_new (clipman->MenuCharacters, MINCHARS, MAXCHARS, 1, 5, 0)));
+ gtk_box_pack_start (GTK_BOX (hbox), button, TRUE, TRUE, 10);
+ gtk_scale_set_draw_value (GTK_SCALE (button), FALSE);
+ gtk_scale_set_digits (GTK_SCALE (button), 0);
- else if (button == options->IgnoreStatic)
- clipman_clips->ignore_static_clipboard =
- gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button));
+ button = gtk_spin_button_new_with_range(MINCHARS, MAXCHARS, 1);
+ gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, TRUE, 0);
+ gtk_spin_button_set_value(GTK_SPIN_BUTTON(button), clipman->MenuCharacters);
- else if (button == options->BehaviourNormal)
- {
- if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button)))
- clipman_clips->behavior = NORMAL;
- }
+ g_signal_connect (G_OBJECT (options->ItemChars), "value_changed",
+ G_CALLBACK (set_scale_to_spin), button);
- else if (button == options->BehaviourStrictly)
- {
- if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button)))
- clipman_clips->behavior = STRICTLY;
- }
+ g_signal_connect (G_OBJECT (button), "value_changed",
+ G_CALLBACK (set_spin_to_scale), options->ItemChars);
- else if (button == options->StaticDefault)
- {
- if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button)))
- clipman_clips->static_selection = DEFAULT;
- }
+ label = gtk_label_new (_("<b>Numbers</b>"));
+ gtk_frame_set_label_widget (GTK_FRAME (frame), label);
+ gtk_label_set_use_markup (GTK_LABEL (label), TRUE);
+ gtk_misc_set_padding (GTK_MISC (label), 4, 0);
- else if (button == options->StaticPrimary)
- {
- if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button)))
- clipman_clips->static_selection = PRIMARY;
- }
+ label = gtk_label_new (_("Appearance"));
+ gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook), 1), label);
- else if (button == options->StaticBoth)
- {
- if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button)))
- clipman_clips->static_selection = BOTH;
- }
+ g_signal_connect(dialog, "response",
+ G_CALLBACK(clipman_configure_response), options);
+ gtk_widget_show_all (dialog);
}
-
Modified: xfce4-clipman-plugin/trunk/panel-plugin/clipman-dialogs.h
===================================================================
--- xfce4-clipman-plugin/trunk/panel-plugin/clipman-dialogs.h 2008-03-04 15:01:43 UTC (rev 4017)
+++ xfce4-clipman-plugin/trunk/panel-plugin/clipman-dialogs.h 2008-03-04 15:15:08 UTC (rev 4018)
@@ -1,7 +1,6 @@
-/* $Id: clipman-dialogs.h 2395 2007-01-17 17:42:53Z nick $
+/* $Id$
*
* Copyright (c) 2006-2007 Nick Schermer <nick at xfce.org>
- * Copyright (c) 2007 Mike Massonnet <mmassonnet at xfce.org>
*
* 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
@@ -24,7 +23,7 @@
G_BEGIN_DECLS
void
-clipman_configure_new (ClipmanPlugin *clipman_plugin);
+clipman_configure (XfcePanelPlugin *plugin, ClipmanPlugin *clipman);
G_END_DECLS
Modified: xfce4-clipman-plugin/trunk/panel-plugin/clipman.c
===================================================================
--- xfce4-clipman-plugin/trunk/panel-plugin/clipman.c 2008-03-04 15:01:43 UTC (rev 4017)
+++ xfce4-clipman-plugin/trunk/panel-plugin/clipman.c 2008-03-04 15:15:08 UTC (rev 4018)
@@ -1,7 +1,6 @@
/* $Id$
*
* Copyright (c) 2006-2007 Nick Schermer <nick at xfce.org>
- * Copyright (c) 2007 Mike Massonnet <mmassonnet at xfce.org>
*
* 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
@@ -22,1133 +21,1091 @@
#include <config.h>
#endif
-#include <gdk/gdkx.h>
+#include <string.h>
+#include <gtk/gtk.h>
+
+#include <libxfcegui4/libxfcegui4.h>
#include <libxfce4util/libxfce4util.h>
+#include <libxfce4panel/xfce-panel-plugin.h>
#include <libxfce4panel/xfce-panel-convenience.h>
#include "clipman.h"
#include "clipman-dialogs.h"
-#include "xfce4-popup-clipman.h"
+/* The clipboards */
+static GtkClipboard *primaryClip;
+static GtkClipboard *defaultClip;
+/* Register the plugin */
+static void
+clipman_construct (XfcePanelPlugin *plugin);
-static void clipman_plugin_register (XfcePanelPlugin *panel_plugin);
+XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL (clipman_construct);
-static ClipmanPlugin * clipman_plugin_new (XfcePanelPlugin *panel_plugin);
+static void
+clipman_free_clip (ClipmanClip *clip)
+{
+ g_free (clip->text);
+ g_free (clip->title);
-static void clipman_plugin_load_data (ClipmanPlugin *clipman_plugin);
+ panel_slice_free (ClipmanClip, clip);
-static void clipman_plugin_save_data (ClipmanPlugin *clipman_plugin);
+ DBG ("Clip successfully freed");
+}
-static void clipman_plugin_free (ClipmanPlugin *clipman_plugin);
+static void
+clipman_destroy_menu (GtkWidget *menu,
+ ClipmanPlugin *clipman)
+{
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (clipman->button), FALSE);
-static gboolean clipman_plugin_set_size (ClipmanPlugin *clipman_plugin,
- gint size);
-static gchar * clipman_plugin_get_short_text (ClipmanPlugin *clipman_plugin,
- const gchar *text);
-static void clipman_plugin_menu_new (ClipmanPlugin *clipman_plugin);
+ gtk_widget_destroy (menu);
-static void clipman_plugin_menu_insert_clip (ClipmanClip *clip,
- ClipmanPlugin *clipman_plugin);
-static void clipman_plugin_menu_popup (ClipmanPlugin *clipman_plugin);
+ DBG ("Menu Destroyed");
+}
-static void clipman_plugin_menu_position (GtkMenu *menu,
- gint *x,
- gint *y,
- gboolean *push_in,
- gpointer user_data);
-static void clipman_plugin_menu_destroy (ClipmanPlugin *clipman_plugin);
+static gboolean
+clipman_clear (GtkWidget *mi,
+ GdkEventButton *ev,
+ ClipmanPlugin *clipman)
+{
+ ClipmanClip *clip;
-static void clipman_plugin_menu_item_activate (GtkWidget *widget,
- ClipmanPlugin *clipman_plugin);
-static gboolean clipman_plugin_menu_item_pressed (GtkWidget *widget,
- GdkEventButton *event,
- ClipmanPlugin *clipman_plugin);
-static void clipman_plugin_add_static (ClipmanPlugin *clipman_plugin);
+ if (xfce_confirm (_("Are you sure you want to clear the history?"),
+ "gtk-yes",
+ NULL))
+ {
+ gtk_clipboard_clear (primaryClip);
+ gtk_clipboard_clear (defaultClip);
-static void clipman_plugin_add_static_with_text (ClipmanPlugin *clipman_plugin,
- const gchar *text);
-static void clipman_plugin_delete (ClipmanPlugin *clipman_plugin,
- ClipmanClip *clip);
-static gboolean clipman_plugin_message_received (ClipmanPlugin *clipman_plugin,
- GdkEventClient *ev);
-static gboolean clipman_plugin_set_selection (ClipmanPlugin *clipman_plugin);
+ while (clipman->clips->len > 0)
+ {
+ clip = g_ptr_array_index (clipman->clips, 0);
+ g_ptr_array_remove (clipman->clips, clip);
+ clipman_free_clip (clip);
+ }
+ }
+ /* 'Save' the empty clipboard */
+ clipman_save (clipman->plugin, clipman);
+ return FALSE;
+}
+void
+clipman_check_array_len (ClipmanPlugin *clipman)
+{
+ ClipmanClip *clip;
-static ClipmanClips * clipman_clips_new (ClipmanPlugin *clipman_plugin);
+ DBG ("Checking Array Length");
-static void clipman_clips_clear_history (ClipmanClips *clipman_clips);
+ while (clipman->clips->len > clipman->HistoryItems)
+ {
+ clip = g_ptr_array_index (clipman->clips, 0);
+ g_ptr_array_remove (clipman->clips, clip);
+ clipman_free_clip (clip);
-static void clipman_clips_restore_empty (ClipmanClips *clipman_clips,
- ClipboardType type);
-static gboolean clipman_clips_check_clipboard (ClipmanClips *clipman_clips);
+ DBG("A clip have been removed");
+ }
+}
-static void clipman_clips_add (ClipmanClips *clipman_clips,
- gchar *text,
- ClipboardType type);
-static gint clipman_clips_compare (ClipmanClip *one,
- ClipmanClip *two);
-static gint clipman_clips_compare_with_type (ClipmanClip *one,
- ClipmanClip *two);
+static gchar *
+clipman_create_title (gchar *txt,
+ gint length)
+{
+ gchar *s, *t, *u, *buf;
+ gint i;
-static ClipmanClip * clipman_clip_new (gchar *text, ClipboardType type);
+ /* rough string copy */
+ s = g_strndup (txt, length*8 + 8);
-static void clipman_clip_free (ClipmanClip *clip);
+ if (G_UNLIKELY (!s))
+ return NULL;
+ if (!g_utf8_validate (s, -1, NULL))
+ {
+ DBG ("Title is not utf8 complaint, we're going to convert it");
+ u = g_locale_to_utf8 (s, -1, NULL, NULL, NULL);
+ g_free (s);
+ s = u;
+ /* Check the title again */
+ if (!g_utf8_validate (s, -1, NULL))
+ {
+ DBG ("Title is still not utf8 complaint, we going to drop this clip");
+ g_free (s);
+ return NULL;
+ }
+ }
-XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL (clipman_plugin_register);
+ /* create string length */
+ buf = g_malloc(length*6); /* max length of utf8 char is 6 */
+ g_utf8_strncpy (buf, s, length);
+ g_free (s);
+ s = buf;
-static void
-clipman_plugin_register (XfcePanelPlugin *panel_plugin)
-{
- xfce_textdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR, "UTF-8");
+ /* remove tabs and newlines */
+ /* this works when the string is utf8-valid */
+ i = 0;
+ while (s[i] != '\0')
+ {
+ if (s[i] == '\n' || s[i] == '\r' || s[i] == '\t')
+ s[i] = ' ';
+ i++;
+ }
- ClipmanPlugin *clipman_plugin = clipman_plugin_new (panel_plugin);
- g_return_if_fail (G_LIKELY (NULL != clipman_plugin));
+ /* remove html characters */
+ t = g_markup_escape_text (s, -1);
+ g_free (s);
- g_signal_connect_swapped (panel_plugin,
- "save",
- G_CALLBACK (clipman_plugin_save_data),
- clipman_plugin);
- g_signal_connect_swapped (panel_plugin,
- "free-data",
- G_CALLBACK (clipman_plugin_free),
- clipman_plugin);
- g_signal_connect_swapped (panel_plugin,
- "size-changed",
- G_CALLBACK (clipman_plugin_set_size),
- clipman_plugin);
- g_signal_connect_swapped (panel_plugin,
- "configure-plugin",
- G_CALLBACK (clipman_configure_new),
- clipman_plugin);
-
- xfce_panel_plugin_menu_show_configure (panel_plugin);
- xfce_panel_plugin_add_action_widget (panel_plugin, clipman_plugin->button);
- clipman_plugin_set_selection (clipman_plugin);
-
- gtk_widget_show_all (clipman_plugin->button);
+ return t;
}
-static ClipmanPlugin *
-clipman_plugin_new (XfcePanelPlugin *panel_plugin)
+void
+clipman_remove_selection_clips (ClipmanPlugin *clipman)
{
- ClipmanPlugin *clipman_plugin = g_slice_new0 (ClipmanPlugin);
- clipman_plugin->panel_plugin = panel_plugin;
- clipman_plugin->clipman_clips = clipman_clips_new (clipman_plugin);
+ ClipmanClip *clip;
+ guint i;
- clipman_plugin->button = xfce_create_panel_toggle_button ();
- clipman_plugin->icon = gtk_image_new ();
+ if (!clipman->IgnoreSelect)
+ return;
- gtk_container_add (GTK_CONTAINER (clipman_plugin->button), clipman_plugin->icon);
- gtk_container_add (GTK_CONTAINER (panel_plugin), clipman_plugin->button);
+ DBG ("Cleaning up all selection clips");
- g_signal_connect_swapped (clipman_plugin->button,
- "toggled",
- G_CALLBACK (clipman_plugin_menu_popup),
- clipman_plugin);
+ for (i = clipman->clips->len; i--; )
+ {
+ clip = g_ptr_array_index (clipman->clips, i);
- clipman_plugin_load_data (clipman_plugin);
-
- return clipman_plugin;
+ if (clip->fromtype == PRIMARY)
+ {
+ g_ptr_array_remove (clipman->clips, clip);
+ clipman_free_clip (clip);
+ }
+ }
}
static void
-clipman_plugin_load_data (ClipmanPlugin *clipman_plugin)
+clipman_add_clip (ClipmanPlugin *clipman,
+ gchar *txt,
+ ClipboardType type)
{
- XfceRc *rc;
- gchar *file;
- gint length;
- ClipmanClips *clipman_clips = clipman_plugin->clipman_clips;
+ ClipmanClip *new_clip;
- file = xfce_resource_save_location (XFCE_RESOURCE_CONFIG, "xfce4/panel/clipman.rc", TRUE);
- if (G_UNLIKELY (NULL == file))
- return;
- rc = xfce_rc_simple_open (file, FALSE);
- g_free (file);
+ if (G_LIKELY (txt != NULL) &&
+ G_LIKELY (strcmp (txt, "")))
+ {
+ new_clip = panel_slice_new0 (ClipmanClip);
- xfce_rc_set_group (rc, "Properties");
+ new_clip->title = clipman_create_title (txt,
+ clipman->MenuCharacters);
- clipman_plugin->menu_item_show_number = xfce_rc_read_bool_entry (rc, "ItemNumbers", DEFITEMNUMBERS);
+ /* No valid title could be created, drop it... */
+ if (new_clip->title == NULL)
+ {
+ g_free (new_clip);
+ return;
+ }
- length = xfce_rc_read_int_entry (rc, "MenuCharacters", DEFCHARS);
- if (length > MAXCHARS)
- length = MAXCHARS;
- else if (length < MINCHARS)
- length = MINCHARS;
- clipman_plugin->menu_item_max_chars = length;
+ new_clip->text = g_strdup (txt);
+ new_clip->fromtype = type;
- clipman_clips->behavior = xfce_rc_read_int_entry (rc, "Behaviour", DEFBEHAVIOUR);
- clipman_clips->save_on_exit = xfce_rc_read_bool_entry (rc, "ExitSave", DEFEXITSAVE);
- clipman_clips->prevent_empty = xfce_rc_read_bool_entry (rc, "PreventEmpty", DEFPREVENTEMPTY);
- clipman_clips->ignore_primary = xfce_rc_read_bool_entry (rc, "IgnoreSelect", DEFIGNORESELECT);
- clipman_clips->ignore_static_clipboard = xfce_rc_read_bool_entry (rc, "IgnoreStatic", DEFIGNORESTATIC);
- clipman_clips->static_selection = xfce_rc_read_int_entry (rc, "StaticSelection", PRIMARY);
+ g_ptr_array_add (clipman->clips, new_clip);
- length = xfce_rc_read_int_entry (rc, "HistoryItems", DEFHISTORY);
- if (length > MAXHISTORY)
- length = MAXHISTORY;
- else if (length < MINHISTORY)
- length = MINHISTORY;
- clipman_clips->history_length = length;
+ DBG("Added clip %d of %d", clipman->clips->len, clipman->HistoryItems);
+ }
+}
- xfce_rc_set_group (rc, "Clips");
+static gboolean
+clipman_exists (ClipmanPlugin *clipman,
+ gchar *txt,
+ ClipboardType type)
+{
+ guint i;
+ ClipmanClip *clip;
- gchar name[13];
- gint n = sizeof (name);
- gchar *text = NULL; /* We use this allocation so no free() */
- ClipboardType type;
+ /* Walk through the array backwards, because
+ * if the text exists, this will probably be the newest */
- length = xfce_rc_read_int_entry (rc, "ClipsLen", 0);
- if (length > MAXHISTORY)
- length = MAXHISTORY;
- if (length > 0 && clipman_clips->save_on_exit)
+ for (i = clipman->clips->len; i--; )
{
- DBG ("Restoring the clipboard");
+ clip = g_ptr_array_index (clipman->clips, i);
- while (length-- > 0)
+ if (G_LIKELY ((clip->text != NULL) &&
+ (strcmp(clip->text, txt) == 0))
+ )
{
- g_snprintf (name, n, "clip_%d_text", length);
- text = g_strdup (xfce_rc_read_entry (rc, name, ""));
- g_snprintf (name, n, "clip_%d_from", length);
- type = (ClipboardType)xfce_rc_read_int_entry (rc, name, 0);
- clipman_clips_add (clipman_clips, text, type);
- }
- }
+ switch (clipman->Behaviour)
+ {
+ case NORMAL:
+ if (type == DEFAULT &&
+ clip->fromtype == PRIMARY)
+ clip->fromtype = DEFAULT;
- xfce_rc_set_group (rc, "StaticClips");
+ return TRUE;
- length = xfce_rc_read_int_entry (rc, "ClipsLen", 0);
- if (length > 0)
- {
- DBG ("Restoring the static clipboard");
+ case STRICTLY:
+ if (type == clip->fromtype)
+ return TRUE;
- while (length-- > 0)
- {
- g_snprintf (name, n, "clip_%d_text", length);
- text = g_strdup (xfce_rc_read_entry (rc, name, ""));
- clipman_clips_add (clipman_clips, text, STATIC);
+ return FALSE;
+ }
}
}
- xfce_rc_close (rc);
+ return FALSE;
}
-static void
-clipman_plugin_save_data (ClipmanPlugin *clipman_plugin)
+static gboolean
+clipman_item_clicked (GtkWidget *mi,
+ GdkEventButton *ev,
+ ClipmanAction *action)
{
- ClipmanClips *clipman_clips = clipman_plugin->clipman_clips;
- XfceRc *rc;
- gchar *file;
+ gchar *dtext, *ptext;
- file = xfce_resource_save_location (XFCE_RESOURCE_CONFIG, "xfce4/panel/clipman.rc", TRUE);
- if (G_UNLIKELY (NULL == file))
- return;
- rc = xfce_rc_simple_open (file, FALSE);
- g_free (file);
-
- xfce_rc_set_group (rc, "Properties");
-
- xfce_rc_write_bool_entry (rc, "ItemNumbers", clipman_plugin->menu_item_show_number);
- xfce_rc_write_int_entry (rc, "MenuCharacters", clipman_plugin->menu_item_max_chars);
-
- xfce_rc_write_bool_entry (rc, "ExitSave", clipman_clips->save_on_exit);
- xfce_rc_write_int_entry (rc, "Behaviour", clipman_clips->behavior);
- xfce_rc_write_int_entry (rc, "HistoryItems", clipman_clips->history_length);
- xfce_rc_write_bool_entry (rc, "PreventEmpty", clipman_clips->prevent_empty);
- xfce_rc_write_bool_entry (rc, "IgnoreSelect", clipman_clips->ignore_primary);
- xfce_rc_write_bool_entry (rc, "IgnoreStatic", clipman_clips->ignore_static_clipboard);
- xfce_rc_write_int_entry (rc, "StaticSelection", clipman_clips->static_selection);
-
- GSList *list;
- ClipmanClip *clip;
- gint i;
- gchar name[13];
- gint n = sizeof (name);
-
- xfce_rc_delete_group (rc, "Clips", TRUE);
- if (clipman_clips->save_on_exit && G_LIKELY (NULL != clipman_clips->history))
+ if (ev->button == 1 && action->clipman->Behaviour == STRICTLY)
{
- DBG ("Saving the clipboard history");
+ DBG("Clip copied to his own clipboard (STRICTLY)");
- xfce_rc_set_group (rc, "Clips");
- xfce_rc_write_int_entry (rc, "ClipsLen", g_slist_length (clipman_clips->history));
+ if (action->clip->fromtype == DEFAULT)
+ {
+ gtk_clipboard_clear (defaultClip);
+ gtk_clipboard_set_text (defaultClip, action->clip->text, -1);
+ }
- for (i = 0, list = clipman_clips->history; list != NULL; list = list->next, i++)
- {
- clip = (ClipmanClip *)list->data;
- g_snprintf (name, n, "clip_%d_text", i);
- xfce_rc_write_entry (rc, name, clip->text);
- g_snprintf (name, n, "clip_%d_from", i);
- xfce_rc_write_int_entry (rc, name, clip->type);
- }
+ if (action->clip->fromtype == PRIMARY)
+ {
+ gtk_clipboard_clear (primaryClip);
+ gtk_clipboard_set_text (primaryClip, action->clip->text, -1);
+ }
}
+ else if (ev->button == 1)
+ {
+ gtk_clipboard_clear (defaultClip);
+ gtk_clipboard_set_text (defaultClip, action->clip->text, -1);
+ DBG ("Clip copied to default clipboard");
- xfce_rc_delete_group (rc, "StaticClips", TRUE);
- if (G_LIKELY (NULL != clipman_clips->static_clipboard))
+ if (!action->clipman->IgnoreSelect)
+ {
+ gtk_clipboard_clear (primaryClip);
+ gtk_clipboard_set_text (primaryClip, action->clip->text, -1);
+ DBG ("Clip copied to primary clipboard");
+ }
+ }
+ else if (ev->button == 3)
{
- DBG ("Saving the static clipboard");
+ if (xfce_confirm (_("Are you sure you want to remove this clip from the history?"),
+ "gtk-yes", NULL))
+ {
+ DBG ("Removed the selected clip from the History");
- xfce_rc_set_group (rc, "StaticClips");
- xfce_rc_write_int_entry (rc, "ClipsLen", g_slist_length (clipman_clips->static_clipboard));
+ dtext = gtk_clipboard_wait_for_text (defaultClip);
+ if (dtext && !strcmp(dtext, action->clip->text))
+ {
+ gtk_clipboard_clear (defaultClip);
+ gtk_clipboard_set_text (defaultClip, "", -1);
+ }
+ g_free (dtext);
- for (i = 0, list = clipman_clips->history; list != NULL; list = list->next, i++)
- {
- clip = (ClipmanClip *)list->data;
- g_snprintf (name, n, "clip_%d_text", i);
- xfce_rc_write_entry (rc, name, clip->text);
+ ptext = gtk_clipboard_wait_for_text (primaryClip);
+ if (ptext && !strcmp(ptext, action->clip->text))
+ {
+ gtk_clipboard_clear (primaryClip);
+ gtk_clipboard_set_text (primaryClip, "", -1);
+ }
+ g_free (ptext);
+
+ g_ptr_array_remove (action->clipman->clips, action->clip);
+ clipman_free_clip (action->clip);
}
}
- xfce_rc_close (rc);
-}
+ panel_slice_free (ClipmanAction, action);
-static void
-clipman_plugin_free (ClipmanPlugin *clipman_plugin)
-{
- /* There are no resources to free that won't be after we quit the plugin */
- gtk_main_quit ();
+ return FALSE;
}
-static gboolean
-clipman_plugin_set_size (ClipmanPlugin *clipman_plugin,
- gint size)
+static GtkWidget *
+clipman_create_menuitem (ClipmanAction *action,
+ guint width,
+ guint number,
+ gboolean bold)
{
- gtk_widget_set_size_request (GTK_WIDGET (clipman_plugin->panel_plugin), size, size);
- size -= 2 + 2 * MAX (clipman_plugin->button->style->xthickness,
- clipman_plugin->button->style->ythickness);
+ GtkWidget *mi, *label;
+ gchar *title, *string_num;
- GtkIconTheme *icon_theme = gtk_icon_theme_get_default ();
- GdkPixbuf *pixbuf = gtk_icon_theme_load_icon (icon_theme, GTK_STOCK_PASTE, size, 0, NULL);
- GdkPixbuf *scaled = gdk_pixbuf_scale_simple (pixbuf, size, size, GDK_INTERP_BILINEAR);
- g_object_unref (G_OBJECT (pixbuf));
- pixbuf = scaled;
-
- if (G_UNLIKELY (NULL == pixbuf))
+ if (action->clipman->ItemNumbers)
{
- gtk_image_clear (GTK_IMAGE (clipman_plugin->icon));
- return FALSE;
+ if (number < 10)
+ string_num = g_strdup_printf("<tt><span size=\"smaller\">%d. </span></tt> ", number);
+ else
+ string_num = g_strdup_printf("<tt><span size=\"smaller\">%d.</span></tt> ", number);
}
+ else
+ {
+ string_num = g_strdup ("");
+ }
- gtk_image_set_from_pixbuf (GTK_IMAGE (clipman_plugin->icon), pixbuf);
- g_object_unref (G_OBJECT (pixbuf));
+ if (bold)
+ title = g_strdup_printf("%s<b>%s</b>", string_num, action->clip->title);
+ else
+ title = g_strdup_printf("%s%s", string_num, action->clip->title);
- return TRUE;
-}
+ g_free (string_num);
-static gchar *
-clipman_plugin_get_short_text (ClipmanPlugin *clipman_plugin,
- const gchar *text)
-{
- gchar *short_text, *tmp = NULL;
- const gchar *offset;
- gint max_length;
- g_return_val_if_fail (G_LIKELY (NULL != text), NULL);
- g_return_val_if_fail (G_LIKELY (g_utf8_validate (text, -1, NULL)), NULL);
+ label = gtk_label_new (title);
+ gtk_label_set_use_markup (GTK_LABEL (label), TRUE);
+ gtk_label_set_single_line_mode (GTK_LABEL (label), TRUE);
+ gtk_label_set_ellipsize (GTK_LABEL (label), PANGO_ELLIPSIZE_END);
+ gtk_label_set_max_width_chars (GTK_LABEL (label), width);
- short_text = g_strstrip (g_strdup (text));
+ g_free (title);
- /* Shorten */
- max_length = clipman_plugin->menu_item_max_chars;
- if (g_utf8_strlen (short_text, -1) > max_length)
- {
- offset = g_utf8_offset_to_pointer (short_text, max_length);
- tmp = g_strndup (short_text, offset - short_text);
- g_free (short_text);
+ mi = gtk_menu_item_new ();
+ gtk_container_add (GTK_CONTAINER (mi), label);
+ gtk_accel_label_set_accel_widget (GTK_ACCEL_LABEL (label), mi);
+ gtk_widget_show (label);
- short_text = g_strconcat (tmp, "...", NULL); /* Ellipsis */
- g_free (tmp);
- }
-
- /* Cleanup */
- tmp = g_strdelimit (short_text, "\n\r\t", ' ');
- short_text = g_markup_escape_text (tmp, -1);
- g_free (tmp);
-
- return short_text;
+ return mi;
}
static void
-clipman_plugin_menu_new (ClipmanPlugin *clipman_plugin)
+clipman_clicked_separated (GtkWidget *menu,
+ ClipmanPlugin *clipman)
{
- GtkWidget *mi;
+ gchar *ptext, *dtext;
+ guint i, j;
+ ClipmanAction *action = NULL;
+ ClipmanClip *clip;
+ GtkWidget *mi;
- clipman_plugin->menu = gtk_menu_new ();
+ /* Default Clips */
+ dtext = gtk_clipboard_wait_for_text (defaultClip);
+ j = 0;
- /* Add clipboard entries */
- if (G_LIKELY (NULL != clipman_plugin->clipman_clips->history))
- g_slist_foreach (clipman_plugin->clipman_clips->history,
- (GFunc)clipman_plugin_menu_insert_clip,
- clipman_plugin);
- else
+ for (i = clipman->clips->len; i--; )
{
- mi = gtk_menu_item_new_with_label (_("< Clipboard Empty >"));
- gtk_widget_set_sensitive (mi, FALSE);
- gtk_menu_shell_prepend (GTK_MENU_SHELL (clipman_plugin->menu), mi);
- }
+ clip = g_ptr_array_index (clipman->clips, i);
- if (!clipman_plugin->clipman_clips->ignore_static_clipboard)
- {
- /* Prepend static clipboard */
- mi = gtk_separator_menu_item_new ();
- gtk_menu_shell_prepend (GTK_MENU_SHELL (clipman_plugin->menu), mi);
-
- if (NULL != clipman_plugin->clipman_clips->static_clipboard)
- g_slist_foreach (clipman_plugin->clipman_clips->static_clipboard,
- (GFunc)clipman_plugin_menu_insert_clip,
- clipman_plugin);
- else
+ if (clip->fromtype == DEFAULT)
{
- mi = gtk_menu_item_new_with_label (_("< Static Clipboard Empty >"));
- gtk_widget_set_sensitive (mi, FALSE);
- gtk_menu_shell_prepend (GTK_MENU_SHELL (clipman_plugin->menu), mi);
- }
+ j++;
- /* Append add to static clipboard */
- mi = gtk_separator_menu_item_new ();
- gtk_menu_shell_append (GTK_MENU_SHELL (clipman_plugin->menu), mi);
+ action = panel_slice_new0 (ClipmanAction);
+ action->clipman = clipman;
+ action->clip = clip;
- mi = gtk_menu_item_new_with_label (_("Add static clipboard"));
- gtk_menu_shell_append (GTK_MENU_SHELL (clipman_plugin->menu), mi);
- g_signal_connect_swapped (mi,
- "activate",
- G_CALLBACK (clipman_plugin_add_static),
- clipman_plugin);
- }
- else
- {
- mi = gtk_separator_menu_item_new ();
- gtk_menu_shell_append (GTK_MENU_SHELL (clipman_plugin->menu), mi);
+ if (dtext != NULL &&
+ G_LIKELY (clip->text != NULL) &&
+ strcmp(clip->text, dtext) == 0)
+ {
+ mi = clipman_create_menuitem (action, clipman->MenuCharacters,
+ j, TRUE);
+ g_free (dtext);
+ dtext = NULL;
+ }
+ else
+ {
+ mi = clipman_create_menuitem (action, clipman->MenuCharacters,
+ j, FALSE);
+ }
+ g_signal_connect (G_OBJECT(mi), "button_release_event",
+ G_CALLBACK(clipman_item_clicked), action);
+
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
+ }
}
- /* Prepend title */
- mi = gtk_separator_menu_item_new ();
- gtk_menu_shell_prepend (GTK_MENU_SHELL (clipman_plugin->menu), mi);
+ g_free (dtext);
- mi = gtk_menu_item_new_with_label ("");
- gchar *title = g_strdup_printf ("<b>%s</b>", _("Clipman History"));
- gtk_label_set_markup (GTK_LABEL (GTK_BIN (mi)->child), title);
- gtk_widget_set_sensitive (mi, FALSE);
- gtk_menu_shell_prepend (GTK_MENU_SHELL (clipman_plugin->menu), mi);
+ if (j == 0)
+ {
+ mi = gtk_menu_item_new_with_label (_("< Default History Empty >"));
+ gtk_widget_set_sensitive (mi, FALSE);
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
+ }
- /* Append clear history */
- mi = gtk_menu_item_new_with_label (_("Clear History"));
- gtk_menu_shell_append (GTK_MENU_SHELL (clipman_plugin->menu), mi);
- g_signal_connect_swapped (mi,
- "activate",
- G_CALLBACK (clipman_clips_clear_history),
- clipman_plugin->clipman_clips);
+ /* Primairy Clips */
+ mi = gtk_separator_menu_item_new ();
+ gtk_widget_set_sensitive (mi, FALSE);
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
- /* Do the rest */
- g_signal_connect_swapped (clipman_plugin->menu,
- "deactivate",
- G_CALLBACK (clipman_plugin_menu_destroy),
- clipman_plugin);
+ ptext = gtk_clipboard_wait_for_text (primaryClip);
+ j = 0;
- gtk_menu_attach_to_widget (GTK_MENU (clipman_plugin->menu),
- clipman_plugin->button,
- NULL);
- xfce_panel_plugin_register_menu (clipman_plugin->panel_plugin,
- GTK_MENU (clipman_plugin->menu));
+ for (i = clipman->clips->len; i--; )
+ {
+ clip = g_ptr_array_index (clipman->clips, i);
- gtk_widget_show_all (clipman_plugin->menu);
-}
+ if (clip->fromtype == PRIMARY)
+ {
+ j++;
-static void
-clipman_plugin_menu_insert_clip (ClipmanClip *clip,
- ClipmanPlugin *clipman_plugin)
-{
- static gint i = 0, j = 0;
- static ClipmanClip *clip_default = NULL, *clip_primary = NULL, *clip_last = NULL;
- static gboolean clip_default_found = FALSE, clip_primary_found = FALSE;
- gchar *text = NULL, *bold = NULL;
- gint a = -1, b = -1;
- GtkWidget *mi;
+ action = panel_slice_new0 (ClipmanAction);
+ action->clipman = clipman;
+ action->clip = clip;
- g_return_if_fail (G_LIKELY (NULL != clip));
+ if (ptext != NULL &&
+ G_LIKELY (clip->text != NULL) &&
+ strcmp(clip->text, ptext) == 0)
+ {
+ mi = clipman_create_menuitem (action, clipman->MenuCharacters,
+ j, TRUE);
+ g_free (ptext);
+ ptext = NULL;
+ }
+ else
+ {
+ mi = clipman_create_menuitem (action, clipman->MenuCharacters,
+ j, FALSE);
+ }
- /* Get current clipboards */
- if (clip->type != STATIC && G_UNLIKELY (NULL == clip_default))
- {
- /* The allocation of text is used as-is in clipman_clip_new() */
- text = gtk_clipboard_wait_for_text (clipman_plugin->clipman_clips->default_clipboard);
- clip_default = clipman_clip_new (text, DEFAULT);
- if (G_UNLIKELY (NULL == clip_default->text))
- clip_default->text = g_strdup ("");
+ g_signal_connect (G_OBJECT(mi), "button_release_event",
+ G_CALLBACK(clipman_item_clicked), action);
- text = gtk_clipboard_wait_for_text (clipman_plugin->clipman_clips->primary_clipboard);
- clip_primary = clipman_clip_new (text, PRIMARY);
- if (G_UNLIKELY (NULL == clip_primary->text))
- clip_primary->text = g_strdup ("");
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
+ }
}
- /* Get the last clip */
- if (G_UNLIKELY (NULL == clip_last))
+ g_free (ptext);
+
+ if (j == 0)
{
- if (clip->type == STATIC)
- clip_last = (ClipmanClip *)(g_slist_last (clipman_plugin->clipman_clips->static_clipboard)->data);
- else
- clip_last = (ClipmanClip *)(g_slist_last (clipman_plugin->clipman_clips->history)->data);
+ mi = gtk_menu_item_new_with_label (_("< Selection History Empty >"));
+ gtk_widget_set_sensitive (mi, FALSE);
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
}
- /* Generate a short text */
- if (G_UNLIKELY (NULL == clip->short_text))
- clip->short_text = clipman_plugin_get_short_text (clipman_plugin, clip->text);
+ mi = gtk_separator_menu_item_new ();
+ gtk_widget_set_sensitive (mi, FALSE);
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
- /* Generate the menu item text */
- if (clipman_plugin->menu_item_show_number && clipman_plugin->clipman_clips->behavior == STRICTLY)
- text = g_strdup_printf ("%d. %s", (clip->type == PRIMARY) ? i+1 : j+1, clip->short_text);
- else if (clipman_plugin->menu_item_show_number)
- text = g_strdup_printf ("%d. %s", i+1, clip->short_text);
- else
- text = g_strdup (clip->short_text);
+ mi = gtk_menu_item_new_with_label (_("Clear History"));
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
- /* Check if the clip matches the clipboards to set the text in bold */
- if ((clip->type == DEFAULT && !clip_default_found) ||
- (clip->type == PRIMARY && !clip_primary_found))
+ g_signal_connect (G_OBJECT (mi), "button_release_event",
+ G_CALLBACK (clipman_clear), clipman);
+}
+
+static void
+clipman_clicked_not_separated (GtkWidget *menu,
+ ClipmanPlugin *clipman)
+{
+ gchar *ptext, *dtext;
+ guint i;
+ ClipmanAction *action = NULL;
+ ClipmanClip *clip;
+ GtkWidget *mi;
+
+ ptext = gtk_clipboard_wait_for_text (primaryClip);
+ dtext = gtk_clipboard_wait_for_text (defaultClip);
+
+ for (i = clipman->clips->len; i--;)
{
- switch (clipman_plugin->clipman_clips->behavior)
- {
- case STRICTLY:
- /* Check with default clipboard */
- a = clipman_clips_compare_with_type (clip, clip_default);
- if (a == 0)
- clip_default_found = TRUE;
- /* Check with primary clipboard */
- else
- {
- b = clipman_clips_compare_with_type (clip, clip_primary);
- if (b == 0)
- clip_primary_found = TRUE;
- }
- break;
+ clip = g_ptr_array_index (clipman->clips, i);
- default:
- case NORMAL:
- a = clipman_clips_compare (clip, clip_default);
- if (a != 0)
- b = clipman_clips_compare (clip, clip_primary);
- if (a == 0 || b == 0)
- clip_default_found = clip_primary_found = TRUE;
- break;
- }
+ action = panel_slice_new0 (ClipmanAction);
+ action->clipman = clipman;
+ action->clip = clip;
- /* Set text in bold */
- if (a == 0 || b == 0)
+ if (dtext != NULL &&
+ G_LIKELY (clip->text != NULL) &&
+ strcmp(clip->text, dtext) == 0)
{
- bold = g_strconcat ("<b>", text, "</b>", NULL);
- g_free (text);
- text = bold;
+ mi = clipman_create_menuitem (action, clipman->MenuCharacters,
+ clipman->clips->len-i, TRUE);
+ g_free (dtext);
+ dtext = NULL;
}
+ else if (ptext != NULL &&
+ G_LIKELY (clip->text != NULL) &&
+ strcmp(clip->text, ptext) == 0)
+ {
+ mi = clipman_create_menuitem (action, clipman->MenuCharacters,
+ clipman->clips->len-i, TRUE);
+ g_free (ptext);
+ ptext = NULL;
+ }
+ else
+ {
+ mi = clipman_create_menuitem (action, clipman->MenuCharacters,
+ clipman->clips->len-i, FALSE);
+ }
+
+ g_signal_connect (G_OBJECT(mi), "button_release_event",
+ G_CALLBACK(clipman_item_clicked), action);
+
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
}
- /* Create the menu item */
- mi = gtk_menu_item_new_with_label ("");
- gtk_label_set_markup (GTK_LABEL (GTK_BIN (mi)->child), text);
- g_free (text);
+ g_free (ptext);
+ g_free (dtext);
- g_object_set_data (G_OBJECT (mi), "clip", clip);
+ mi = gtk_separator_menu_item_new ();
+ gtk_widget_set_sensitive (mi, FALSE);
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
- /* Connect signals */
- g_signal_connect (mi,
- "activate",
- G_CALLBACK (clipman_plugin_menu_item_activate),
- clipman_plugin);
- g_signal_connect (mi,
- "button_press_event",
- G_CALLBACK (clipman_plugin_menu_item_pressed),
- clipman_plugin);
+ mi = gtk_menu_item_new_with_label (_("Clear History"));
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
- /* Insert in the menu */
- switch (clip->type)
- {
- case STATIC:
- gtk_menu_shell_prepend (GTK_MENU_SHELL (clipman_plugin->menu), mi);
- i++;
- break;
+ g_signal_connect (G_OBJECT (mi), "button_release_event",
+ G_CALLBACK (clipman_clear), clipman);
+}
- case DEFAULT:
- case PRIMARY:
- default:
- switch (clipman_plugin->clipman_clips->behavior)
- {
- case STRICTLY:
- /* Insert primary clipboard before default clipboard */
- if (clip->type == PRIMARY && !clipman_plugin->clipman_clips->ignore_primary)
- {
- gtk_menu_shell_insert (GTK_MENU_SHELL (clipman_plugin->menu), mi, i);
- i++;
- }
- /* Append default clipboard */
- else
- {
- gtk_menu_shell_append (GTK_MENU_SHELL (clipman_plugin->menu), mi);
- j++;
- }
- break;
+static void
+clipman_position_menu (GtkMenu *menu,
+ int *x,
+ int *y,
+ gboolean *push_in,
+ ClipmanPlugin *clipman)
+{
+ GtkRequisition req;
+ GdkScreen *screen;
+ GdkRectangle geom;
+ gint num;
- default:
- case NORMAL:
- /* Append */
- gtk_menu_shell_append (GTK_MENU_SHELL (clipman_plugin->menu), mi);
- i++;
- break;
- }
- break;
- }
+ gtk_widget_size_request (GTK_WIDGET (menu), &req);
- /* Check if the clip matches the last clip */
- if (clip == clip_last)
+ gdk_window_get_origin (GTK_WIDGET (clipman->plugin)->window, x, y);
+
+ switch (xfce_panel_plugin_get_screen_position(clipman->plugin))
{
- if (clip->type != STATIC && clipman_plugin->clipman_clips->behavior == STRICTLY)
- {
- /* Add separators and check for empty clipboards */
- if (!clipman_plugin->clipman_clips->ignore_primary)
- {
- if (i == 0)
- {
- mi = gtk_menu_item_new_with_label (_("< Selection History Empty >"));
- gtk_widget_set_sensitive (mi, FALSE);
- gtk_menu_shell_insert (GTK_MENU_SHELL (clipman_plugin->menu), mi, i++);
- }
+ case XFCE_SCREEN_POSITION_SW_H:
+ case XFCE_SCREEN_POSITION_S:
+ case XFCE_SCREEN_POSITION_SE_H:
+ DBG("Bottom");
+ *y -= req.height;
+ break;
- mi = gtk_separator_menu_item_new ();
- gtk_menu_shell_insert (GTK_MENU_SHELL (clipman_plugin->menu), mi, i);
- }
+ case XFCE_SCREEN_POSITION_NW_H:
+ case XFCE_SCREEN_POSITION_N:
+ case XFCE_SCREEN_POSITION_NE_H:
+ DBG("Top");
+ *y += clipman->button->allocation.height;
+ break;
- if (j == 0)
- {
- mi = gtk_menu_item_new_with_label (_("< Default History Empty >"));
- gtk_widget_set_sensitive (mi, FALSE);
- gtk_menu_shell_append (GTK_MENU_SHELL (clipman_plugin->menu), mi);
- }
- }
+ case XFCE_SCREEN_POSITION_NW_V:
+ case XFCE_SCREEN_POSITION_W:
+ case XFCE_SCREEN_POSITION_SW_V:
+ DBG("Left");
+ *x += clipman->button->allocation.width;
+ *y += clipman->button->allocation.height - req.height;
+ break;
- /* Free memory */
- if (NULL != clip_default)
- clipman_clip_free (clip_default);
- if (NULL != clip_primary)
- clipman_clip_free (clip_primary);
+ case XFCE_SCREEN_POSITION_NE_V:
+ case XFCE_SCREEN_POSITION_E:
+ case XFCE_SCREEN_POSITION_SE_V:
+ DBG("Right");
+ *x -= req.width;
+ *y += clipman->button->allocation.height - req.height;
+ break;
- /* Unset static variables */
- clip_default = clip_primary = clip_last = NULL;
- clip_default_found = clip_primary_found = FALSE;
- i = j = 0;
+ case XFCE_SCREEN_POSITION_FLOATING_H:
+ case XFCE_SCREEN_POSITION_FLOATING_V:
+ case XFCE_SCREEN_POSITION_NONE:
+ DBG("Floating");
+ gdk_display_get_pointer(gtk_widget_get_display(GTK_WIDGET(clipman->plugin)),
+ NULL, x, y, NULL);
}
-}
-static void
-clipman_plugin_menu_popup (ClipmanPlugin *clipman_plugin)
-{
- gint rc = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (clipman_plugin->button));
- if (rc == FALSE)
- return;
+ screen = gtk_widget_get_screen (clipman->button);
+ num = gdk_screen_get_monitor_at_window (screen, clipman->button->window);
+ gdk_screen_get_monitor_geometry (screen, num, &geom);
- clipman_plugin_menu_new (clipman_plugin);
- gtk_menu_popup (GTK_MENU (clipman_plugin->menu),
- NULL,
- NULL,
- (GtkMenuPositionFunc)clipman_plugin_menu_position,
- clipman_plugin->panel_plugin,
- 0,
- gtk_get_current_event_time ());
+ if (*x > geom.x + geom.width - req.width)
+ *x = geom.x + geom.width - req.width;
+ if (*x < geom.x)
+ *x = geom.x;
+
+ if (*y > geom.y + geom.height - req.height)
+ *y = geom.y + geom.height - req.height;
+ if (*y < geom.y)
+ *y = geom.y;
}
-static void
-clipman_plugin_menu_position (GtkMenu *menu,
- gint *x,
- gint *y,
- gboolean *push_in,
- gpointer user_data)
+static gboolean
+clipman_clicked (GtkWidget *button,
+ GdkEventButton *ev,
+ ClipmanPlugin *clipman)
{
- XfcePanelPlugin *panel_plugin = user_data;
- GtkWidget *button;
- GtkRequisition requisition;
- GtkOrientation orientation;
-
- g_return_if_fail (GTK_IS_MENU (menu));
- button = gtk_menu_get_attach_widget (menu);
- g_return_if_fail (GTK_IS_WIDGET (button));
+ GtkWidget *mi;
+ GtkWidget *menu;
+ gchar *title;
- orientation = xfce_panel_plugin_get_orientation (panel_plugin);
- gtk_widget_size_request (GTK_WIDGET (menu), &requisition);
- gdk_window_get_origin (button->window, x, y);
+ if (ev->button != 1)
+ return FALSE;
- switch (orientation)
- {
- case GTK_ORIENTATION_HORIZONTAL:
- if (*y + button->allocation.height + requisition.height > gdk_screen_height ())
- /* Show menu above */
- *y -= requisition.height;
- else
- /* Show menu below */
- *y += button->allocation.height;
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (clipman->button), TRUE);
- if (*x + requisition.width > gdk_screen_width ())
- /* Adjust horizontal position */
- *x = gdk_screen_width () - requisition.width;
- break;
-
- case GTK_ORIENTATION_VERTICAL:
- if (*x + button->allocation.width + requisition.width > gdk_screen_width ())
- /* Show menu on the right */
- *x -= requisition.width;
- else
- /* Show menu on the left */
- *x += button->allocation.width;
-
- if (*y + requisition.height > gdk_screen_height ())
- /* Adjust vertical position */
- *y = gdk_screen_height () - requisition.height;
- break;
-
- default:
- break;
+ menu = gtk_menu_new ();
+
+ title = g_strdup_printf("<span weight=\"bold\">%s</span>", _("Clipman History"));
+ mi = gtk_menu_item_new_with_label ("");
+ gtk_label_set_markup(GTK_LABEL(GTK_BIN(mi)->child), title);
+ gtk_widget_set_sensitive (mi, FALSE);
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
+
+ mi = gtk_separator_menu_item_new ();
+ gtk_widget_set_sensitive (mi, FALSE);
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
+
+ if (clipman->SeparateMenu &&
+ !clipman->IgnoreSelect &&
+ G_LIKELY (clipman->clips->len > 0))
+ {
+ clipman_clicked_separated (menu, clipman);
}
-}
+ else if (G_LIKELY (clipman->clips->len > 0))
+ {
+ clipman_clicked_not_separated (menu, clipman);
+ }
+ else
+ {
+ mi = gtk_menu_item_new_with_label (_("< Clipboard Empty >"));
+ gtk_widget_set_sensitive (mi, FALSE);
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
+ }
-static void
-clipman_plugin_menu_destroy (ClipmanPlugin *clipman_plugin)
-{
- if (G_LIKELY (GTK_IS_MENU (clipman_plugin->menu)))
- gtk_menu_detach (GTK_MENU (clipman_plugin->menu));
- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (clipman_plugin->button), FALSE);
+ gtk_widget_show_all (menu);
+
+ /* Also destroy the menu items when nothing is clicked */
+ g_signal_connect (G_OBJECT(menu), "deactivate",
+ G_CALLBACK(clipman_destroy_menu), clipman);
+
+ gtk_menu_popup (GTK_MENU (menu), NULL, NULL,
+ (GtkMenuPositionFunc) clipman_position_menu,
+ clipman, 0,
+ gtk_get_current_event_time ());
+
+ return TRUE;
}
static void
-clipman_plugin_menu_item_activate (GtkWidget *widget,
- ClipmanPlugin *clipman_plugin)
+clipman_restore_empty (ClipmanPlugin *clipman,
+ ClipboardType type)
{
- g_return_if_fail (G_LIKELY (GTK_IS_WIDGET (widget)));
- ClipmanClip *clip = g_object_get_data (G_OBJECT (widget), "clip");
- g_return_if_fail (G_LIKELY (NULL != clip));
+ guint i;
+ ClipmanClip *clip;
- /* Copy the clip to the clipboard */
- if (clip->type != STATIC && clipman_plugin->clipman_clips->behavior == STRICTLY)
+ if (clipman->Behaviour == STRICTLY &&
+ G_LIKELY (clipman->clips->len > 0))
{
- if (clip->type == PRIMARY)
- gtk_clipboard_set_text (clipman_plugin->clipman_clips->primary_clipboard, clip->text, -1);
- else
- gtk_clipboard_set_text (clipman_plugin->clipman_clips->default_clipboard, clip->text, -1);
+ /* Walk through the array till a clip of it's own
+ * type is found, then past it in the clipboard */
+ for (i = clipman->clips->len; i--;)
+ {
+ clip = g_ptr_array_index (clipman->clips, i);
+
+ if (clip->fromtype == type)
+ {
+ switch (type)
+ {
+ case PRIMARY:
+ gtk_clipboard_set_text(primaryClip, clip->text, -1);
+ break;
+ case DEFAULT:
+ gtk_clipboard_set_text(defaultClip, clip->text, -1);
+ break;
+ }
+
+ DBG("Clipboard restored with a clip from same type");
+
+ break;
+ }
+ }
}
- /* Copy the static clip to the clipboard */
- else
+ else if (clipman->clips->len > 0)
{
- StaticSelection static_selection = clipman_plugin->clipman_clips->static_selection;
+ /* Grap the latest clip and paste it in the clipboard */
+ clip = g_ptr_array_index (clipman->clips, (clipman->clips->len-1));
- if (static_selection == DEFAULT || static_selection == BOTH)
- gtk_clipboard_set_text (clipman_plugin->clipman_clips->default_clipboard, clip->text, -1);
+ switch (type)
+ {
+ case PRIMARY:
+ gtk_clipboard_set_text(primaryClip, clip->text, -1);
+ break;
+ case DEFAULT:
+ gtk_clipboard_set_text(defaultClip, clip->text, -1);
+ break;
+ }
- if (static_selection == PRIMARY || static_selection == BOTH)
- gtk_clipboard_set_text (clipman_plugin->clipman_clips->primary_clipboard, clip->text, -1);
+ DBG("Last clip added");
}
}
static gboolean
-clipman_plugin_menu_item_pressed (GtkWidget *widget,
- GdkEventButton *event,
- ClipmanPlugin *clipman_plugin)
+clipman_check (ClipmanPlugin *clipman)
{
- if (event->button != 3 && event->button != 2)
- return FALSE;
+ gchar *ptext = NULL, *dtext;
+ GdkModifierType state;
- g_return_val_if_fail (G_LIKELY (GTK_IS_WIDGET (widget)), FALSE);
- ClipmanClip *clip = g_object_get_data (G_OBJECT (widget), "clip");
- g_return_val_if_fail (G_LIKELY (NULL != clip), FALSE);
+ /* We ignore the selection clipboard entirely if you've activated this in the options dialog */
+ if (!clipman->IgnoreSelect)
+ {
+ /* Get mouse button information */
+ gdk_window_get_pointer(NULL, NULL, NULL, &state);
- /* Copy clip to static clipboard */
- if (event->button == 2)
- clipman_plugin_add_static_with_text (clipman_plugin, clip->text);
+ ptext = gtk_clipboard_wait_for_text (primaryClip);
- /* Delete item */
- else if (event->button == 3)
- clipman_plugin_delete (clipman_plugin, clip);
+ if (clipman->PreventEmpty && ptext == NULL)
+ {
+ clipman_restore_empty (clipman, PRIMARY);
+ }
+ else if (ptext != NULL &&
+ !(state & GDK_BUTTON1_MASK) &&
+ !clipman_exists (clipman, ptext, PRIMARY))
+ {
+ DBG("Item added from primary clipboard");
+ clipman_add_clip (clipman, ptext, PRIMARY);
+ clipman_check_array_len (clipman);
+ }
- return TRUE;
+ g_free (ptext);
+ }
+
+ dtext = gtk_clipboard_wait_for_text (defaultClip);
+
+ /* Check default clipboard */
+ if (clipman->PreventEmpty && dtext == NULL)
+ {
+ clipman_restore_empty (clipman, DEFAULT);
+ }
+ else if (G_LIKELY (dtext != NULL) &&
+ !clipman_exists (clipman, dtext, DEFAULT))
+ {
+ DBG("Item added from default clipboard");
+ clipman_add_clip (clipman, dtext, DEFAULT);
+ clipman_check_array_len (clipman);
+ }
+
+ g_free (dtext);
+
+ return TRUE;
}
static void
-clipman_plugin_add_static (ClipmanPlugin *clipman_plugin)
+clipman_reset_timeout (ClipmanPlugin *clipman)
{
- clipman_plugin_add_static_with_text (clipman_plugin, NULL);
+ if (!(clipman->killTimeout))
+ {
+ if (clipman->TimeoutId != 0)
+ g_source_remove (clipman->TimeoutId);
+
+ clipman->TimeoutId = g_timeout_add_full (G_PRIORITY_LOW,
+ TIMER_INTERVAL,
+ (GSourceFunc) clipman_check,
+ clipman,
+ (GDestroyNotify) clipman_reset_timeout);
+ }
}
-static void
-clipman_plugin_add_static_with_text (ClipmanPlugin *clipman_plugin,
- const gchar *text)
+void
+clipman_save (XfcePanelPlugin *plugin,
+ ClipmanPlugin *clipman)
{
- /* Dialog */
- GtkWidget *dialog =
- gtk_dialog_new_with_buttons (_("Add static clipboard"),
- GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (clipman_plugin->panel_plugin))),
- GTK_DIALOG_MODAL|GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_NO_SEPARATOR,
- GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
- GTK_STOCK_ADD, GTK_RESPONSE_OK,
- NULL);
- gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
- gtk_window_set_icon_name (GTK_WINDOW (dialog), GTK_STOCK_PASTE);
- gtk_window_set_default_size (GTK_WINDOW (dialog), 400, 110);
+ XfceRc *rc;
+ gchar *file;
+ guint i;
+ gchar name[13];
+ ClipmanClip *clip;
- /* Box */
- GtkWidget *vbox = GTK_DIALOG (dialog)->vbox;
+ DBG("Saving clipman settings");
- /* Scrolled window */
- GtkWidget *scrolledwin = gtk_scrolled_window_new (NULL, NULL);
- gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwin), GTK_SHADOW_IN);
- gtk_container_add (GTK_CONTAINER (vbox), scrolledwin);
+ file = xfce_resource_save_location (XFCE_RESOURCE_CONFIG, "xfce4/panel/clipman.rc", TRUE);
- /* Entry */
- GtkWidget *entry = gtk_text_view_new ();
- GtkTextBuffer *buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (entry));
- gtk_text_view_set_accepts_tab (GTK_TEXT_VIEW (entry), FALSE);
- if (NULL != text)
- gtk_text_buffer_set_text (buffer, text, -1);
- gtk_container_add (GTK_CONTAINER (scrolledwin), entry);
+ if (G_UNLIKELY (!file))
+ return;
- /* Containers */
- gtk_container_set_border_width (GTK_CONTAINER (dialog), 4);
- gtk_container_set_border_width (GTK_CONTAINER (vbox), BORDER);
+ rc = xfce_rc_simple_open (file, FALSE);
+ g_free (file);
- /* Run the dialog */
- gtk_widget_show_all (vbox);
- gint result = gtk_dialog_run (GTK_DIALOG (dialog));
- gtk_widget_hide (dialog);
+ /* Save the preferences */
+ xfce_rc_set_group (rc, "Properties");
- if (G_LIKELY (result == GTK_RESPONSE_OK && gtk_text_buffer_get_char_count (buffer) > 0))
+ xfce_rc_write_bool_entry (rc, "ExitSave", clipman->ExitSave);
+ xfce_rc_write_bool_entry (rc, "IgnoreSelect", clipman->IgnoreSelect);
+ xfce_rc_write_bool_entry (rc, "PreventEmpty", clipman->PreventEmpty);
+
+ switch (clipman->Behaviour)
{
- /* Add static clipboard */
- GtkTextIter start, end;
- gtk_text_buffer_get_bounds (buffer, &start, &end);
- gchar *text_dup = gtk_text_buffer_get_text (GTK_TEXT_BUFFER (buffer), &start, &end, TRUE);
- clipman_clips_add (clipman_plugin->clipman_clips, text_dup, STATIC);
+ case NORMAL:
+ xfce_rc_write_int_entry (rc, "Behaviour", 1);
+ break;
+ case STRICTLY:
+ xfce_rc_write_int_entry (rc, "Behaviour", 2);
+ break;
}
- /* Destroy the dialog */
- gtk_widget_destroy (dialog);
-}
+ xfce_rc_write_bool_entry (rc, "ItemNumbers", clipman->ItemNumbers);
+ xfce_rc_write_bool_entry (rc, "SeparateMenu", clipman->SeparateMenu);
-static void
-clipman_plugin_delete (ClipmanPlugin *clipman_plugin,
- ClipmanClip *clip)
-{
- GtkWidget *dialog =
- gtk_message_dialog_new (NULL,
- GTK_DIALOG_MODAL,
- GTK_MESSAGE_QUESTION,
- GTK_BUTTONS_YES_NO,
- _("Are you sure you want to remove this clip from the history?"));
- gint result = gtk_dialog_run (GTK_DIALOG (dialog));
- gtk_widget_destroy (dialog);
- if (G_UNLIKELY (result != GTK_RESPONSE_YES))
- return;
+ xfce_rc_write_int_entry (rc, "HistoryItems", clipman->HistoryItems);
+ xfce_rc_write_int_entry (rc, "MenuCharacters", clipman->MenuCharacters);
- DBG ("Delete `%s' from clipboard (%d)", clip->text, clip->type);
+ /* Remove old content and create a new one */
+ xfce_rc_delete_group (rc, "Clips", TRUE );
- /* The activate signal comes before button-press-event, therefore we must
- * free the clipboards so the activate signal will not add a new item */
- ClipmanClips *clipman_clips = clipman_plugin->clipman_clips;
- if (clip->type != STATIC)
+ if (clipman->ExitSave &&
+ clipman->clips->len > 0
+ )
{
- switch (clipman_clips->behavior)
+ DBG("Saving the clipboard history");
+
+ xfce_rc_set_group (rc, "Clips");
+ xfce_rc_write_int_entry (rc, "ClipsLen", clipman->clips->len);
+
+ for (i = 0; i < clipman->clips->len; ++i)
{
- case STRICTLY:
- if (clip->type == PRIMARY)
- gtk_clipboard_set_text (clipman_clips->primary_clipboard, "", -1);
- else
- gtk_clipboard_set_text (clipman_clips->default_clipboard, "", -1);
+ clip = g_ptr_array_index (clipman->clips, i);
- default:
- case NORMAL:
- gtk_clipboard_set_text (clipman_clips->default_clipboard, "", -1);
- gtk_clipboard_set_text (clipman_clips->primary_clipboard, "", -1);
- break;
+ g_snprintf (name, 13, "clip_%d_text", i);
+ xfce_rc_write_entry (rc, name, clip->text);
+
+ g_snprintf (name, 13, "clip_%d_from", i);
+ if (clip->fromtype == PRIMARY)
+ xfce_rc_write_int_entry (rc, name, 0);
+ else
+ xfce_rc_write_int_entry (rc, name, 1);
}
}
- clipman_clips_delete (clipman_clips, clip);
+ xfce_rc_close (rc);
}
-static gboolean
-clipman_plugin_message_received (ClipmanPlugin *clipman_plugin,
- GdkEventClient *ev)
+static void
+clipman_read (ClipmanPlugin *clipman)
{
- DBG ("Message received");
- if (G_LIKELY (ev->data_format == 8 && *(ev->data.b) != '\0'))
- {
- if (!g_ascii_strcasecmp (XFCE_CLIPMAN_MESSAGE, ev->data.b))
- {
- DBG ("`%s'", ev->data.b);
- xfce_panel_plugin_set_panel_hidden (clipman_plugin->panel_plugin, FALSE);
- while (gtk_events_pending ())
- gtk_main_iteration ();
- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (clipman_plugin->button), TRUE);
- return TRUE;
- }
- }
- return FALSE;
-}
+ XfceRc *rc;
+ gchar *file, *value;
+ guint type, i, clipslen;
+ gchar name[13];
-static gboolean
-clipman_plugin_set_selection (ClipmanPlugin *clipman_plugin)
-{
- GdkScreen *gscreen;
- gchar *selection_name;
- Atom selection_atom;
- GtkWidget *win;
- Window id;
+ /* Because Clipman is unique, we use 1 config file */
+ /*
+ file = xfce_panel_plugin_save_location (clipman->plugin, FALSE);
+ DBG("Read from file: %s", file);
+ */
- win = gtk_invisible_new ();
- gtk_widget_realize (win);
- id = GDK_WINDOW_XID (GTK_WIDGET (win)->window);
+ file = xfce_resource_save_location (XFCE_RESOURCE_CONFIG, "xfce4/panel/clipman.rc", TRUE);
- gscreen = gtk_widget_get_screen (win);
- selection_name = g_strdup_printf (XFCE_CLIPMAN_SELECTION"%d",
- gdk_screen_get_number (gscreen));
- selection_atom = XInternAtom (GDK_DISPLAY (), selection_name, FALSE);
+ if (G_UNLIKELY (!file))
+ return;
- if (XGetSelectionOwner (GDK_DISPLAY (), selection_atom))
+ rc = xfce_rc_simple_open (file, FALSE);
+ g_free (file);
+
+ xfce_rc_set_group (rc, "Properties");
+
+ clipman->ExitSave = xfce_rc_read_bool_entry (rc, "ExitSave", DEFEXITSAVE);
+ clipman->IgnoreSelect = xfce_rc_read_bool_entry (rc, "IgnoreSelect", DEFIGNORESELECT);
+ clipman->PreventEmpty = xfce_rc_read_bool_entry (rc, "PreventEmpty", DEFPREVENTEMPTY);
+
+ switch (xfce_rc_read_int_entry (rc, "Behaviour", DEFBEHAVIOUR))
{
- gtk_widget_destroy (win);
- return FALSE;
+ case 1:
+ clipman->Behaviour = NORMAL;
+ DBG ("Behaviour = NORMAL");
+ break;
+ case 2:
+ clipman->Behaviour = STRICTLY;
+ DBG ("Behaviour = STRICTLY");
+ break;
}
- XSelectInput (GDK_DISPLAY (), id, PropertyChangeMask);
- XSetSelectionOwner (GDK_DISPLAY (), selection_atom, id, GDK_CURRENT_TIME);
+ clipman->ItemNumbers = xfce_rc_read_bool_entry (rc, "ItemNumbers", DEFITEMNUMBERS);
+ clipman->SeparateMenu = xfce_rc_read_bool_entry (rc, "SeparateMenu", DEFSEPMENU);
- g_signal_connect_swapped (win, "client-event",
- G_CALLBACK (clipman_plugin_message_received),
- clipman_plugin);
+ clipman->HistoryItems = xfce_rc_read_int_entry (rc, "HistoryItems", DEFHISTORY);
+ clipman->MenuCharacters = xfce_rc_read_int_entry (rc, "MenuCharacters", DEFCHARS);
- return TRUE;
-}
+ if (clipman->HistoryItems > MAXHISTORY)
+ clipman->HistoryItems = MAXHISTORY;
+ if (clipman->HistoryItems < MINHISTORY)
+ clipman->HistoryItems = MINHISTORY;
+ if (clipman->MenuCharacters > MAXCHARS)
+ clipman->MenuCharacters = MAXCHARS;
+ if (clipman->MenuCharacters < MINCHARS)
+ clipman->MenuCharacters = MINCHARS;
+ xfce_rc_set_group (rc, "Clips");
+ clipslen = xfce_rc_read_int_entry (rc, "ClipsLen", 0);
-static ClipmanClips *
-clipman_clips_new (ClipmanPlugin *clipman_plugin)
-{
- ClipmanClips *clipman_clips = g_slice_new0 (ClipmanClips);
+ if (clipslen > MAXHISTORY)
+ clipslen = MAXHISTORY;
- clipman_clips->clipman_plugin = clipman_plugin;
+ if (clipman->ExitSave &&
+ clipslen > 0
+ )
+ {
+ DBG("Restoring the clipboard");
- clipman_clips->default_clipboard = gtk_clipboard_get (GDK_SELECTION_CLIPBOARD);
- clipman_clips->primary_clipboard = gtk_clipboard_get (GDK_SELECTION_PRIMARY);
+ for (i = 0; i < clipslen; ++i)
+ {
+ g_snprintf (name, 13, "clip_%d_text", i);
+ value = g_strdup (xfce_rc_read_entry (rc, name, ""));
- clipman_clips->history = NULL;
- clipman_clips->static_clipboard = NULL;
+ g_snprintf (name, 13, "clip_%d_from", i);
+ type = xfce_rc_read_int_entry (rc, name, 0);
- clipman_clips->timeout =
- g_timeout_add_full (G_PRIORITY_LOW,
- TIMER_INTERVAL,
- (GSourceFunc)clipman_clips_check_clipboard,
- clipman_clips,
- (GDestroyNotify)NULL);
+ if (type == 0)
+ clipman_add_clip (clipman, value, PRIMARY);
+ else
+ clipman_add_clip (clipman, value, DEFAULT);
- return clipman_clips;
+ g_free (value);
+ }
+ }
+
+ xfce_rc_close (rc);
}
-static void
-clipman_clips_clear_history (ClipmanClips *clipman_clips)
+static ClipmanPlugin *
+clipman_new (XfcePanelPlugin *plugin)
{
- GSList *list;
+ ClipmanPlugin *clipman;
+ clipman = panel_slice_new0 (ClipmanPlugin);
- GtkWidget *dialog =
- gtk_message_dialog_new (NULL,
- GTK_DIALOG_MODAL,
- GTK_MESSAGE_QUESTION,
- GTK_BUTTONS_YES_NO,
- _("Are you sure you want to clear the history?"));
- gint result = gtk_dialog_run (GTK_DIALOG (dialog));
- gtk_widget_destroy (dialog);
- if (G_UNLIKELY (result != GTK_RESPONSE_YES))
- return;
+ clipman->clips = g_ptr_array_new ();
+ clipman->plugin = plugin;
- for (list = clipman_clips->history; list != NULL; list = list->next)
- clipman_clip_free ((ClipmanClip *)list->data);
- g_slist_free (list);
+ clipman->tooltip = gtk_tooltips_new ();
+ g_object_ref (G_OBJECT (clipman->tooltip));
- clipman_clips->history = NULL;
+ /* Load Settings */
+ clipman_read (clipman);
- gtk_clipboard_set_text (clipman_clips->default_clipboard, "", -1);
- gtk_clipboard_set_text (clipman_clips->primary_clipboard, "", -1);
-}
+ /* Create panel widgets */
+ clipman->button = xfce_create_panel_toggle_button ();
+ gtk_widget_show (clipman->button);
-static void
-clipman_clips_restore_empty (ClipmanClips *clipman_clips,
- ClipboardType type)
-{
- if (G_UNLIKELY (NULL == clipman_clips->history))
- return;
+ clipman->icon = gtk_image_new ();
+ gtk_widget_show (clipman->icon);
+ gtk_container_add (GTK_CONTAINER (clipman->button), clipman->icon);
- GSList *list = clipman_clips->history;
- ClipmanClip *clip = (ClipmanClip *)list->data;
+ gtk_tooltips_set_tip (GTK_TOOLTIPS(clipman->tooltip),
+ clipman->button, _("Clipboard Manager"),
+ NULL);
- switch (clipman_clips->behavior)
- {
- case STRICTLY:
- while (clip->type != type)
- {
- list = list->next;
- if (G_UNLIKELY (NULL == list))
- return;
- clip = (ClipmanClip *)list->data;
- }
+ g_signal_connect(clipman->button, "button_press_event",
+ G_CALLBACK(clipman_clicked), clipman);
- if (type == DEFAULT)
- gtk_clipboard_set_text (clipman_clips->default_clipboard, clip->text, -1);
- else if (!clipman_clips->ignore_primary)
- gtk_clipboard_set_text (clipman_clips->primary_clipboard, clip->text, -1);
- break;
+ /* Start the clipman_check function */
+ clipman->TimeoutId = g_timeout_add_full(G_PRIORITY_LOW,
+ TIMER_INTERVAL,
+ (GSourceFunc) clipman_check,
+ clipman,
+ (GDestroyNotify) clipman_reset_timeout);
- default:
- case NORMAL:
- gtk_clipboard_set_text (clipman_clips->default_clipboard, clip->text, -1);
- if (!clipman_clips->ignore_primary)
- gtk_clipboard_set_text (clipman_clips->primary_clipboard, clip->text, -1);
- break;
- }
+ /* Connect to the clipboards */
+ defaultClip = gtk_clipboard_get (GDK_SELECTION_CLIPBOARD);
+ primaryClip = gtk_clipboard_get (GDK_SELECTION_PRIMARY);
- DBG ("Restore clipboard to `%s'", clip->text);
+ return clipman;
}
-static gboolean
-clipman_clips_check_clipboard (ClipmanClips *clipman_clips)
+static void
+clipman_free (XfcePanelPlugin *plugin,
+ ClipmanPlugin *clipman)
{
- GdkModifierType state;
- gchar *text; /* We use the new allocation of
- * gtk_clipboard_wait_for_text,
- * so no free() on that beotche */
+ guint i;
+ ClipmanClip *clip;
+ GtkWidget *dialog;
- /* Default clipboard */
- text = gtk_clipboard_wait_for_text (clipman_clips->default_clipboard);
- if (G_LIKELY (NULL != text))
- clipman_clips_add (clipman_clips, text, DEFAULT);
- else if (clipman_clips->prevent_empty == TRUE)
- clipman_clips_restore_empty (clipman_clips, DEFAULT);
+ /* Valgrind notes:
+ - primaryClip and defaultClip should be cleared, but gtk
+ takes care about this
+ */
- /* Primary clipboard */
- if (!clipman_clips->ignore_primary)
+ /* Free the clipboards */
+ gtk_clipboard_clear (primaryClip);
+ gtk_clipboard_clear (defaultClip);
+
+ /* Destroy the setting dialog, if this open */
+ dialog = g_object_get_data (G_OBJECT (plugin), "dialog");
+
+ if (dialog)
+ gtk_widget_destroy (dialog);
+
+ /* Stop the check loop */
+ clipman->killTimeout = TRUE;
+ if (clipman->TimeoutId != 0)
{
- gdk_window_get_pointer (NULL, NULL, NULL, &state);
- if (state & GDK_BUTTON1_MASK)
- return TRUE;
+ g_source_remove(clipman->TimeoutId);
+ clipman->TimeoutId = 0;
+ }
- text = gtk_clipboard_wait_for_text (clipman_clips->primary_clipboard);
- if (G_LIKELY (NULL != text))
- clipman_clips_add (clipman_clips, text, PRIMARY);
- else if (clipman_clips->prevent_empty == TRUE)
- clipman_clips_restore_empty (clipman_clips, PRIMARY);
+ /* Remove clipboard items */
+ for (i = clipman->clips->len; i--;)
+ {
+ clip = g_ptr_array_index (clipman->clips, i);
+ g_ptr_array_remove_fast (clipman->clips, clip);
+ clipman_free_clip (clip);
}
+ g_ptr_array_free (clipman->clips, TRUE);
- return TRUE;
-}
+ gtk_tooltips_set_tip (clipman->tooltip, clipman->button, NULL, NULL);
+ g_object_unref (G_OBJECT (clipman->tooltip));
-void
-clipman_clips_delete (ClipmanClips *clipman_clips,
- ClipmanClip *clip)
-{
- g_return_if_fail (G_LIKELY (NULL != clip));
+ gtk_widget_destroy (clipman->icon);
+ gtk_widget_destroy (clipman->button);
- if (clip->type == STATIC)
- clipman_clips->static_clipboard = g_slist_remove (clipman_clips->static_clipboard, clip);
- else
- clipman_clips->history = g_slist_remove (clipman_clips->history, clip);
+ clipman->plugin = NULL;
- clipman_clip_free (clip);
+ DBG ("Plugin Freed");
+
+ panel_slice_free (ClipmanPlugin, clipman);
}
-static void
-clipman_clips_add (ClipmanClips *clipman_clips,
- gchar *text,
- ClipboardType type)
+static gboolean
+clipman_set_size (XfcePanelPlugin *plugin,
+ gint wsize,
+ ClipmanPlugin *clipman)
{
- ClipmanClip *clip;
- GSList *foobar = NULL;
+ GdkPixbuf *pb;
+ gint size;
- g_return_if_fail (G_LIKELY (NULL != text));
+ gtk_widget_set_size_request (clipman->button, wsize, wsize);
- clip = clipman_clip_new (text, type);
+ size = wsize - 2 - (2 * MAX (clipman->button->style->xthickness,
+ clipman->button->style->ythickness));
- if (type == STATIC)
- foobar = g_slist_find_custom (clipman_clips->static_clipboard, clip, (GCompareFunc)clipman_clips_compare);
- else if (clipman_clips->behavior == STRICTLY)
- foobar = g_slist_find_custom (clipman_clips->history, clip, (GCompareFunc)clipman_clips_compare_with_type);
- else
- foobar = g_slist_find_custom (clipman_clips->history, clip, (GCompareFunc)clipman_clips_compare);
+ DBG("Set clipman button size to %dpx, load icon at %dpx", wsize, size);
- if (G_UNLIKELY (NULL != foobar))
- {
- /* Free the clip */
- clipman_clip_free (clip);
+ pb = xfce_themed_icon_load ("gtk-paste", size);
+ gtk_image_set_from_pixbuf (GTK_IMAGE (clipman->icon), pb);
+ g_object_unref (G_OBJECT (pb));
- /* Push the existing clip to the top */
- if (type != STATIC)
- {
- clip = (ClipmanClip *)foobar->data;
- clipman_clips->history = g_slist_remove (clipman_clips->history, clip);
- clipman_clips->history = g_slist_prepend (clipman_clips->history, clip);
- }
-
- return;
- }
-
- DBG ("Add to clipboard (%d): `%s'", type, text);
- if (type == STATIC)
- clipman_clips->static_clipboard = g_slist_prepend (clipman_clips->static_clipboard, clip);
- else
- {
- clipman_clips->history = g_slist_prepend (clipman_clips->history, clip);
- if (g_slist_length (clipman_clips->history) > clipman_clips->history_length)
- clipman_clips_delete (clipman_clips, (ClipmanClip *)(g_slist_last (clipman_clips->history)->data));
- }
+ return TRUE;
}
-static gint
-clipman_clips_compare (ClipmanClip *one,
- ClipmanClip *two)
+static void
+clipman_construct (XfcePanelPlugin *plugin)
{
- g_return_val_if_fail (G_LIKELY (NULL != one && NULL != two), -1);
- return g_ascii_strcasecmp (one->text, two->text);
-}
+ ClipmanPlugin *clipman;
-static gint
-clipman_clips_compare_with_type (ClipmanClip *one,
- ClipmanClip *two)
-{
- g_return_val_if_fail (G_LIKELY (NULL != one && NULL != two), -1);
- if (one->type == two->type)
- return g_ascii_strcasecmp (one->text, two->text);
- return -1;
-}
+ xfce_textdomain(GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR, "UTF-8");
+ clipman = clipman_new (plugin);
+ gtk_container_add (GTK_CONTAINER (plugin), clipman->button);
+ xfce_panel_plugin_add_action_widget (plugin, clipman->button);
-static ClipmanClip *
-clipman_clip_new (gchar *text,
- ClipboardType type)
-{
- ClipmanClip *clip = g_slice_new (ClipmanClip);
- clip->type = type;
- clip->text = text;
- clip->short_text = NULL;
- return clip;
-}
+ g_signal_connect (plugin, "free-data",
+ G_CALLBACK (clipman_free), clipman);
-static void
-clipman_clip_free (ClipmanClip *clip)
-{
- g_return_if_fail (G_LIKELY (NULL != clip));
- g_free (clip->text);
- g_free (clip->short_text);
- g_slice_free (ClipmanClip, clip);
-}
+ g_signal_connect (plugin, "save",
+ G_CALLBACK (clipman_save), clipman);
+ g_signal_connect (plugin, "size-changed",
+ G_CALLBACK (clipman_set_size), clipman);
+
+ xfce_panel_plugin_menu_show_configure (plugin);
+ g_signal_connect (plugin, "configure-plugin",
+ G_CALLBACK (clipman_configure), clipman);
+}
Modified: xfce4-clipman-plugin/trunk/panel-plugin/clipman.h
===================================================================
--- xfce4-clipman-plugin/trunk/panel-plugin/clipman.h 2008-03-04 15:01:43 UTC (rev 4017)
+++ xfce4-clipman-plugin/trunk/panel-plugin/clipman.h 2008-03-04 15:15:08 UTC (rev 4018)
@@ -1,7 +1,6 @@
-/* $Id: clipman.h 2395 2007-01-17 17:42:53Z nick $
+/* $Id$
*
* Copyright (c) 2006-2007 Nick Schermer <nick at xfce.org>
- * Copyright (c) 2007 Mike Massonnet <mmassonnet at xfce.org>
*
* 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
@@ -21,106 +20,99 @@
#ifndef CLIPMAN_H
#define CLIPMAN_H
-#include <gtk/gtk.h>
-#include <libxfce4panel/xfce-panel-plugin.h>
-#include <libxfcegui4/libxfcegui4.h>
-
G_BEGIN_DECLS
/* Dialog settings */
#define BORDER 8
/* History settings: default, min and max */
-#define DEFHISTORY 15
+#define DEFHISTORY 10
#define MAXHISTORY 100
#define MINHISTORY 5
/* Character settings: default, min and max */
-#define DEFCHARS 40
+#define DEFCHARS 30
#define MAXCHARS 200
#define MINCHARS 10
/* Default options */
-#define DEFEXITSAVE TRUE
+#define DEFEXITSAVE FALSE
+#define DEFIGNORESELECT TRUE
#define DEFPREVENTEMPTY TRUE
-#define DEFIGNORESELECT FALSE
-#define DEFIGNORESTATIC FALSE
#define DEFBEHAVIOUR 1
#define DEFITEMNUMBERS FALSE
+#define DEFSEPMENU FALSE
/* Milisecond to check the clipboards(s) */
-#define TIMER_INTERVAL 1000
+#define TIMER_INTERVAL 500
typedef enum
{
- DEFAULT,
- PRIMARY,
- STATIC
-} ClipboardType;
+ PRIMARY = 0,
+ DEFAULT
+}
+ClipboardType;
typedef enum
{
- /* DEFAULT,
- * PRIMARY, */
- BOTH = 2
-} StaticSelection;
+ NORMAL = 0,
+ STRICTLY
+}
+ClipboardBehaviour;
-typedef enum
+typedef struct
{
- NORMAL,
- STRICTLY
-} ClipboardBehavior;
+ XfcePanelPlugin *plugin;
-typedef struct _ClipmanPlugin ClipmanPlugin;
-typedef struct _ClipmanClips ClipmanClips;
-typedef struct _ClipmanClip ClipmanClip;
+ GtkWidget *icon;
+ GtkWidget *button;
+ GtkTooltips *tooltip;
-struct _ClipmanPlugin
-{
- XfcePanelPlugin *panel_plugin;
- ClipmanClips *clipman_clips;
+ GPtrArray *clips;
- GtkWidget *button;
- GtkWidget *icon;
- GtkWidget *menu;
+ gint TimeoutId;
+ gboolean killTimeout;
- gboolean menu_separate_clipboards;
- gboolean menu_item_show_number;
- gint menu_item_max_chars;
-};
+ gboolean ExitSave;
+ gboolean IgnoreSelect;
+ gboolean PreventEmpty;
-struct _ClipmanClips
-{
- ClipmanPlugin *clipman_plugin;
+ ClipboardBehaviour Behaviour;
- GtkClipboard *default_clipboard;
- GtkClipboard *primary_clipboard;
+ gboolean ItemNumbers;
+ gboolean SeparateMenu;
- gint timeout;
+ guint HistoryItems;
+ guint MenuCharacters;
+}
+ClipmanPlugin;
- GSList *history;
- GSList *static_clipboard;
+typedef struct
+{
+ gchar *text;
+ gchar *title; /* I've added the title to save
+ * some time when opening the menu */
+ ClipboardType fromtype;
+}
+ClipmanClip;
- ClipboardBehavior behavior;
- gint history_length;
- gboolean save_on_exit;
- gboolean prevent_empty;
- gboolean ignore_primary;
- gboolean ignore_static_clipboard;
- StaticSelection static_selection;
-};
-
-struct _ClipmanClip
+typedef struct
{
- ClipboardType type;
- gchar *text;
- gchar *short_text; /* Saves cycles to add menu items */
-};
+ ClipmanPlugin *clipman;
+ ClipmanClip *clip;
+}
+ClipmanAction;
-void clipman_clips_delete (ClipmanClips *clipman_clips,
- ClipmanClip *clip);
+void
+clipman_check_array_len (ClipmanPlugin *clipman);
+void
+clipman_save (XfcePanelPlugin *plugin, ClipmanPlugin *clipman);
+
+void
+clipman_remove_selection_clips (ClipmanPlugin *clipman);
+
G_END_DECLS
#endif /* CLIPMAN_H */
Deleted: xfce4-clipman-plugin/trunk/panel-plugin/xfce4-popup-clipman.c
Deleted: xfce4-clipman-plugin/trunk/panel-plugin/xfce4-popup-clipman.h
Deleted: xfce4-clipman-plugin/trunk/po/.gitignore
Modified: xfce4-clipman-plugin/trunk/po/ChangeLog
===================================================================
--- xfce4-clipman-plugin/trunk/po/ChangeLog 2008-03-04 15:01:43 UTC (rev 4017)
+++ xfce4-clipman-plugin/trunk/po/ChangeLog 2008-03-04 15:15:08 UTC (rev 4018)
@@ -1,13 +1,3 @@
-2008-02-27 Og Maciel <ogmaciel at gnome.org>
-
- * pt_BR.po: Brazilian Portuguese translation updated by
- Fábio Nogueira <deb-user-ba at ubuntu.com>.
-
-2008-01-14 Mike Massonnet <mmassonnet at xfce.org>
-
- * *.po, *.pot: make update-po
- * fr.po: Update french translation
-
2007-12-07 Maximilian Schleiss <maximilian at xfce.org>
* de.po: German translation update
Modified: xfce4-clipman-plugin/trunk/po/LINGUAS
===================================================================
--- xfce4-clipman-plugin/trunk/po/LINGUAS 2008-03-04 15:01:43 UTC (rev 4017)
+++ xfce4-clipman-plugin/trunk/po/LINGUAS 2008-03-04 15:15:08 UTC (rev 4018)
@@ -1,2 +1,2 @@
# set of available languages (in alphabetic order)
-ca cs de en_GB eu fr hu it ja lv nb_NO pl pt_BR pt_PT sq uk ur zh_TW
+ca cs de en_GB eu fr hu it ja lv nb_NO pl pt_BR pt_PT uk ur zh_TW
Modified: xfce4-clipman-plugin/trunk/po/ca.po
===================================================================
--- xfce4-clipman-plugin/trunk/po/ca.po 2008-03-04 15:01:43 UTC (rev 4017)
+++ xfce4-clipman-plugin/trunk/po/ca.po 2008-03-04 15:15:08 UTC (rev 4018)
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: xfce4-clipman-plugin 0.8.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-01-08 06:16+0100\n"
+"POT-Creation-Date: 2006-12-20 17:47+0100\n"
"PO-Revision-Date: 2007-05-11 19:05+0100\n"
"Last-Translator: Carles Muñoz Gorriz <carlesmu at internautas.org>\n"
"Language-Team: Catalan <xfce-i18n at xfce.org\n"
@@ -17,136 +17,106 @@
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: ../panel-plugin/clipman-dialogs.c:84
+#: ../panel-plugin/clipman-dialogs.c:66
+#, c-format
+msgid "Unable to open the following url: %s"
+msgstr "No s'ha pogut obrir la url: %s"
+
+#: ../panel-plugin/clipman-dialogs.c:162 ../panel-plugin/clipman.c:981
msgid "Clipboard Manager"
msgstr "Gestor de porta-retalls"
-#: ../panel-plugin/clipman-dialogs.c:108 ../panel-plugin/clipman-dialogs.c:112
-#: ../panel-plugin/clipman-dialogs.c:248
-msgid "General"
-msgstr "General"
-
-#: ../panel-plugin/clipman-dialogs.c:117
+#: ../panel-plugin/clipman-dialogs.c:194
msgid "Save clipboard contents on _exit"
msgstr "Desa el contingut del porta-retalls _en sortir"
-#: ../panel-plugin/clipman-dialogs.c:124
-msgid "Pre_vent empty clipboard"
-msgstr "E_vita tenir el porta-retalls buit"
-
-#: ../panel-plugin/clipman-dialogs.c:131
+#: ../panel-plugin/clipman-dialogs.c:201
msgid "_Ignore selections"
msgstr "_Ignora les seleccions"
-#: ../panel-plugin/clipman-dialogs.c:139
-msgid "Clipboard Behavior"
-msgstr "Comportament del porta-retalls"
+#: ../panel-plugin/clipman-dialogs.c:208
+msgid "Pre_vent empty clipboard"
+msgstr "E_vita tenir el porta-retalls buit"
-#: ../panel-plugin/clipman-dialogs.c:146
+#: ../panel-plugin/clipman-dialogs.c:216
+msgid "<b>General</b>"
+msgstr "<b>General</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:234
msgid "Normal clipboard _management"
msgstr "Gestió del porta-retalls nor_mal"
-#: ../panel-plugin/clipman-dialogs.c:155
+#: ../panel-plugin/clipman-dialogs.c:243
msgid "Strictly separate _both clipboards"
msgstr "Separa estríctament am_bdós porta-retalls"
-#: ../panel-plugin/clipman-dialogs.c:169
-msgid "Appearance"
-msgstr "Aparença"
+#: ../panel-plugin/clipman-dialogs.c:252
+msgid "<b>Clipboard Behaviour</b>"
+msgstr "<b>Comportament del porta-retalls</b>"
-#: ../panel-plugin/clipman-dialogs.c:173
-msgid "Menu Appearance"
-msgstr "Aparença del menú"
+#. *
+#. * Notebook label
+#. *
+#: ../panel-plugin/clipman-dialogs.c:260
+msgid "General"
+msgstr "<b>General</b>"
-#: ../panel-plugin/clipman-dialogs.c:177
+#: ../panel-plugin/clipman-dialogs.c:277
msgid "_Show item numbers"
msgstr "Mo_stra el nombre de l’element"
-#: ../panel-plugin/clipman-dialogs.c:185
-msgid "Numbers"
-msgstr "Nombres"
+#: ../panel-plugin/clipman-dialogs.c:284
+msgid "Se_parate clipboards"
+msgstr "Se_para els porta-retalls"
-#. History length
-#: ../panel-plugin/clipman-dialogs.c:190
+#: ../panel-plugin/clipman-dialogs.c:291
+msgid "<b>Menu Appearance</b>"
+msgstr "<b>Aparença del menú</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:313
msgid "Clipboard history items:"
msgstr "Historial del porta-retalls:"
-#. Max menu item chars
-#: ../panel-plugin/clipman-dialogs.c:214
+#: ../panel-plugin/clipman-dialogs.c:337
msgid "Menu item characters:"
msgstr "Menú dels caràcters dels elements:"
-#: ../panel-plugin/clipman-dialogs.c:244
-msgid "Static Clipboard"
-msgstr ""
+#: ../panel-plugin/clipman-dialogs.c:359
+msgid "<b>Numbers</b>"
+msgstr "<b>Nombres</b>"
-#: ../panel-plugin/clipman-dialogs.c:253
-msgid "Ignore _static clipboard"
-msgstr ""
+#: ../panel-plugin/clipman-dialogs.c:364
+msgid "Appearance"
+msgstr "Aparença"
-#: ../panel-plugin/clipman-dialogs.c:261
-msgid "Select to Clipboards"
-msgstr ""
+#: ../panel-plugin/clipman.c:74
+msgid "Are you sure you want to clear the history?"
+msgstr "Esteu segur de voler esborrar l’historial?"
-#: ../panel-plugin/clipman-dialogs.c:268
-msgid "Default"
-msgstr ""
+#: ../panel-plugin/clipman.c:299
+msgid "Are you sure you want to remove this clip from the history?"
+msgstr "Esteu segur de voler esborrar aquest retall de l’historial?"
-#: ../panel-plugin/clipman-dialogs.c:277
-msgid "Selection"
-msgstr ""
+#: ../panel-plugin/clipman.c:417
+msgid "< Default History Empty >"
+msgstr "< L’historial per omisió és buit >"
-#: ../panel-plugin/clipman-dialogs.c:286
-msgid "Both"
-msgstr ""
+#: ../panel-plugin/clipman.c:468
+msgid "< Selection History Empty >"
+msgstr "< Esculliu l’historial a buidar >"
-#: ../panel-plugin/clipman-dialogs.c:314
-#, c-format
-msgid "Unable to open the following url: %s"
-msgstr "No s'ha pogut obrir la url: %s"
+#: ../panel-plugin/clipman.c:477 ../panel-plugin/clipman.c:542
+msgid "Clear History"
+msgstr "Buida l'historial"
-#: ../panel-plugin/clipman.c:391
-msgid "< Clipboard Empty >"
-msgstr "< Porta-retalls buit >"
-
-#: ../panel-plugin/clipman.c:408
-msgid "< Static Clipboard Empty >"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:417 ../panel-plugin/clipman.c:968
-msgid "Add static clipboard"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:436
+#: ../panel-plugin/clipman.c:636
msgid "Clipman History"
msgstr "Historial de retalls"
-#. Append clear history
-#: ../panel-plugin/clipman.c:442
-msgid "Clear History"
-msgstr "Buida l'historial"
+#: ../panel-plugin/clipman.c:658
+msgid "< Clipboard Empty >"
+msgstr "< Porta-retalls buit >"
-#: ../panel-plugin/clipman.c:619
-msgid "< Selection History Empty >"
-msgstr "< Esculliu l’historial a buidar >"
-
-#: ../panel-plugin/clipman.c:630
-msgid "< Default History Empty >"
-msgstr "< L’historial per omisió és buit >"
-
-#: ../panel-plugin/clipman.c:791
-msgid "Are you sure you want to remove this clip from the history?"
-msgstr "Esteu segur de voler esborrar aquest retall de l’historial?"
-
-#: ../panel-plugin/clipman.c:863
-msgid "Are you sure you want to clear the history?"
-msgstr "Esteu segur de voler esborrar l’historial?"
-
-#. Label
-#: ../panel-plugin/clipman.c:984
-msgid "Text:"
-msgstr ""
-
#: ../panel-plugin/clipman.desktop.in.in.h:1
msgid "Clipboard manager for the Xfce desktop"
msgstr "Gestor de porta-retalls per l’escriptori Xfce"
@@ -155,9 +125,6 @@
msgid "Clipman"
msgstr "Porta-retalls «Clipman»"
-#~ msgid "<b>General</b>"
-#~ msgstr "<b>General</b>"
-
#~ msgid "Properties"
#~ msgstr "Propietats"
Modified: xfce4-clipman-plugin/trunk/po/cs.po
===================================================================
--- xfce4-clipman-plugin/trunk/po/cs.po 2008-03-04 15:01:43 UTC (rev 4017)
+++ xfce4-clipman-plugin/trunk/po/cs.po 2008-03-04 15:15:08 UTC (rev 4018)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: xfce4-clipman-plugin 0.8.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-01-08 06:16+0100\n"
+"POT-Creation-Date: 2006-12-20 17:47+0100\n"
"PO-Revision-Date: 2006-12-20 20:54+0100\n"
"Last-Translator: Michal Várady <miko.vaji at gmail.com>\n"
"Language-Team: Czech <xfce-i18n at xfce.org>\n"
@@ -19,136 +19,106 @@
"X-Poedit-Country: CZECH REPUBLIC\n"
"X-Poedit-SourceCharset: utf-8\n"
-#: ../panel-plugin/clipman-dialogs.c:84
+#: ../panel-plugin/clipman-dialogs.c:66
+#, c-format
+msgid "Unable to open the following url: %s"
+msgstr "Nelze otevřít následující adresu url: %s"
+
+#: ../panel-plugin/clipman-dialogs.c:162 ../panel-plugin/clipman.c:981
msgid "Clipboard Manager"
msgstr "Správce schránky"
-#: ../panel-plugin/clipman-dialogs.c:108 ../panel-plugin/clipman-dialogs.c:112
-#: ../panel-plugin/clipman-dialogs.c:248
-msgid "General"
-msgstr "Obecné"
-
-#: ../panel-plugin/clipman-dialogs.c:117
+#: ../panel-plugin/clipman-dialogs.c:194
msgid "Save clipboard contents on _exit"
msgstr "Uložit obsah schránky při _ukončení"
-#: ../panel-plugin/clipman-dialogs.c:124
-msgid "Pre_vent empty clipboard"
-msgstr "_Zamezit vyprázdnění schránky"
-
-#: ../panel-plugin/clipman-dialogs.c:131
+#: ../panel-plugin/clipman-dialogs.c:201
msgid "_Ignore selections"
msgstr "_Ignorovat výběry"
-#: ../panel-plugin/clipman-dialogs.c:139
-msgid "Clipboard Behavior"
-msgstr "Chování schránky"
+#: ../panel-plugin/clipman-dialogs.c:208
+msgid "Pre_vent empty clipboard"
+msgstr "_Zamezit vyprázdnění schránky"
-#: ../panel-plugin/clipman-dialogs.c:146
+#: ../panel-plugin/clipman-dialogs.c:216
+msgid "<b>General</b>"
+msgstr "<b>Obecné</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:234
msgid "Normal clipboard _management"
msgstr "_Správa běžné schránky"
-#: ../panel-plugin/clipman-dialogs.c:155
+#: ../panel-plugin/clipman-dialogs.c:243
msgid "Strictly separate _both clipboards"
msgstr "Striktně oddělit _obě schránky"
-#: ../panel-plugin/clipman-dialogs.c:169
-msgid "Appearance"
-msgstr "Vzhled"
+#: ../panel-plugin/clipman-dialogs.c:252
+msgid "<b>Clipboard Behaviour</b>"
+msgstr "<b>Chování schránky</b>"
-#: ../panel-plugin/clipman-dialogs.c:173
-msgid "Menu Appearance"
-msgstr "Vzhled nabídky"
+#. *
+#. * Notebook label
+#. *
+#: ../panel-plugin/clipman-dialogs.c:260
+msgid "General"
+msgstr "Obecné"
-#: ../panel-plugin/clipman-dialogs.c:177
+#: ../panel-plugin/clipman-dialogs.c:277
msgid "_Show item numbers"
msgstr "_Zobrazovat čísla položek"
-#: ../panel-plugin/clipman-dialogs.c:185
-msgid "Numbers"
-msgstr "Čísla"
+#: ../panel-plugin/clipman-dialogs.c:284
+msgid "Se_parate clipboards"
+msgstr "O_ddělit schránky"
-#. History length
-#: ../panel-plugin/clipman-dialogs.c:190
+#: ../panel-plugin/clipman-dialogs.c:291
+msgid "<b>Menu Appearance</b>"
+msgstr "<b>Vzhled nabídky</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:313
msgid "Clipboard history items:"
msgstr "Položky historie nabídky:"
-#. Max menu item chars
-#: ../panel-plugin/clipman-dialogs.c:214
+#: ../panel-plugin/clipman-dialogs.c:337
msgid "Menu item characters:"
msgstr "Znaky položek nabídky:"
-#: ../panel-plugin/clipman-dialogs.c:244
-msgid "Static Clipboard"
-msgstr ""
+#: ../panel-plugin/clipman-dialogs.c:359
+msgid "<b>Numbers</b>"
+msgstr "<b>Čísla</b>"
-#: ../panel-plugin/clipman-dialogs.c:253
-msgid "Ignore _static clipboard"
-msgstr ""
+#: ../panel-plugin/clipman-dialogs.c:364
+msgid "Appearance"
+msgstr "Vzhled"
-#: ../panel-plugin/clipman-dialogs.c:261
-msgid "Select to Clipboards"
-msgstr ""
+#: ../panel-plugin/clipman.c:74
+msgid "Are you sure you want to clear the history?"
+msgstr "Opravdu chcete vyprázdnit historii?"
-#: ../panel-plugin/clipman-dialogs.c:268
-msgid "Default"
-msgstr ""
+#: ../panel-plugin/clipman.c:299
+msgid "Are you sure you want to remove this clip from the history?"
+msgstr "Opravdu chcete odebrat tuto položku z historie?"
-#: ../panel-plugin/clipman-dialogs.c:277
-msgid "Selection"
-msgstr ""
+#: ../panel-plugin/clipman.c:417
+msgid "< Default History Empty >"
+msgstr "< Výchozí historie je prázdná >"
-#: ../panel-plugin/clipman-dialogs.c:286
-msgid "Both"
-msgstr ""
+#: ../panel-plugin/clipman.c:468
+msgid "< Selection History Empty >"
+msgstr "< Historie výběrů je prázdná >"
-#: ../panel-plugin/clipman-dialogs.c:314
-#, c-format
-msgid "Unable to open the following url: %s"
-msgstr "Nelze otevřít následující adresu url: %s"
+#: ../panel-plugin/clipman.c:477 ../panel-plugin/clipman.c:542
+msgid "Clear History"
+msgstr "Vyprázdnit historii"
-#: ../panel-plugin/clipman.c:391
-msgid "< Clipboard Empty >"
-msgstr "< Schránka je prázdná >"
-
-#: ../panel-plugin/clipman.c:408
-msgid "< Static Clipboard Empty >"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:417 ../panel-plugin/clipman.c:968
-msgid "Add static clipboard"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:436
+#: ../panel-plugin/clipman.c:636
msgid "Clipman History"
msgstr "Historie správce schránky"
-#. Append clear history
-#: ../panel-plugin/clipman.c:442
-msgid "Clear History"
-msgstr "Vyprázdnit historii"
+#: ../panel-plugin/clipman.c:658
+msgid "< Clipboard Empty >"
+msgstr "< Schránka je prázdná >"
-#: ../panel-plugin/clipman.c:619
-msgid "< Selection History Empty >"
-msgstr "< Historie výběrů je prázdná >"
-
-#: ../panel-plugin/clipman.c:630
-msgid "< Default History Empty >"
-msgstr "< Výchozí historie je prázdná >"
-
-#: ../panel-plugin/clipman.c:791
-msgid "Are you sure you want to remove this clip from the history?"
-msgstr "Opravdu chcete odebrat tuto položku z historie?"
-
-#: ../panel-plugin/clipman.c:863
-msgid "Are you sure you want to clear the history?"
-msgstr "Opravdu chcete vyprázdnit historii?"
-
-#. Label
-#: ../panel-plugin/clipman.c:984
-msgid "Text:"
-msgstr ""
-
#: ../panel-plugin/clipman.desktop.in.in.h:1
msgid "Clipboard manager for the Xfce desktop"
msgstr "Správce schránky pro prostředí Xfce"
@@ -157,9 +127,6 @@
msgid "Clipman"
msgstr "Správce schránky"
-#~ msgid "<b>General</b>"
-#~ msgstr "<b>Obecné</b>"
-
#~ msgid "Visit the goodies website for more information about this plugin."
#~ msgstr ""
#~ "Pro více informací o tomto zásuvném modulu navštivte webovou stránku Xfce "
Modified: xfce4-clipman-plugin/trunk/po/de.po
===================================================================
--- xfce4-clipman-plugin/trunk/po/de.po 2008-03-04 15:01:43 UTC (rev 4017)
+++ xfce4-clipman-plugin/trunk/po/de.po 2008-03-04 15:15:08 UTC (rev 4018)
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: xfce4-clipman-plugin 0.8.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-01-08 06:16+0100\n"
+"POT-Creation-Date: 2007-12-06 22:56+0100\n"
"PO-Revision-Date: 2007-12-06 22:58+0000\n"
"Last-Translator: Fabian Nowak <timystery at arcor.de>\n"
"Language-Team: German <xfce-i18n at xfce.org>\n"
@@ -19,136 +19,107 @@
"X-Poedit-Language: German\n"
"X-Poedit-Country: GERMANY\n"
-#: ../panel-plugin/clipman-dialogs.c:84
+#: ../panel-plugin/clipman-dialogs.c:66
+#, c-format
+msgid "Unable to open the following url: %s"
+msgstr "Kann die folgende Adresse nicht öffnen: %s"
+
+#: ../panel-plugin/clipman-dialogs.c:162 ../panel-plugin/clipman.c:991
msgid "Clipboard Manager"
msgstr "Verwaltung der Zwischenablage"
-#: ../panel-plugin/clipman-dialogs.c:108 ../panel-plugin/clipman-dialogs.c:112
-#: ../panel-plugin/clipman-dialogs.c:248
-msgid "General"
-msgstr "Allgemein"
-
-#: ../panel-plugin/clipman-dialogs.c:117
+#: ../panel-plugin/clipman-dialogs.c:194
msgid "Save clipboard contents on _exit"
msgstr "_Inhalt der Zwischenablage beim Verlassen speichern"
-#: ../panel-plugin/clipman-dialogs.c:124
-msgid "Pre_vent empty clipboard"
-msgstr "_Leere Zwischenablage vermeiden"
-
-#: ../panel-plugin/clipman-dialogs.c:131
+#: ../panel-plugin/clipman-dialogs.c:201
msgid "_Ignore selections"
msgstr "_Auswahl ignorieren"
-#: ../panel-plugin/clipman-dialogs.c:139
-msgid "Clipboard Behavior"
-msgstr "Verhalten"
+#: ../panel-plugin/clipman-dialogs.c:208
+msgid "Pre_vent empty clipboard"
+msgstr "_Leere Zwischenablage vermeiden"
-#: ../panel-plugin/clipman-dialogs.c:146
+#: ../panel-plugin/clipman-dialogs.c:216
+msgid "<b>General</b>"
+msgstr "<b>Allgemein</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:234
msgid "Normal clipboard _management"
msgstr "_Normales Verwalten der Zwischenablagen"
-#: ../panel-plugin/clipman-dialogs.c:155
+#: ../panel-plugin/clipman-dialogs.c:243
msgid "Strictly separate _both clipboards"
msgstr "_Beide Zwischenablagen strikt getrennt verwalten"
-#: ../panel-plugin/clipman-dialogs.c:169
-msgid "Appearance"
-msgstr "Aussehen"
+#: ../panel-plugin/clipman-dialogs.c:252
+msgid "<b>Clipboard Behaviour</b>"
+msgstr "<b>Verhalten</b>"
-#: ../panel-plugin/clipman-dialogs.c:173
-msgid "Menu Appearance"
-msgstr "Menü-Aussehen"
+#. *
+#. * Notebook label
+#. *
+#: ../panel-plugin/clipman-dialogs.c:260
+msgid "General"
+msgstr "Allgemein"
-#: ../panel-plugin/clipman-dialogs.c:177
+#: ../panel-plugin/clipman-dialogs.c:277
msgid "_Show item numbers"
msgstr "_Nummeriere Einträge"
-#: ../panel-plugin/clipman-dialogs.c:185
-msgid "Numbers"
-msgstr "Werte"
+#: ../panel-plugin/clipman-dialogs.c:284
+msgid "Se_parate clipboards"
+msgstr "_Zwischenablagen getrennt verwalten"
-#. History length
-#: ../panel-plugin/clipman-dialogs.c:190
+#: ../panel-plugin/clipman-dialogs.c:291
+msgid "<b>Menu Appearance</b>"
+msgstr "<b>Menü-Aussehen</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:313
msgid "Clipboard history items:"
msgstr "Größe des Verlaufsspeichers:"
-#. Max menu item chars
-#: ../panel-plugin/clipman-dialogs.c:214
+#: ../panel-plugin/clipman-dialogs.c:337
msgid "Menu item characters:"
msgstr "Länge der Menüeinträge:"
-#: ../panel-plugin/clipman-dialogs.c:244
-msgid "Static Clipboard"
-msgstr ""
+#: ../panel-plugin/clipman-dialogs.c:359
+msgid "<b>Numbers</b>"
+msgstr "<b>Werte</b>"
-#: ../panel-plugin/clipman-dialogs.c:253
-msgid "Ignore _static clipboard"
-msgstr ""
+#: ../panel-plugin/clipman-dialogs.c:364
+msgid "Appearance"
+msgstr "Aussehen"
-#: ../panel-plugin/clipman-dialogs.c:261
-msgid "Select to Clipboards"
+#: ../panel-plugin/clipman.c:74
+msgid "Are you sure you want to clear the history?"
msgstr ""
+"Möchten Sie den bisherigen Inhalt der Zwischenablage wirklich löschen?"
-#: ../panel-plugin/clipman-dialogs.c:268
-msgid "Default"
-msgstr ""
+#: ../panel-plugin/clipman.c:299
+msgid "Are you sure you want to remove this clip from the history?"
+msgstr "Möchten Sie den gewählten Eintrag wirklich aus der Liste löschen?"
-#: ../panel-plugin/clipman-dialogs.c:277
-msgid "Selection"
-msgstr ""
+#: ../panel-plugin/clipman.c:427
+msgid "< Default History Empty >"
+msgstr "< Inhalt der Standard-Zwischenablage leer >"
-#: ../panel-plugin/clipman-dialogs.c:286
-msgid "Both"
-msgstr ""
+#: ../panel-plugin/clipman.c:478
+msgid "< Selection History Empty >"
+msgstr "< Inhalt der Auswahl-Zwischenablage leer >"
-#: ../panel-plugin/clipman-dialogs.c:314
-#, c-format
-msgid "Unable to open the following url: %s"
-msgstr "Kann die folgende Adresse nicht öffnen: %s"
+#: ../panel-plugin/clipman.c:487 ../panel-plugin/clipman.c:552
+msgid "Clear History"
+msgstr "Bisherigen Inhalt löschen"
-#: ../panel-plugin/clipman.c:391
-msgid "< Clipboard Empty >"
-msgstr "< Zwischenablage leer >"
-
-#: ../panel-plugin/clipman.c:408
-msgid "< Static Clipboard Empty >"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:417 ../panel-plugin/clipman.c:968
-msgid "Add static clipboard"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:436
+#: ../panel-plugin/clipman.c:646
msgid "Clipman History"
msgstr "Verlauf der Zwischenablage"
-#. Append clear history
-#: ../panel-plugin/clipman.c:442
-msgid "Clear History"
-msgstr "Bisherigen Inhalt löschen"
+#: ../panel-plugin/clipman.c:668
+msgid "< Clipboard Empty >"
+msgstr "< Zwischenablage leer >"
-#: ../panel-plugin/clipman.c:619
-msgid "< Selection History Empty >"
-msgstr "< Inhalt der Auswahl-Zwischenablage leer >"
-
-#: ../panel-plugin/clipman.c:630
-msgid "< Default History Empty >"
-msgstr "< Inhalt der Standard-Zwischenablage leer >"
-
-#: ../panel-plugin/clipman.c:791
-msgid "Are you sure you want to remove this clip from the history?"
-msgstr "Möchten Sie den gewählten Eintrag wirklich aus der Liste löschen?"
-
-#: ../panel-plugin/clipman.c:863
-msgid "Are you sure you want to clear the history?"
-msgstr "Möchten Sie den bisherigen Inhalt der Zwischenablage wirklich löschen?"
-
-#. Label
-#: ../panel-plugin/clipman.c:984
-msgid "Text:"
-msgstr ""
-
#: ../panel-plugin/clipman.desktop.in.in.h:1
msgid "Clipboard manager for the Xfce desktop"
msgstr "Zwischenablagenverwaltung für den Xfce-Desktop"
@@ -157,9 +128,6 @@
msgid "Clipman"
msgstr "Zwischenablage"
-#~ msgid "<b>General</b>"
-#~ msgstr "<b>Allgemein</b>"
-
#~ msgid "Visit the goodies website for more information about this plugin."
#~ msgstr ""
#~ "Besuchen Sie die Goodies-Webseite, um weitere Informationen über dieses "
Modified: xfce4-clipman-plugin/trunk/po/en_GB.po
===================================================================
--- xfce4-clipman-plugin/trunk/po/en_GB.po 2008-03-04 15:01:43 UTC (rev 4017)
+++ xfce4-clipman-plugin/trunk/po/en_GB.po 2008-03-04 15:15:08 UTC (rev 4018)
@@ -2,149 +2,119 @@
# Copyright (C) 2005-2007 The Xfce development team.
# This file is distributed under the same license as the xfce4-clipman-plugin package.
# Jeff Bailes <thepizzaking at gmail.com>, 2007.
-#
+#
msgid ""
msgstr ""
"Project-Id-Version: xfce4-clipman-plugin 0.8.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-01-08 06:16+0100\n"
+"POT-Creation-Date: 2006-12-20 17:47+0100\n"
"PO-Revision-Date: 2007-03-30 20:24+1000\n"
"Last-Translator: Jeff Bailes <thepizzaking at gmail.com>\n"
"Language-Team: British English <xfce-i18n at xfce.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
+"Content-Transfer-Encoding: 8bit"
-#: ../panel-plugin/clipman-dialogs.c:84
+#: ../panel-plugin/clipman-dialogs.c:66
+#, c-format
+msgid "Unable to open the following url: %s"
+msgstr "Unable to open the following url: %s"
+
+#: ../panel-plugin/clipman-dialogs.c:162 ../panel-plugin/clipman.c:981
msgid "Clipboard Manager"
msgstr "Clipboard Manager"
-#: ../panel-plugin/clipman-dialogs.c:108 ../panel-plugin/clipman-dialogs.c:112
-#: ../panel-plugin/clipman-dialogs.c:248
-msgid "General"
-msgstr "General"
-
-#: ../panel-plugin/clipman-dialogs.c:117
+#: ../panel-plugin/clipman-dialogs.c:194
msgid "Save clipboard contents on _exit"
msgstr "Save clipboard contents on _exit"
-#: ../panel-plugin/clipman-dialogs.c:124
-msgid "Pre_vent empty clipboard"
-msgstr "Pre_vent empty clipboard"
-
-#: ../panel-plugin/clipman-dialogs.c:131
+#: ../panel-plugin/clipman-dialogs.c:201
msgid "_Ignore selections"
msgstr "_Ignore selections"
-#: ../panel-plugin/clipman-dialogs.c:139
-msgid "Clipboard Behavior"
-msgstr "Clipboard Behaviour"
+#: ../panel-plugin/clipman-dialogs.c:208
+msgid "Pre_vent empty clipboard"
+msgstr "Pre_vent empty clipboard"
-#: ../panel-plugin/clipman-dialogs.c:146
+#: ../panel-plugin/clipman-dialogs.c:216
+msgid "<b>General</b>"
+msgstr "<b>General</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:234
msgid "Normal clipboard _management"
msgstr "Normal clipboard _management"
-#: ../panel-plugin/clipman-dialogs.c:155
+#: ../panel-plugin/clipman-dialogs.c:243
msgid "Strictly separate _both clipboards"
msgstr "Strictly separate _both clipboards"
-#: ../panel-plugin/clipman-dialogs.c:169
-msgid "Appearance"
-msgstr "Appearance"
+#: ../panel-plugin/clipman-dialogs.c:252
+msgid "<b>Clipboard Behaviour</b>"
+msgstr "<b>Clipboard Behaviour</b>"
-#: ../panel-plugin/clipman-dialogs.c:173
-msgid "Menu Appearance"
-msgstr "Menu Appearance"
+#. *
+#. * Notebook label
+#. *
+#: ../panel-plugin/clipman-dialogs.c:260
+msgid "General"
+msgstr "General"
-#: ../panel-plugin/clipman-dialogs.c:177
+#: ../panel-plugin/clipman-dialogs.c:277
msgid "_Show item numbers"
msgstr "_Show item numbers"
-#: ../panel-plugin/clipman-dialogs.c:185
-msgid "Numbers"
-msgstr "Numbers"
+#: ../panel-plugin/clipman-dialogs.c:284
+msgid "Se_parate clipboards"
+msgstr "Se_parate clipboards"
-#. History length
-#: ../panel-plugin/clipman-dialogs.c:190
+#: ../panel-plugin/clipman-dialogs.c:291
+msgid "<b>Menu Appearance</b>"
+msgstr "<b>Menu Appearance</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:313
msgid "Clipboard history items:"
msgstr "Clipboard history items:"
-#. Max menu item chars
-#: ../panel-plugin/clipman-dialogs.c:214
+#: ../panel-plugin/clipman-dialogs.c:337
msgid "Menu item characters:"
msgstr "Menu item characters:"
-#: ../panel-plugin/clipman-dialogs.c:244
-msgid "Static Clipboard"
-msgstr ""
+#: ../panel-plugin/clipman-dialogs.c:359
+msgid "<b>Numbers</b>"
+msgstr "<b>Numbers</b>"
-#: ../panel-plugin/clipman-dialogs.c:253
-msgid "Ignore _static clipboard"
-msgstr ""
+#: ../panel-plugin/clipman-dialogs.c:364
+msgid "Appearance"
+msgstr "Appearance"
-#: ../panel-plugin/clipman-dialogs.c:261
-msgid "Select to Clipboards"
-msgstr ""
+#: ../panel-plugin/clipman.c:74
+msgid "Are you sure you want to clear the history?"
+msgstr "Are you sure you want to clear the history?"
-#: ../panel-plugin/clipman-dialogs.c:268
-msgid "Default"
-msgstr ""
+#: ../panel-plugin/clipman.c:299
+msgid "Are you sure you want to remove this clip from the history?"
+msgstr "Are you sure you want to remove this clip from the history?"
-#: ../panel-plugin/clipman-dialogs.c:277
-msgid "Selection"
-msgstr ""
+#: ../panel-plugin/clipman.c:417
+msgid "< Default History Empty >"
+msgstr "< Default History Empty >"
-#: ../panel-plugin/clipman-dialogs.c:286
-msgid "Both"
-msgstr ""
+#: ../panel-plugin/clipman.c:468
+msgid "< Selection History Empty >"
+msgstr "< Selection History Empty >"
-#: ../panel-plugin/clipman-dialogs.c:314
-#, c-format
-msgid "Unable to open the following url: %s"
-msgstr "Unable to open the following url: %s"
+#: ../panel-plugin/clipman.c:477 ../panel-plugin/clipman.c:542
+msgid "Clear History"
+msgstr "Clear History"
-#: ../panel-plugin/clipman.c:391
-msgid "< Clipboard Empty >"
-msgstr "< Clipboard Empty >"
-
-#: ../panel-plugin/clipman.c:408
-msgid "< Static Clipboard Empty >"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:417 ../panel-plugin/clipman.c:968
-msgid "Add static clipboard"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:436
+#: ../panel-plugin/clipman.c:636
msgid "Clipman History"
msgstr "Clipman History"
-#. Append clear history
-#: ../panel-plugin/clipman.c:442
-msgid "Clear History"
-msgstr "Clear History"
+#: ../panel-plugin/clipman.c:658
+msgid "< Clipboard Empty >"
+msgstr "< Clipboard Empty >"
-#: ../panel-plugin/clipman.c:619
-msgid "< Selection History Empty >"
-msgstr "< Selection History Empty >"
-
-#: ../panel-plugin/clipman.c:630
-msgid "< Default History Empty >"
-msgstr "< Default History Empty >"
-
-#: ../panel-plugin/clipman.c:791
-msgid "Are you sure you want to remove this clip from the history?"
-msgstr "Are you sure you want to remove this clip from the history?"
-
-#: ../panel-plugin/clipman.c:863
-msgid "Are you sure you want to clear the history?"
-msgstr "Are you sure you want to clear the history?"
-
-#. Label
-#: ../panel-plugin/clipman.c:984
-msgid "Text:"
-msgstr ""
-
#: ../panel-plugin/clipman.desktop.in.in.h:1
msgid "Clipboard manager for the Xfce desktop"
msgstr "Clipboard manager for the Xfce desktop"
@@ -153,5 +123,3 @@
msgid "Clipman"
msgstr "Clipman"
-#~ msgid "<b>General</b>"
-#~ msgstr "<b>General</b>"
Modified: xfce4-clipman-plugin/trunk/po/eu.po
===================================================================
--- xfce4-clipman-plugin/trunk/po/eu.po 2008-03-04 15:01:43 UTC (rev 4017)
+++ xfce4-clipman-plugin/trunk/po/eu.po 2008-03-04 15:15:08 UTC (rev 4018)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: eu\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-01-08 06:16+0100\n"
+"POT-Creation-Date: 2006-12-20 17:47+0100\n"
"PO-Revision-Date: 2006-09-12 14:51+0200\n"
"Last-Translator: Piarres Beobide <pi at beobide.net>\n"
"Language-Team: Basque <xfce-i18n at xfce.org>\n"
@@ -16,136 +16,106 @@
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
-#: ../panel-plugin/clipman-dialogs.c:84
+#: ../panel-plugin/clipman-dialogs.c:66
+#, c-format
+msgid "Unable to open the following url: %s"
+msgstr "Ezin da hurrengo url-a ireki: %s"
+
+#: ../panel-plugin/clipman-dialogs.c:162 ../panel-plugin/clipman.c:981
msgid "Clipboard Manager"
msgstr "Arbel Kudeatzailea"
-#: ../panel-plugin/clipman-dialogs.c:108 ../panel-plugin/clipman-dialogs.c:112
-#: ../panel-plugin/clipman-dialogs.c:248
-msgid "General"
-msgstr "Orokorra"
-
-#: ../panel-plugin/clipman-dialogs.c:117
+#: ../panel-plugin/clipman-dialogs.c:194
msgid "Save clipboard contents on _exit"
msgstr "_Irteterakoan arbel edukiak gorde"
-#: ../panel-plugin/clipman-dialogs.c:124
-msgid "Pre_vent empty clipboard"
-msgstr "Arbel hutsa Au_rreikusi"
-
-#: ../panel-plugin/clipman-dialogs.c:131
+#: ../panel-plugin/clipman-dialogs.c:201
msgid "_Ignore selections"
msgstr "_Hautapenak alde batera utzi"
-#: ../panel-plugin/clipman-dialogs.c:139
-msgid "Clipboard Behavior"
-msgstr "Arbela portaera"
+#: ../panel-plugin/clipman-dialogs.c:208
+msgid "Pre_vent empty clipboard"
+msgstr "Arbel hutsa Au_rreikusi"
-#: ../panel-plugin/clipman-dialogs.c:146
+#: ../panel-plugin/clipman-dialogs.c:216
+msgid "<b>General</b>"
+msgstr "<b>Orokorra</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:234
msgid "Normal clipboard _management"
msgstr "Arbel _kudeaketa arrunta"
-#: ../panel-plugin/clipman-dialogs.c:155
+#: ../panel-plugin/clipman-dialogs.c:243
msgid "Strictly separate _both clipboards"
msgstr "_Bi arbelak guztiz bereizi"
-#: ../panel-plugin/clipman-dialogs.c:169
-msgid "Appearance"
-msgstr "Itxura"
+#: ../panel-plugin/clipman-dialogs.c:252
+msgid "<b>Clipboard Behaviour</b>"
+msgstr "<b>Arbela portaera</b>"
-#: ../panel-plugin/clipman-dialogs.c:173
-msgid "Menu Appearance"
-msgstr "Menu Itxura"
+#. *
+#. * Notebook label
+#. *
+#: ../panel-plugin/clipman-dialogs.c:260
+msgid "General"
+msgstr "Orokorra"
-#: ../panel-plugin/clipman-dialogs.c:177
+#: ../panel-plugin/clipman-dialogs.c:277
msgid "_Show item numbers"
msgstr "Elementu _Zenbakiak Bistarazi"
-#: ../panel-plugin/clipman-dialogs.c:185
-msgid "Numbers"
-msgstr "Zenbakiak"
+#: ../panel-plugin/clipman-dialogs.c:284
+msgid "Se_parate clipboards"
+msgstr "Be_reiziriko arbelak"
-#. History length
-#: ../panel-plugin/clipman-dialogs.c:190
+#: ../panel-plugin/clipman-dialogs.c:291
+msgid "<b>Menu Appearance</b>"
+msgstr "<b>Menu Itxura</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:313
msgid "Clipboard history items:"
msgstr "Arbela historia elementuak:"
-#. Max menu item chars
-#: ../panel-plugin/clipman-dialogs.c:214
+#: ../panel-plugin/clipman-dialogs.c:337
msgid "Menu item characters:"
msgstr "Menu elementu karaktereak:"
-#: ../panel-plugin/clipman-dialogs.c:244
-msgid "Static Clipboard"
-msgstr ""
+#: ../panel-plugin/clipman-dialogs.c:359
+msgid "<b>Numbers</b>"
+msgstr "<b>Zenbakiak</b>"
-#: ../panel-plugin/clipman-dialogs.c:253
-msgid "Ignore _static clipboard"
-msgstr ""
+#: ../panel-plugin/clipman-dialogs.c:364
+msgid "Appearance"
+msgstr "Itxura"
-#: ../panel-plugin/clipman-dialogs.c:261
-msgid "Select to Clipboards"
-msgstr ""
+#: ../panel-plugin/clipman.c:74
+msgid "Are you sure you want to clear the history?"
+msgstr "Ziur historia garbitu nahi duzula?"
-#: ../panel-plugin/clipman-dialogs.c:268
-msgid "Default"
-msgstr ""
+#: ../panel-plugin/clipman.c:299
+msgid "Are you sure you want to remove this clip from the history?"
+msgstr "Ziur elementu hau historiatik ezabatu nahi duzula?"
-#: ../panel-plugin/clipman-dialogs.c:277
-msgid "Selection"
-msgstr ""
+#: ../panel-plugin/clipman.c:417
+msgid "< Default History Empty >"
+msgstr "< Lehenetsiriko Historia Hutsa >"
-#: ../panel-plugin/clipman-dialogs.c:286
-msgid "Both"
-msgstr ""
+#: ../panel-plugin/clipman.c:468
+msgid "< Selection History Empty >"
+msgstr "< Hautaturiko Historia Hutsa >"
-#: ../panel-plugin/clipman-dialogs.c:314
-#, c-format
-msgid "Unable to open the following url: %s"
-msgstr "Ezin da hurrengo url-a ireki: %s"
+#: ../panel-plugin/clipman.c:477 ../panel-plugin/clipman.c:542
+msgid "Clear History"
+msgstr "Historia garbitu"
-#: ../panel-plugin/clipman.c:391
-msgid "< Clipboard Empty >"
-msgstr "< Arbela Hutsa >"
-
-#: ../panel-plugin/clipman.c:408
-msgid "< Static Clipboard Empty >"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:417 ../panel-plugin/clipman.c:968
-msgid "Add static clipboard"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:436
+#: ../panel-plugin/clipman.c:636
msgid "Clipman History"
msgstr "Clipman Historia"
-#. Append clear history
-#: ../panel-plugin/clipman.c:442
-msgid "Clear History"
-msgstr "Historia garbitu"
+#: ../panel-plugin/clipman.c:658
+msgid "< Clipboard Empty >"
+msgstr "< Arbela Hutsa >"
-#: ../panel-plugin/clipman.c:619
-msgid "< Selection History Empty >"
-msgstr "< Hautaturiko Historia Hutsa >"
-
-#: ../panel-plugin/clipman.c:630
-msgid "< Default History Empty >"
-msgstr "< Lehenetsiriko Historia Hutsa >"
-
-#: ../panel-plugin/clipman.c:791
-msgid "Are you sure you want to remove this clip from the history?"
-msgstr "Ziur elementu hau historiatik ezabatu nahi duzula?"
-
-#: ../panel-plugin/clipman.c:863
-msgid "Are you sure you want to clear the history?"
-msgstr "Ziur historia garbitu nahi duzula?"
-
-#. Label
-#: ../panel-plugin/clipman.c:984
-msgid "Text:"
-msgstr ""
-
#: ../panel-plugin/clipman.desktop.in.in.h:1
msgid "Clipboard manager for the Xfce desktop"
msgstr "Xfce idazmahaierako arbel kudeatzailea"
@@ -154,8 +124,5 @@
msgid "Clipman"
msgstr "Clipman"
-#~ msgid "<b>General</b>"
-#~ msgstr "<b>Orokorra</b>"
-
#~ msgid "Visit the goodies website for more information about this plugin."
#~ msgstr "Goodies webgunera joan plugin honetaz argibide gehiagorako."
Modified: xfce4-clipman-plugin/trunk/po/fr.po
===================================================================
--- xfce4-clipman-plugin/trunk/po/fr.po 2008-03-04 15:01:43 UTC (rev 4017)
+++ xfce4-clipman-plugin/trunk/po/fr.po 2008-03-04 15:15:08 UTC (rev 4018)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: xfce4-clipman-plugin 0.8.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-01-08 06:16+0100\n"
+"POT-Creation-Date: 2006-12-20 17:47+0100\n"
"PO-Revision-Date: 2006-12-22 18:06+0100\n"
"Last-Translator: Maximilian Schleiss <maximilian at xfce.org>\n"
"Language-Team: French <xfce-i18n at xfce.org>\n"
@@ -16,136 +16,108 @@
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
-#: ../panel-plugin/clipman-dialogs.c:84
+#: ../panel-plugin/clipman-dialogs.c:66
+#, c-format
+msgid "Unable to open the following url: %s"
+msgstr "Échec à l'ouverture du lien : %s"
+
+#: ../panel-plugin/clipman-dialogs.c:162
+#: ../panel-plugin/clipman.c:981
msgid "Clipboard Manager"
msgstr "Gestionnaire de presse-papiers"
-#: ../panel-plugin/clipman-dialogs.c:108 ../panel-plugin/clipman-dialogs.c:112
-#: ../panel-plugin/clipman-dialogs.c:248
-msgid "General"
-msgstr "Général"
-
-#: ../panel-plugin/clipman-dialogs.c:117
+#: ../panel-plugin/clipman-dialogs.c:194
msgid "Save clipboard contents on _exit"
msgstr "_Enregistrer le contenu du presse-papiers en quittant"
-#: ../panel-plugin/clipman-dialogs.c:124
-msgid "Pre_vent empty clipboard"
-msgstr "Éviter un presse-papiers _vide"
-
-#: ../panel-plugin/clipman-dialogs.c:131
+#: ../panel-plugin/clipman-dialogs.c:201
msgid "_Ignore selections"
msgstr "_Ignorer les sélections"
-#: ../panel-plugin/clipman-dialogs.c:139
-msgid "Clipboard Behavior"
-msgstr "Comportement du presse-papiers"
+#: ../panel-plugin/clipman-dialogs.c:208
+msgid "Pre_vent empty clipboard"
+msgstr "Éviter un presse-papiers _vide"
-#: ../panel-plugin/clipman-dialogs.c:146
+#: ../panel-plugin/clipman-dialogs.c:216
+msgid "<b>General</b>"
+msgstr "<b>Général</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:234
msgid "Normal clipboard _management"
msgstr "Gestion nor_male du presse-papiers"
-#: ../panel-plugin/clipman-dialogs.c:155
+#: ../panel-plugin/clipman-dialogs.c:243
msgid "Strictly separate _both clipboards"
msgstr "Séparer les deux _presse-papiers"
-#: ../panel-plugin/clipman-dialogs.c:169
-msgid "Appearance"
-msgstr "Apparence"
+#: ../panel-plugin/clipman-dialogs.c:252
+msgid "<b>Clipboard Behaviour</b>"
+msgstr "<b>Comportement du presse-papiers</b>"
-#: ../panel-plugin/clipman-dialogs.c:173
-msgid "Menu Appearance"
-msgstr "Apparence du menu"
+#. *
+#. * Notebook label
+#. *
+#: ../panel-plugin/clipman-dialogs.c:260
+msgid "General"
+msgstr "Général"
-#: ../panel-plugin/clipman-dialogs.c:177
+#: ../panel-plugin/clipman-dialogs.c:277
msgid "_Show item numbers"
msgstr "_Afficher les numéros des éléments"
-#: ../panel-plugin/clipman-dialogs.c:185
-msgid "Numbers"
-msgstr "Nombres"
+#: ../panel-plugin/clipman-dialogs.c:284
+msgid "Se_parate clipboards"
+msgstr "Sé_parer les presses-papiers"
-#. History length
-#: ../panel-plugin/clipman-dialogs.c:190
+#: ../panel-plugin/clipman-dialogs.c:291
+msgid "<b>Menu Appearance</b>"
+msgstr "<b>Apparence du menu</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:313
msgid "Clipboard history items:"
msgstr "Éléments de l'historique du presse-papiers :"
-#. Max menu item chars
-#: ../panel-plugin/clipman-dialogs.c:214
+#: ../panel-plugin/clipman-dialogs.c:337
msgid "Menu item characters:"
msgstr "Caractères des éléments du menu :"
-#: ../panel-plugin/clipman-dialogs.c:244
-msgid "Static Clipboard"
-msgstr "Presse-papiers statique"
+#: ../panel-plugin/clipman-dialogs.c:359
+msgid "<b>Numbers</b>"
+msgstr "<b>Nombres</b>"
-#: ../panel-plugin/clipman-dialogs.c:253
-msgid "Ignore _static clipboard"
-msgstr "Ignorer le presse-papiers statique"
+#: ../panel-plugin/clipman-dialogs.c:364
+msgid "Appearance"
+msgstr "Apparence"
-#: ../panel-plugin/clipman-dialogs.c:261
-msgid "Select to Clipboards"
-msgstr "Sélectionner dans le presse-papiers"
+#: ../panel-plugin/clipman.c:74
+msgid "Are you sure you want to clear the history?"
+msgstr "Êtes-vous certain de vouloir effacer l'historique ?"
-#: ../panel-plugin/clipman-dialogs.c:268
-msgid "Default"
-msgstr "Par défaut"
+#: ../panel-plugin/clipman.c:299
+msgid "Are you sure you want to remove this clip from the history?"
+msgstr "Êtes-vous certain de vouloir effacer cet élément de l'historique ?"
-#: ../panel-plugin/clipman-dialogs.c:277
-msgid "Selection"
-msgstr "La sélection"
+#: ../panel-plugin/clipman.c:417
+msgid "< Default History Empty >"
+msgstr "< Historique par défaut vide >"
-#: ../panel-plugin/clipman-dialogs.c:286
-msgid "Both"
-msgstr "Les deux"
+#: ../panel-plugin/clipman.c:468
+msgid "< Selection History Empty >"
+msgstr "< Historique de la sélection vide >"
-#: ../panel-plugin/clipman-dialogs.c:314
-#, c-format
-msgid "Unable to open the following url: %s"
-msgstr "Échec à l'ouverture du lien : %s"
+#: ../panel-plugin/clipman.c:477
+#: ../panel-plugin/clipman.c:542
+msgid "Clear History"
+msgstr "Effacer l'historique"
-#: ../panel-plugin/clipman.c:391
-msgid "< Clipboard Empty >"
-msgstr "< Presse-papiers vide >"
-
-#: ../panel-plugin/clipman.c:408
-msgid "< Static Clipboard Empty >"
-msgstr "< Presse-papiers statique vide >"
-
-#: ../panel-plugin/clipman.c:417 ../panel-plugin/clipman.c:968
-msgid "Add static clipboard"
-msgstr "Ajouter un presse-papiers statique"
-
-#: ../panel-plugin/clipman.c:436
+#: ../panel-plugin/clipman.c:636
msgid "Clipman History"
msgstr "Historique du presse-papiers"
-#. Append clear history
-#: ../panel-plugin/clipman.c:442
-msgid "Clear History"
-msgstr "Effacer l'historique"
+#: ../panel-plugin/clipman.c:658
+msgid "< Clipboard Empty >"
+msgstr "< Presse-papiers vide >"
-#: ../panel-plugin/clipman.c:619
-msgid "< Selection History Empty >"
-msgstr "< Historique de la sélection vide >"
-
-#: ../panel-plugin/clipman.c:630
-msgid "< Default History Empty >"
-msgstr "< Historique par défaut vide >"
-
-#: ../panel-plugin/clipman.c:791
-msgid "Are you sure you want to remove this clip from the history?"
-msgstr "Êtes-vous certain de vouloir effacer cet élément de l'historique ?"
-
-#: ../panel-plugin/clipman.c:863
-msgid "Are you sure you want to clear the history?"
-msgstr "Êtes-vous certain de vouloir effacer l'historique ?"
-
-#. Label
-#: ../panel-plugin/clipman.c:984
-msgid "Text:"
-msgstr "Texte :"
-
#: ../panel-plugin/clipman.desktop.in.in.h:1
msgid "Clipboard manager for the Xfce desktop"
msgstr "Gestionnaire de presse-papiers pour l'environnement de bureau Xfce"
@@ -154,12 +126,8 @@
msgid "Clipman"
msgstr "Clipman"
-#~ msgid "<b>General</b>"
-#~ msgstr "<b>Général</b>"
-
#~ msgid "Visit the goodies website for more information about this plugin."
#~ msgstr "Visitez le site web des goodies pour plus d'informations."
-
#~ msgid ""
#~ "Select this option to save the clipboard history when you exit Xfce and "
#~ "restore it when you login again."
@@ -167,21 +135,18 @@
#~ "Sélectionner cette option pour enregistrer l'historique du presse-papiers "
#~ "quand vous quittez Xfce et pour la restaurer quand vous accédez de "
#~ "nouveau à votre compte."
-
#~ msgid ""
#~ "Select this option will prevent Clipman from including the contents of "
#~ "the selection in the history."
#~ msgstr ""
#~ "Sélectionner cette option pour empêcher Clipman d'inclure le contenu de "
#~ "la sélection dans l'historique. "
-
#~ msgid ""
#~ "Select this option to prevent an empty clipboard. The most recent history "
#~ "item will be added to the clipboard."
#~ msgstr ""
#~ "Sélectionner cette option pour éviter d'avoir un presse-papiers vide. "
#~ "L'élément le plus récent de l'historique sera ajouté au presse-papiers."
-
#~ msgid ""
#~ "When you've copied or cut some text and it is already in the Clipman "
#~ "history from the selection clipboard, only the content location will be "
@@ -196,7 +161,6 @@
#~ "\n"
#~ "Si un élément de l'historique est cliqué, son contenu sera copié dans les "
#~ "deux presse-papiers."
-
#~ msgid ""
#~ "When you've copied or cut some text it will be added to the Clipman "
#~ "history, there will also be a duplicate in the history from the "
@@ -217,43 +181,34 @@
#~ "\n"
#~ "Cette option fonctionnera bien mieux si vous sélectionnez l'option "
#~ "\"Séparer les presses-papiers\" dans l'onglet Apparence."
-
#~ msgid "Select this option to show item numbers in the history list."
#~ msgstr ""
#~ "Sélectionner cette option pour afficher les numéros des éléments dans la "
#~ "liste de l'historique."
-
#~ msgid ""
#~ "Select this option to order the history list by primairy and selection "
#~ "clipboard."
#~ msgstr ""
#~ "Sélectionner cette option pour trier la liste de l'historique par "
#~ "sélections primaires du presse-papiers."
-
#~ msgid "The number of items stored in the history list."
#~ msgstr "Le nombre d'éléments stockés dans la liste de l'historique."
-
#~ msgid ""
#~ "The number of characters showed in the history list. After this amount of "
#~ "characters, the history label will be ellipsized."
#~ msgstr ""
#~ "Le nombre de caractères affichés dans la liste de l'historique. Au delà "
#~ "de ce nombre, l'étiquette de l'historique sera abrégée."
-
#~ msgid "Properties"
#~ msgstr "Propriétés"
-
#~ msgid "Use _colored menu items"
#~ msgstr "Éléments de menu en _couleur"
-
#~ msgid "Developer"
#~ msgstr "Développeur"
-
#~ msgid "Edit content"
#~ msgstr "Éditer le contenu"
-
#~ msgid "Question"
#~ msgstr "Question"
-
#~ msgid "What to do with this clipboard item?"
#~ msgstr "Que faire de cet élément du presse-papiers?"
+
Modified: xfce4-clipman-plugin/trunk/po/hu.po
===================================================================
--- xfce4-clipman-plugin/trunk/po/hu.po 2008-03-04 15:01:43 UTC (rev 4017)
+++ xfce4-clipman-plugin/trunk/po/hu.po 2008-03-04 15:15:08 UTC (rev 4018)
@@ -7,149 +7,118 @@
msgstr ""
"Project-Id-Version: xfce4-clipman-plugin 0.8.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-01-08 06:16+0100\n"
-"PO-Revision-Date: 2008-01-25 23:40+0100\n"
+"POT-Creation-Date: 2006-12-20 17:47+0100\n"
+"PO-Revision-Date: 2007-01-08 09:08+0100\n"
"Last-Translator: SZERVÁC Attila <sas at 321.hu>\n"
"Language-Team: Hungarian <xfce-i18n at xfce.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural>1;\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
"X-Poedit-Country: HUNGARY\n"
-"X-Poedit-Language: Hungarian\n"
-#: ../panel-plugin/clipman-dialogs.c:84
+#: ../panel-plugin/clipman-dialogs.c:66
+#, c-format
+msgid "Unable to open the following url: %s"
+msgstr "Az alábbi url nem nyitható meg: %s"
+
+#: ../panel-plugin/clipman-dialogs.c:162
+#: ../panel-plugin/clipman.c:981
msgid "Clipboard Manager"
msgstr "Vágólap kezelő"
-#: ../panel-plugin/clipman-dialogs.c:108
-#: ../panel-plugin/clipman-dialogs.c:112
-#: ../panel-plugin/clipman-dialogs.c:248
-msgid "General"
-msgstr "Általános"
-
-#: ../panel-plugin/clipman-dialogs.c:117
+#: ../panel-plugin/clipman-dialogs.c:194
msgid "Save clipboard contents on _exit"
msgstr "Vágólap tartalmak mentése kilépéskor"
-#: ../panel-plugin/clipman-dialogs.c:124
-msgid "Pre_vent empty clipboard"
-msgstr "Üres vágólap tiltása"
-
-#: ../panel-plugin/clipman-dialogs.c:131
+#: ../panel-plugin/clipman-dialogs.c:201
msgid "_Ignore selections"
msgstr "Kijelölések k_ihagyása"
-#: ../panel-plugin/clipman-dialogs.c:139
-msgid "Clipboard Behavior"
-msgstr "Vágólap viselkedés"
+#: ../panel-plugin/clipman-dialogs.c:208
+msgid "Pre_vent empty clipboard"
+msgstr "Üres vágólap tiltása"
-#: ../panel-plugin/clipman-dialogs.c:146
+#: ../panel-plugin/clipman-dialogs.c:216
+msgid "<b>General</b>"
+msgstr "<b>Általános</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:234
msgid "Normal clipboard _management"
msgstr "Szokásos vágólap kezelés"
-#: ../panel-plugin/clipman-dialogs.c:155
+#: ../panel-plugin/clipman-dialogs.c:243
msgid "Strictly separate _both clipboards"
msgstr "Vágólapok szigorú elválasztása"
-#: ../panel-plugin/clipman-dialogs.c:169
-msgid "Appearance"
-msgstr "Megjelenés"
+#: ../panel-plugin/clipman-dialogs.c:252
+msgid "<b>Clipboard Behaviour</b>"
+msgstr "<b>Vágólap viselkedés</b>"
-#: ../panel-plugin/clipman-dialogs.c:173
-msgid "Menu Appearance"
-msgstr "Menü megjelenés"
+#. *
+#. * Notebook label
+#. *
+#: ../panel-plugin/clipman-dialogs.c:260
+msgid "General"
+msgstr "Általános"
-#: ../panel-plugin/clipman-dialogs.c:177
+#: ../panel-plugin/clipman-dialogs.c:277
msgid "_Show item numbers"
msgstr "Elem_számok mutatása"
-#: ../panel-plugin/clipman-dialogs.c:185
-msgid "Numbers"
-msgstr "Számok"
+#: ../panel-plugin/clipman-dialogs.c:284
+msgid "Se_parate clipboards"
+msgstr "Külön vágólapok"
-#. History length
-#: ../panel-plugin/clipman-dialogs.c:190
+#: ../panel-plugin/clipman-dialogs.c:291
+msgid "<b>Menu Appearance</b>"
+msgstr "<b>Menü megjelenés</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:313
msgid "Clipboard history items:"
msgstr "Vágólap történet elemek:"
-#. Max menu item chars
-#: ../panel-plugin/clipman-dialogs.c:214
+#: ../panel-plugin/clipman-dialogs.c:337
msgid "Menu item characters:"
msgstr "Menü elem karakterek:"
-#: ../panel-plugin/clipman-dialogs.c:244
-msgid "Static Clipboard"
-msgstr ""
+#: ../panel-plugin/clipman-dialogs.c:359
+msgid "<b>Numbers</b>"
+msgstr "<b>Számok</b>"
-#: ../panel-plugin/clipman-dialogs.c:253
-msgid "Ignore _static clipboard"
-msgstr ""
+#: ../panel-plugin/clipman-dialogs.c:364
+msgid "Appearance"
+msgstr "Megjelenés"
-#: ../panel-plugin/clipman-dialogs.c:261
-msgid "Select to Clipboards"
-msgstr ""
+#: ../panel-plugin/clipman.c:74
+msgid "Are you sure you want to clear the history?"
+msgstr "Tényleg törlöd az előzményeket?"
-#: ../panel-plugin/clipman-dialogs.c:268
-msgid "Default"
-msgstr ""
+#: ../panel-plugin/clipman.c:299
+msgid "Are you sure you want to remove this clip from the history?"
+msgstr "Tényleg törlöd e vágást az előzők közül?"
-#: ../panel-plugin/clipman-dialogs.c:277
-msgid "Selection"
-msgstr ""
-
-#: ../panel-plugin/clipman-dialogs.c:286
-msgid "Both"
-msgstr ""
-
-#: ../panel-plugin/clipman-dialogs.c:314
-#, c-format
-msgid "Unable to open the following url: %s"
-msgstr "Az alábbi url nem nyitható meg: %s"
-
-#: ../panel-plugin/clipman.c:391
-msgid "< Clipboard Empty >"
-msgstr "< Vágólap üres >"
-
-#: ../panel-plugin/clipman.c:408
-msgid "< Static Clipboard Empty >"
-msgstr ""
-
#: ../panel-plugin/clipman.c:417
-#: ../panel-plugin/clipman.c:968
-msgid "Add static clipboard"
-msgstr ""
+msgid "< Default History Empty >"
+msgstr "< Alap történet üres >"
-#: ../panel-plugin/clipman.c:436
-msgid "Clipman History"
-msgstr "Vágólap történet"
+#: ../panel-plugin/clipman.c:468
+msgid "< Selection History Empty >"
+msgstr "< Kijelölés történet üres >"
-#. Append clear history
-#: ../panel-plugin/clipman.c:442
+#: ../panel-plugin/clipman.c:477
+#: ../panel-plugin/clipman.c:542
msgid "Clear History"
msgstr "Történet törlése"
-#: ../panel-plugin/clipman.c:619
-msgid "< Selection History Empty >"
-msgstr "< Kijelölés történet üres >"
+#: ../panel-plugin/clipman.c:636
+msgid "Clipman History"
+msgstr "Vágólap történet"
-#: ../panel-plugin/clipman.c:630
-msgid "< Default History Empty >"
-msgstr "< Alap történet üres >"
+#: ../panel-plugin/clipman.c:658
+msgid "< Clipboard Empty >"
+msgstr "< Vágólap üres >"
-#: ../panel-plugin/clipman.c:791
-msgid "Are you sure you want to remove this clip from the history?"
-msgstr "Tényleg törlöd e vágást az előzők közül?"
-
-#: ../panel-plugin/clipman.c:863
-msgid "Are you sure you want to clear the history?"
-msgstr "Tényleg törlöd az előzményeket?"
-
-#. Label
-#: ../panel-plugin/clipman.c:984
-msgid "Text:"
-msgstr "Szöveg:"
-
#: ../panel-plugin/clipman.desktop.in.in.h:1
msgid "Clipboard manager for the Xfce desktop"
msgstr "Egy Xfce vágólap kezelő"
@@ -158,8 +127,6 @@
msgid "Clipman"
msgstr "Clipman"
-#~ msgid "<b>General</b>"
-#~ msgstr "<b>Általános</b>"
#~ msgid "Visit the goodies website for more information about this plugin."
#~ msgstr "A cukik weblapján több leírást is lelsz e beillesztésről."
#~ msgid ""
Modified: xfce4-clipman-plugin/trunk/po/it.po
===================================================================
--- xfce4-clipman-plugin/trunk/po/it.po 2008-03-04 15:01:43 UTC (rev 4017)
+++ xfce4-clipman-plugin/trunk/po/it.po 2008-03-04 15:15:08 UTC (rev 4018)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: xfce 4-clipman-plugin\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-01-08 06:16+0100\n"
+"POT-Creation-Date: 2006-12-20 17:47+0100\n"
"PO-Revision-Date: 2007-05-24 22:51+0200\n"
"Last-Translator: Fabio Riga <usul at aruba.it>\n"
"Language-Team: Italian <xfce-i18n at xfce.org>\n"
@@ -16,136 +16,106 @@
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: ../panel-plugin/clipman-dialogs.c:84
+#: ../panel-plugin/clipman-dialogs.c:66
+#, c-format
+msgid "Unable to open the following url: %s"
+msgstr "Impossibile aprire il seguente url: %s"
+
+#: ../panel-plugin/clipman-dialogs.c:162 ../panel-plugin/clipman.c:981
msgid "Clipboard Manager"
msgstr "Gestore bacheca"
-#: ../panel-plugin/clipman-dialogs.c:108 ../panel-plugin/clipman-dialogs.c:112
-#: ../panel-plugin/clipman-dialogs.c:248
-msgid "General"
-msgstr "Generale"
-
-#: ../panel-plugin/clipman-dialogs.c:117
+#: ../panel-plugin/clipman-dialogs.c:194
msgid "Save clipboard contents on _exit"
msgstr "Salva il contenuto della bacheca all'_uscita"
-#: ../panel-plugin/clipman-dialogs.c:124
-msgid "Pre_vent empty clipboard"
-msgstr "Pre_vieni bacheca vuota"
-
-#: ../panel-plugin/clipman-dialogs.c:131
+#: ../panel-plugin/clipman-dialogs.c:201
msgid "_Ignore selections"
msgstr "_Ignora selezioni"
-#: ../panel-plugin/clipman-dialogs.c:139
-msgid "Clipboard Behavior"
-msgstr "Comportamento della bacheca"
+#: ../panel-plugin/clipman-dialogs.c:208
+msgid "Pre_vent empty clipboard"
+msgstr "Pre_vieni bacheca vuota"
-#: ../panel-plugin/clipman-dialogs.c:146
+#: ../panel-plugin/clipman-dialogs.c:216
+msgid "<b>General</b>"
+msgstr "<b>Generale</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:234
msgid "Normal clipboard _management"
msgstr "Gestione _normale della bacheca"
-#: ../panel-plugin/clipman-dialogs.c:155
+#: ../panel-plugin/clipman-dialogs.c:243
msgid "Strictly separate _both clipboards"
msgstr "Due bacheche _strettamente separate"
-#: ../panel-plugin/clipman-dialogs.c:169
-msgid "Appearance"
-msgstr "Aspetto"
+#: ../panel-plugin/clipman-dialogs.c:252
+msgid "<b>Clipboard Behaviour</b>"
+msgstr "<b>Comportamento della bacheca</b>"
-#: ../panel-plugin/clipman-dialogs.c:173
-msgid "Menu Appearance"
-msgstr "Aspetto del menu"
+#. *
+#. * Notebook label
+#. *
+#: ../panel-plugin/clipman-dialogs.c:260
+msgid "General"
+msgstr "Generale"
-#: ../panel-plugin/clipman-dialogs.c:177
+#: ../panel-plugin/clipman-dialogs.c:277
msgid "_Show item numbers"
msgstr "_Mostra i numeri degli elementi"
-#: ../panel-plugin/clipman-dialogs.c:185
-msgid "Numbers"
-msgstr "Numeri"
+#: ../panel-plugin/clipman-dialogs.c:284
+msgid "Se_parate clipboards"
+msgstr "Bacheche se_parate"
-#. History length
-#: ../panel-plugin/clipman-dialogs.c:190
+#: ../panel-plugin/clipman-dialogs.c:291
+msgid "<b>Menu Appearance</b>"
+msgstr "<b>Aspetto del menu</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:313
msgid "Clipboard history items:"
msgstr "Elementi nello storico della bacheca:"
-#. Max menu item chars
-#: ../panel-plugin/clipman-dialogs.c:214
+#: ../panel-plugin/clipman-dialogs.c:337
msgid "Menu item characters:"
msgstr "Caratteri nell'elemento del menu"
-#: ../panel-plugin/clipman-dialogs.c:244
-msgid "Static Clipboard"
-msgstr ""
+#: ../panel-plugin/clipman-dialogs.c:359
+msgid "<b>Numbers</b>"
+msgstr "<b>Numeri</b>"
-#: ../panel-plugin/clipman-dialogs.c:253
-msgid "Ignore _static clipboard"
-msgstr ""
+#: ../panel-plugin/clipman-dialogs.c:364
+msgid "Appearance"
+msgstr "Aspetto"
-#: ../panel-plugin/clipman-dialogs.c:261
-msgid "Select to Clipboards"
-msgstr ""
+#: ../panel-plugin/clipman.c:74
+msgid "Are you sure you want to clear the history?"
+msgstr "Cancellare lo storico?"
-#: ../panel-plugin/clipman-dialogs.c:268
-msgid "Default"
-msgstr ""
+#: ../panel-plugin/clipman.c:299
+msgid "Are you sure you want to remove this clip from the history?"
+msgstr "Rimuovere questo appunto dalla bacheca?"
-#: ../panel-plugin/clipman-dialogs.c:277
-msgid "Selection"
-msgstr ""
+#: ../panel-plugin/clipman.c:417
+msgid "< Default History Empty >"
+msgstr "< Storico predefinito vuoto >"
-#: ../panel-plugin/clipman-dialogs.c:286
-msgid "Both"
-msgstr ""
+#: ../panel-plugin/clipman.c:468
+msgid "< Selection History Empty >"
+msgstr "< Storico delle selezioni vuoto >"
-#: ../panel-plugin/clipman-dialogs.c:314
-#, c-format
-msgid "Unable to open the following url: %s"
-msgstr "Impossibile aprire il seguente url: %s"
+#: ../panel-plugin/clipman.c:477 ../panel-plugin/clipman.c:542
+msgid "Clear History"
+msgstr "Cancella lo storico"
-#: ../panel-plugin/clipman.c:391
-msgid "< Clipboard Empty >"
-msgstr "< Bacheca vuota >"
-
-#: ../panel-plugin/clipman.c:408
-msgid "< Static Clipboard Empty >"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:417 ../panel-plugin/clipman.c:968
-msgid "Add static clipboard"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:436
+#: ../panel-plugin/clipman.c:636
msgid "Clipman History"
msgstr "Storico della bacheca"
-#. Append clear history
-#: ../panel-plugin/clipman.c:442
-msgid "Clear History"
-msgstr "Cancella lo storico"
+#: ../panel-plugin/clipman.c:658
+msgid "< Clipboard Empty >"
+msgstr "< Bacheca vuota >"
-#: ../panel-plugin/clipman.c:619
-msgid "< Selection History Empty >"
-msgstr "< Storico delle selezioni vuoto >"
-
-#: ../panel-plugin/clipman.c:630
-msgid "< Default History Empty >"
-msgstr "< Storico predefinito vuoto >"
-
-#: ../panel-plugin/clipman.c:791
-msgid "Are you sure you want to remove this clip from the history?"
-msgstr "Rimuovere questo appunto dalla bacheca?"
-
-#: ../panel-plugin/clipman.c:863
-msgid "Are you sure you want to clear the history?"
-msgstr "Cancellare lo storico?"
-
-#. Label
-#: ../panel-plugin/clipman.c:984
-msgid "Text:"
-msgstr ""
-
#: ../panel-plugin/clipman.desktop.in.in.h:1
msgid "Clipboard manager for the Xfce desktop"
msgstr "Gestore della bacheca per l'ambiente Xfce"
@@ -153,6 +123,3 @@
#: ../panel-plugin/clipman.desktop.in.in.h:2
msgid "Clipman"
msgstr "Bacheca"
-
-#~ msgid "<b>General</b>"
-#~ msgstr "<b>Generale</b>"
Modified: xfce4-clipman-plugin/trunk/po/ja.po
===================================================================
--- xfce4-clipman-plugin/trunk/po/ja.po 2008-03-04 15:01:43 UTC (rev 4017)
+++ xfce4-clipman-plugin/trunk/po/ja.po 2008-03-04 15:15:08 UTC (rev 4018)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: xfce4-clipman-plugin 0.8.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-01-08 06:16+0100\n"
+"POT-Creation-Date: 2006-12-20 17:47+0100\n"
"PO-Revision-Date: 2006-04-09 19:04+0900\n"
"Last-Translator: Daichi Kawahata <daichi at xfce.org>\n"
"Language-Team: Japanese <xfce-i18n at xfce.org>\n"
@@ -16,137 +16,110 @@
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
-#: ../panel-plugin/clipman-dialogs.c:84
+#: ../panel-plugin/clipman-dialogs.c:66
+#, c-format
+msgid "Unable to open the following url: %s"
+msgstr ""
+
+#: ../panel-plugin/clipman-dialogs.c:162 ../panel-plugin/clipman.c:981
msgid "Clipboard Manager"
msgstr "クリップボードマネージャー"
-#: ../panel-plugin/clipman-dialogs.c:108 ../panel-plugin/clipman-dialogs.c:112
-#: ../panel-plugin/clipman-dialogs.c:248
-msgid "General"
-msgstr "全般"
-
-#: ../panel-plugin/clipman-dialogs.c:117
+#: ../panel-plugin/clipman-dialogs.c:194
msgid "Save clipboard contents on _exit"
msgstr "終了時にクリップボードの内容を保存する(_E)"
-#: ../panel-plugin/clipman-dialogs.c:124
-msgid "Pre_vent empty clipboard"
-msgstr "クリップボードを空にしない(_V)"
-
-#: ../panel-plugin/clipman-dialogs.c:131
+#: ../panel-plugin/clipman-dialogs.c:201
msgid "_Ignore selections"
msgstr "領域選択を無視する(_I)"
-#: ../panel-plugin/clipman-dialogs.c:139
-msgid "Clipboard Behavior"
-msgstr "クリップボードの振る舞い"
+#: ../panel-plugin/clipman-dialogs.c:208
+msgid "Pre_vent empty clipboard"
+msgstr "クリップボードを空にしない(_V)"
-#: ../panel-plugin/clipman-dialogs.c:146
+#: ../panel-plugin/clipman-dialogs.c:216
+msgid "<b>General</b>"
+msgstr "<b>全般</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:234
msgid "Normal clipboard _management"
msgstr "通常のクリップボード管理(_M)"
-#: ../panel-plugin/clipman-dialogs.c:155
+#: ../panel-plugin/clipman-dialogs.c:243
msgid "Strictly separate _both clipboards"
msgstr "クリップボードを二つに分ける(_B)"
-#: ../panel-plugin/clipman-dialogs.c:169
-msgid "Appearance"
-msgstr ""
+#: ../panel-plugin/clipman-dialogs.c:252
+#, fuzzy
+msgid "<b>Clipboard Behaviour</b>"
+msgstr "<b>クリップボードの振る舞い</b>"
-#: ../panel-plugin/clipman-dialogs.c:173
-msgid "Menu Appearance"
-msgstr "メニューの外観"
+#. *
+#. * Notebook label
+#. *
+#: ../panel-plugin/clipman-dialogs.c:260
+#, fuzzy
+msgid "General"
+msgstr "<b>全般</b>"
-#: ../panel-plugin/clipman-dialogs.c:177
+#: ../panel-plugin/clipman-dialogs.c:277
msgid "_Show item numbers"
msgstr "アイテム数を表示する(_S)"
-#: ../panel-plugin/clipman-dialogs.c:185
-msgid "Numbers"
-msgstr "数"
+#: ../panel-plugin/clipman-dialogs.c:284
+msgid "Se_parate clipboards"
+msgstr "クリップボードを分割する(_P)"
-#. History length
-#: ../panel-plugin/clipman-dialogs.c:190
+#: ../panel-plugin/clipman-dialogs.c:291
+#, fuzzy
+msgid "<b>Menu Appearance</b>"
+msgstr "<b>メニューの外観</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:313
msgid "Clipboard history items:"
msgstr "クリップボードの履歴アイテム数:"
-#. Max menu item chars
-#: ../panel-plugin/clipman-dialogs.c:214
+#: ../panel-plugin/clipman-dialogs.c:337
msgid "Menu item characters:"
msgstr "メニューアイテムの文字数:"
-#: ../panel-plugin/clipman-dialogs.c:244
-msgid "Static Clipboard"
-msgstr ""
+#: ../panel-plugin/clipman-dialogs.c:359
+msgid "<b>Numbers</b>"
+msgstr "<b>数</b>"
-#: ../panel-plugin/clipman-dialogs.c:253
-msgid "Ignore _static clipboard"
+#: ../panel-plugin/clipman-dialogs.c:364
+msgid "Appearance"
msgstr ""
-#: ../panel-plugin/clipman-dialogs.c:261
-msgid "Select to Clipboards"
-msgstr ""
+#: ../panel-plugin/clipman.c:74
+msgid "Are you sure you want to clear the history?"
+msgstr "履歴をクリアしてもよろしいですか?"
-#: ../panel-plugin/clipman-dialogs.c:268
-msgid "Default"
-msgstr ""
+#: ../panel-plugin/clipman.c:299
+#, fuzzy
+msgid "Are you sure you want to remove this clip from the history?"
+msgstr "履歴をクリアしてもよろしいですか?"
-#: ../panel-plugin/clipman-dialogs.c:277
-msgid "Selection"
-msgstr ""
+#: ../panel-plugin/clipman.c:417
+msgid "< Default History Empty >"
+msgstr "< 空の標準履歴 >"
-#: ../panel-plugin/clipman-dialogs.c:286
-msgid "Both"
-msgstr ""
+#: ../panel-plugin/clipman.c:468
+msgid "< Selection History Empty >"
+msgstr "< 空の選択履歴 >"
-#: ../panel-plugin/clipman-dialogs.c:314
-#, c-format
-msgid "Unable to open the following url: %s"
-msgstr ""
+#: ../panel-plugin/clipman.c:477 ../panel-plugin/clipman.c:542
+msgid "Clear History"
+msgstr "履歴をクリア"
-#: ../panel-plugin/clipman.c:391
-msgid "< Clipboard Empty >"
-msgstr "< 空のクリップボード >"
-
-#: ../panel-plugin/clipman.c:408
-msgid "< Static Clipboard Empty >"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:417 ../panel-plugin/clipman.c:968
-msgid "Add static clipboard"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:436
+#: ../panel-plugin/clipman.c:636
msgid "Clipman History"
msgstr "Clipman 履歴"
-#. Append clear history
-#: ../panel-plugin/clipman.c:442
-msgid "Clear History"
-msgstr "履歴をクリア"
+#: ../panel-plugin/clipman.c:658
+msgid "< Clipboard Empty >"
+msgstr "< 空のクリップボード >"
-#: ../panel-plugin/clipman.c:619
-msgid "< Selection History Empty >"
-msgstr "< 空の選択履歴 >"
-
-#: ../panel-plugin/clipman.c:630
-msgid "< Default History Empty >"
-msgstr "< 空の標準履歴 >"
-
-#: ../panel-plugin/clipman.c:791
-#, fuzzy
-msgid "Are you sure you want to remove this clip from the history?"
-msgstr "履歴をクリアしてもよろしいですか?"
-
-#: ../panel-plugin/clipman.c:863
-msgid "Are you sure you want to clear the history?"
-msgstr "履歴をクリアしてもよろしいですか?"
-
-#. Label
-#: ../panel-plugin/clipman.c:984
-msgid "Text:"
-msgstr ""
-
#: ../panel-plugin/clipman.desktop.in.in.h:1
msgid "Clipboard manager for the Xfce desktop"
msgstr "Xfce デスクトップのクリップボードを管理します。"
@@ -155,9 +128,6 @@
msgid "Clipman"
msgstr "Clipman"
-#~ msgid "<b>General</b>"
-#~ msgstr "<b>全般</b>"
-
#~ msgid "Properties"
#~ msgstr "プロパティ"
Modified: xfce4-clipman-plugin/trunk/po/lv.po
===================================================================
--- xfce4-clipman-plugin/trunk/po/lv.po 2008-03-04 15:01:43 UTC (rev 4017)
+++ xfce4-clipman-plugin/trunk/po/lv.po 2008-03-04 15:15:08 UTC (rev 4018)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: xfce4-clipman-plugin 0.8.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-01-08 06:16+0100\n"
+"POT-Creation-Date: 2006-12-20 17:47+0100\n"
"PO-Revision-Date: 2007-11-16 20:16+0300\n"
"Last-Translator: Rihards Priedītis <rprieditis at inbox.lv>\n"
"Language-Team: Latvian <rprieditis at inbox.lv>\n"
@@ -15,136 +15,108 @@
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../panel-plugin/clipman-dialogs.c:84
+#: ../panel-plugin/clipman-dialogs.c:66
+#, c-format
+msgid "Unable to open the following url: %s"
+msgstr "Neizdevās atvērt sekojošu url: %s"
+
+#: ../panel-plugin/clipman-dialogs.c:162
+#: ../panel-plugin/clipman.c:981
msgid "Clipboard Manager"
msgstr "Starpliktuves Pārvaldnieks"
-#: ../panel-plugin/clipman-dialogs.c:108 ../panel-plugin/clipman-dialogs.c:112
-#: ../panel-plugin/clipman-dialogs.c:248
-msgid "General"
-msgstr "Vispārēji"
-
-#: ../panel-plugin/clipman-dialogs.c:117
+#: ../panel-plugin/clipman-dialogs.c:194
msgid "Save clipboard contents on _exit"
msgstr "Saglabāt starpliktuves saturu uz aizv_eršanu"
-#: ../panel-plugin/clipman-dialogs.c:124
-msgid "Pre_vent empty clipboard"
-msgstr "Novēr_st tukšu starpliktuvi"
-
-#: ../panel-plugin/clipman-dialogs.c:131
+#: ../panel-plugin/clipman-dialogs.c:201
msgid "_Ignore selections"
msgstr "_Ignorēt atlasi"
-#: ../panel-plugin/clipman-dialogs.c:139
-msgid "Clipboard Behavior"
-msgstr "Starpliktuves Uzvedība"
+#: ../panel-plugin/clipman-dialogs.c:208
+msgid "Pre_vent empty clipboard"
+msgstr "Novēr_st tukšu starpliktuvi"
-#: ../panel-plugin/clipman-dialogs.c:146
+#: ../panel-plugin/clipman-dialogs.c:216
+msgid "<b>General</b>"
+msgstr "<b>Vispārēji</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:234
msgid "Normal clipboard _management"
msgstr "Parastā starpliktuves _pārvaldība"
-#: ../panel-plugin/clipman-dialogs.c:155
+#: ../panel-plugin/clipman-dialogs.c:243
msgid "Strictly separate _both clipboards"
msgstr "Strikti atdalī_t starpliktuves"
-#: ../panel-plugin/clipman-dialogs.c:169
-msgid "Appearance"
-msgstr "Izskats"
+#: ../panel-plugin/clipman-dialogs.c:252
+msgid "<b>Clipboard Behaviour</b>"
+msgstr "<b>Starpliktuves Uzvedība</b>"
-#: ../panel-plugin/clipman-dialogs.c:173
-msgid "Menu Appearance"
-msgstr "Izvēlņu Izskats"
+#. *
+#. * Notebook label
+#. *
+#: ../panel-plugin/clipman-dialogs.c:260
+msgid "General"
+msgstr "Vispārēji"
-#: ../panel-plugin/clipman-dialogs.c:177
+#: ../panel-plugin/clipman-dialogs.c:277
msgid "_Show item numbers"
msgstr "_Rādīt vienumu skaitu"
-#: ../panel-plugin/clipman-dialogs.c:185
-msgid "Numbers"
-msgstr "Skaitļi"
+#: ../panel-plugin/clipman-dialogs.c:284
+msgid "Se_parate clipboards"
+msgstr "At_dalīt starpliktuvi"
-#. History length
-#: ../panel-plugin/clipman-dialogs.c:190
+#: ../panel-plugin/clipman-dialogs.c:291
+msgid "<b>Menu Appearance</b>"
+msgstr "<b>Izvēlņu Izskats</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:313
msgid "Clipboard history items:"
msgstr "Starpliktuves vēstures vienumi:"
-#. Max menu item chars
-#: ../panel-plugin/clipman-dialogs.c:214
+#: ../panel-plugin/clipman-dialogs.c:337
msgid "Menu item characters:"
msgstr "Izvēlnes vienuma rakstzīmes:"
-#: ../panel-plugin/clipman-dialogs.c:244
-msgid "Static Clipboard"
-msgstr ""
+#: ../panel-plugin/clipman-dialogs.c:359
+msgid "<b>Numbers</b>"
+msgstr "<b>Skaitļi</b>"
-#: ../panel-plugin/clipman-dialogs.c:253
-msgid "Ignore _static clipboard"
-msgstr ""
+#: ../panel-plugin/clipman-dialogs.c:364
+msgid "Appearance"
+msgstr "Izskats"
-#: ../panel-plugin/clipman-dialogs.c:261
-msgid "Select to Clipboards"
-msgstr ""
+#: ../panel-plugin/clipman.c:74
+msgid "Are you sure you want to clear the history?"
+msgstr "Esat drošs, ka vēlaties notīrīt vēsturi?"
-#: ../panel-plugin/clipman-dialogs.c:268
-msgid "Default"
-msgstr ""
+#: ../panel-plugin/clipman.c:299
+msgid "Are you sure you want to remove this clip from the history?"
+msgstr "Esat drošs, ka vēlaties dzēst no starpliktuves vēstures?"
-#: ../panel-plugin/clipman-dialogs.c:277
-msgid "Selection"
-msgstr ""
+#: ../panel-plugin/clipman.c:417
+msgid "< Default History Empty >"
+msgstr "< Noklusētā Vēsture ir Tukša >"
-#: ../panel-plugin/clipman-dialogs.c:286
-msgid "Both"
-msgstr ""
+#: ../panel-plugin/clipman.c:468
+msgid "< Selection History Empty >"
+msgstr "< Atlases Vēsture ir Tukša >"
-#: ../panel-plugin/clipman-dialogs.c:314
-#, c-format
-msgid "Unable to open the following url: %s"
-msgstr "Neizdevās atvērt sekojošu url: %s"
+#: ../panel-plugin/clipman.c:477
+#: ../panel-plugin/clipman.c:542
+msgid "Clear History"
+msgstr "Notīrīt Vēsturi"
-#: ../panel-plugin/clipman.c:391
-msgid "< Clipboard Empty >"
-msgstr "< Starpliktuve ir Tukša >"
-
-#: ../panel-plugin/clipman.c:408
-msgid "< Static Clipboard Empty >"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:417 ../panel-plugin/clipman.c:968
-msgid "Add static clipboard"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:436
+#: ../panel-plugin/clipman.c:636
msgid "Clipman History"
msgstr "Starpliktuves Vēsture"
-#. Append clear history
-#: ../panel-plugin/clipman.c:442
-msgid "Clear History"
-msgstr "Notīrīt Vēsturi"
+#: ../panel-plugin/clipman.c:658
+msgid "< Clipboard Empty >"
+msgstr "< Starpliktuve ir Tukša >"
-#: ../panel-plugin/clipman.c:619
-msgid "< Selection History Empty >"
-msgstr "< Atlases Vēsture ir Tukša >"
-
-#: ../panel-plugin/clipman.c:630
-msgid "< Default History Empty >"
-msgstr "< Noklusētā Vēsture ir Tukša >"
-
-#: ../panel-plugin/clipman.c:791
-msgid "Are you sure you want to remove this clip from the history?"
-msgstr "Esat drošs, ka vēlaties dzēst no starpliktuves vēstures?"
-
-#: ../panel-plugin/clipman.c:863
-msgid "Are you sure you want to clear the history?"
-msgstr "Esat drošs, ka vēlaties notīrīt vēsturi?"
-
-#. Label
-#: ../panel-plugin/clipman.c:984
-msgid "Text:"
-msgstr ""
-
#: ../panel-plugin/clipman.desktop.in.in.h:1
msgid "Clipboard manager for the Xfce desktop"
msgstr "Starpliktuves pārvaldnieks Xfce videi"
@@ -153,5 +125,3 @@
msgid "Clipman"
msgstr "Starpliktuve"
-#~ msgid "<b>General</b>"
-#~ msgstr "<b>Vispārēji</b>"
Modified: xfce4-clipman-plugin/trunk/po/nb_NO.po
===================================================================
--- xfce4-clipman-plugin/trunk/po/nb_NO.po 2008-03-04 15:01:43 UTC (rev 4017)
+++ xfce4-clipman-plugin/trunk/po/nb_NO.po 2008-03-04 15:15:08 UTC (rev 4018)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: xfce4-clipman-plugin 0.8.0svn-r2842\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-01-08 06:16+0100\n"
+"POT-Creation-Date: 2006-12-20 17:47+0100\n"
"PO-Revision-Date: 2007-07-01 21:49+0200\n"
"Last-Translator: Terje Uriansrud <ter at operamail.com>\n"
"Language-Team: Norwegian Bokmal\n"
@@ -16,136 +16,106 @@
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: ../panel-plugin/clipman-dialogs.c:84
+#: ../panel-plugin/clipman-dialogs.c:66
+#, c-format
+msgid "Unable to open the following url: %s"
+msgstr "Klarte ikke åpne følgende url: %s"
+
+#: ../panel-plugin/clipman-dialogs.c:162 ../panel-plugin/clipman.c:981
msgid "Clipboard Manager"
msgstr "Utklippstavlebehandler"
-#: ../panel-plugin/clipman-dialogs.c:108 ../panel-plugin/clipman-dialogs.c:112
-#: ../panel-plugin/clipman-dialogs.c:248
-msgid "General"
-msgstr "Generelt"
-
-#: ../panel-plugin/clipman-dialogs.c:117
+#: ../panel-plugin/clipman-dialogs.c:194
msgid "Save clipboard contents on _exit"
msgstr "Lagre utklippstavlens innhold ved _avslutning"
-#: ../panel-plugin/clipman-dialogs.c:124
-msgid "Pre_vent empty clipboard"
-msgstr "_Unngå tom utklippstavle"
-
-#: ../panel-plugin/clipman-dialogs.c:131
+#: ../panel-plugin/clipman-dialogs.c:201
msgid "_Ignore selections"
msgstr "_Ignorer merket område"
-#: ../panel-plugin/clipman-dialogs.c:139
-msgid "Clipboard Behavior"
-msgstr "Utklippstavle oppførsel"
+#: ../panel-plugin/clipman-dialogs.c:208
+msgid "Pre_vent empty clipboard"
+msgstr "_Unngå tom utklippstavle"
-#: ../panel-plugin/clipman-dialogs.c:146
+#: ../panel-plugin/clipman-dialogs.c:216
+msgid "<b>General</b>"
+msgstr "<b>Generelt</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:234
msgid "Normal clipboard _management"
msgstr "_Normal utklippstavlestyring"
-#: ../panel-plugin/clipman-dialogs.c:155
+#: ../panel-plugin/clipman-dialogs.c:243
msgid "Strictly separate _both clipboards"
msgstr "Separer _begge utklippstavlene"
-#: ../panel-plugin/clipman-dialogs.c:169
-msgid "Appearance"
-msgstr "Utseende"
+#: ../panel-plugin/clipman-dialogs.c:252
+msgid "<b>Clipboard Behaviour</b>"
+msgstr "<b>Utklippstavle oppførsel</b>"
-#: ../panel-plugin/clipman-dialogs.c:173
-msgid "Menu Appearance"
-msgstr "Menyutseende"
+#. *
+#. * Notebook label
+#. *
+#: ../panel-plugin/clipman-dialogs.c:260
+msgid "General"
+msgstr "Generelt"
-#: ../panel-plugin/clipman-dialogs.c:177
+#: ../panel-plugin/clipman-dialogs.c:277
msgid "_Show item numbers"
msgstr "_Vis elementnummer"
-#: ../panel-plugin/clipman-dialogs.c:185
-msgid "Numbers"
-msgstr "Antall"
+#: ../panel-plugin/clipman-dialogs.c:284
+msgid "Se_parate clipboards"
+msgstr "Se_parate utklippstavler"
-#. History length
-#: ../panel-plugin/clipman-dialogs.c:190
+#: ../panel-plugin/clipman-dialogs.c:291
+msgid "<b>Menu Appearance</b>"
+msgstr "<b>Menyutseende</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:313
msgid "Clipboard history items:"
msgstr "Utklippstavle historikkelementer"
-#. Max menu item chars
-#: ../panel-plugin/clipman-dialogs.c:214
+#: ../panel-plugin/clipman-dialogs.c:337
msgid "Menu item characters:"
msgstr "Antall tegn i menyen"
-#: ../panel-plugin/clipman-dialogs.c:244
-msgid "Static Clipboard"
-msgstr ""
+#: ../panel-plugin/clipman-dialogs.c:359
+msgid "<b>Numbers</b>"
+msgstr "<b>Antall</b>"
-#: ../panel-plugin/clipman-dialogs.c:253
-msgid "Ignore _static clipboard"
-msgstr ""
+#: ../panel-plugin/clipman-dialogs.c:364
+msgid "Appearance"
+msgstr "Utseende"
-#: ../panel-plugin/clipman-dialogs.c:261
-msgid "Select to Clipboards"
-msgstr ""
+#: ../panel-plugin/clipman.c:74
+msgid "Are you sure you want to clear the history?"
+msgstr "Er du sikker at du vil slette historikken?"
-#: ../panel-plugin/clipman-dialogs.c:268
-msgid "Default"
-msgstr ""
+#: ../panel-plugin/clipman.c:299
+msgid "Are you sure you want to remove this clip from the history?"
+msgstr "Er du sikker du vil slette dette elementet fra historikken?"
-#: ../panel-plugin/clipman-dialogs.c:277
-msgid "Selection"
-msgstr ""
+#: ../panel-plugin/clipman.c:417
+msgid "< Default History Empty >"
+msgstr "< Tom standard historikk >"
-#: ../panel-plugin/clipman-dialogs.c:286
-msgid "Both"
-msgstr ""
+#: ../panel-plugin/clipman.c:468
+msgid "< Selection History Empty >"
+msgstr "< Tom markert historikk >"
-#: ../panel-plugin/clipman-dialogs.c:314
-#, c-format
-msgid "Unable to open the following url: %s"
-msgstr "Klarte ikke åpne følgende url: %s"
+#: ../panel-plugin/clipman.c:477 ../panel-plugin/clipman.c:542
+msgid "Clear History"
+msgstr "Tøm historikk"
-#: ../panel-plugin/clipman.c:391
-msgid "< Clipboard Empty >"
-msgstr "< Tom utklippstavle >"
-
-#: ../panel-plugin/clipman.c:408
-msgid "< Static Clipboard Empty >"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:417 ../panel-plugin/clipman.c:968
-msgid "Add static clipboard"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:436
+#: ../panel-plugin/clipman.c:636
msgid "Clipman History"
msgstr "Utklippstavle historikk"
-#. Append clear history
-#: ../panel-plugin/clipman.c:442
-msgid "Clear History"
-msgstr "Tøm historikk"
+#: ../panel-plugin/clipman.c:658
+msgid "< Clipboard Empty >"
+msgstr "< Tom utklippstavle >"
-#: ../panel-plugin/clipman.c:619
-msgid "< Selection History Empty >"
-msgstr "< Tom markert historikk >"
-
-#: ../panel-plugin/clipman.c:630
-msgid "< Default History Empty >"
-msgstr "< Tom standard historikk >"
-
-#: ../panel-plugin/clipman.c:791
-msgid "Are you sure you want to remove this clip from the history?"
-msgstr "Er du sikker du vil slette dette elementet fra historikken?"
-
-#: ../panel-plugin/clipman.c:863
-msgid "Are you sure you want to clear the history?"
-msgstr "Er du sikker at du vil slette historikken?"
-
-#. Label
-#: ../panel-plugin/clipman.c:984
-msgid "Text:"
-msgstr ""
-
#: ../panel-plugin/clipman.desktop.in.in.h:1
msgid "Clipboard manager for the Xfce desktop"
msgstr "Utklippstavlebehandler for Xfce skrivebordet"
@@ -153,6 +123,3 @@
#: ../panel-plugin/clipman.desktop.in.in.h:2
msgid "Clipman"
msgstr "Clipman"
-
-#~ msgid "<b>General</b>"
-#~ msgstr "<b>Generelt</b>"
Modified: xfce4-clipman-plugin/trunk/po/pl.po
===================================================================
--- xfce4-clipman-plugin/trunk/po/pl.po 2008-03-04 15:01:43 UTC (rev 4017)
+++ xfce4-clipman-plugin/trunk/po/pl.po 2008-03-04 15:15:08 UTC (rev 4018)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: cs\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-01-08 06:16+0100\n"
+"POT-Creation-Date: 2006-12-20 17:47+0100\n"
"PO-Revision-Date: 2006-04-08 12:19+0900\n"
"Last-Translator: Piotr Maliński <admin at rk.edu.pl>\n"
"Language-Team: Polish <xfce-i18n at xfce.org>\n"
@@ -15,136 +15,106 @@
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../panel-plugin/clipman-dialogs.c:84
+#: ../panel-plugin/clipman-dialogs.c:66
+#, c-format
+msgid "Unable to open the following url: %s"
+msgstr "Nie można otworzyć URL: %s"
+
+#: ../panel-plugin/clipman-dialogs.c:162 ../panel-plugin/clipman.c:981
msgid "Clipboard Manager"
msgstr "Menadżer Schowka"
-#: ../panel-plugin/clipman-dialogs.c:108 ../panel-plugin/clipman-dialogs.c:112
-#: ../panel-plugin/clipman-dialogs.c:248
-msgid "General"
-msgstr "Ogólne"
-
-#: ../panel-plugin/clipman-dialogs.c:117
+#: ../panel-plugin/clipman-dialogs.c:194
msgid "Save clipboard contents on _exit"
msgstr "Zapisuj zawartość Schowka przy zamykaniu"
-#: ../panel-plugin/clipman-dialogs.c:124
-msgid "Pre_vent empty clipboard"
-msgstr "Za_pobiegaj pustemu schowkowi"
-
-#: ../panel-plugin/clipman-dialogs.c:131
+#: ../panel-plugin/clipman-dialogs.c:201
msgid "_Ignore selections"
msgstr "_Ignoruj zaznaczenia"
-#: ../panel-plugin/clipman-dialogs.c:139
-msgid "Clipboard Behavior"
-msgstr "Zachowanie Schowka"
+#: ../panel-plugin/clipman-dialogs.c:208
+msgid "Pre_vent empty clipboard"
+msgstr "Za_pobiegaj pustemu schowkowi"
-#: ../panel-plugin/clipman-dialogs.c:146
+#: ../panel-plugin/clipman-dialogs.c:216
+msgid "<b>General</b>"
+msgstr "<b>Ogólne</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:234
msgid "Normal clipboard _management"
msgstr "_Normalne zarządzanie Schowkiem"
-#: ../panel-plugin/clipman-dialogs.c:155
+#: ../panel-plugin/clipman-dialogs.c:243
msgid "Strictly separate _both clipboards"
msgstr "Rozdzielaj oba Schowki"
-#: ../panel-plugin/clipman-dialogs.c:169
-msgid "Appearance"
-msgstr "Wygląd"
+#: ../panel-plugin/clipman-dialogs.c:252
+msgid "<b>Clipboard Behaviour</b>"
+msgstr "<b>Zachowanie Schowka</b>"
-#: ../panel-plugin/clipman-dialogs.c:173
-msgid "Menu Appearance"
-msgstr "Wygląd Menu"
+#. *
+#. * Notebook label
+#. *
+#: ../panel-plugin/clipman-dialogs.c:260
+msgid "General"
+msgstr "Ogólne"
-#: ../panel-plugin/clipman-dialogs.c:177
+#: ../panel-plugin/clipman-dialogs.c:277
msgid "_Show item numbers"
msgstr "_Pokazuj numery obiektów"
-#: ../panel-plugin/clipman-dialogs.c:185
-msgid "Numbers"
-msgstr "Liczba"
+#: ../panel-plugin/clipman-dialogs.c:284
+msgid "Se_parate clipboards"
+msgstr "Rozdziel Schowki"
-#. History length
-#: ../panel-plugin/clipman-dialogs.c:190
+#: ../panel-plugin/clipman-dialogs.c:291
+msgid "<b>Menu Appearance</b>"
+msgstr "<b>Wygląd Menu</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:313
msgid "Clipboard history items:"
msgstr "Historia Schowka:"
-#. Max menu item chars
-#: ../panel-plugin/clipman-dialogs.c:214
+#: ../panel-plugin/clipman-dialogs.c:337
msgid "Menu item characters:"
msgstr "Menu obiektów:"
-#: ../panel-plugin/clipman-dialogs.c:244
-msgid "Static Clipboard"
-msgstr ""
+#: ../panel-plugin/clipman-dialogs.c:359
+msgid "<b>Numbers</b>"
+msgstr "<b>Liczba</b>"
-#: ../panel-plugin/clipman-dialogs.c:253
-msgid "Ignore _static clipboard"
-msgstr ""
+#: ../panel-plugin/clipman-dialogs.c:364
+msgid "Appearance"
+msgstr "Wygląd"
-#: ../panel-plugin/clipman-dialogs.c:261
-msgid "Select to Clipboards"
-msgstr ""
+#: ../panel-plugin/clipman.c:74
+msgid "Are you sure you want to clear the history?"
+msgstr "Wyczyścić historię?"
-#: ../panel-plugin/clipman-dialogs.c:268
-msgid "Default"
-msgstr ""
+#: ../panel-plugin/clipman.c:299
+msgid "Are you sure you want to remove this clip from the history?"
+msgstr "Usunąć ten element ze schowka?"
-#: ../panel-plugin/clipman-dialogs.c:277
-msgid "Selection"
-msgstr ""
+#: ../panel-plugin/clipman.c:417
+msgid "< Default History Empty >"
+msgstr "< Domyślna Historia Pusta >"
-#: ../panel-plugin/clipman-dialogs.c:286
-msgid "Both"
-msgstr ""
+#: ../panel-plugin/clipman.c:468
+msgid "< Selection History Empty >"
+msgstr "< Historia Zaznaczeń Pusta >"
-#: ../panel-plugin/clipman-dialogs.c:314
-#, c-format
-msgid "Unable to open the following url: %s"
-msgstr "Nie można otworzyć URL: %s"
+#: ../panel-plugin/clipman.c:477 ../panel-plugin/clipman.c:542
+msgid "Clear History"
+msgstr "Wyczyść Historię"
-#: ../panel-plugin/clipman.c:391
-msgid "< Clipboard Empty >"
-msgstr "< Schowek Pusty >"
-
-#: ../panel-plugin/clipman.c:408
-msgid "< Static Clipboard Empty >"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:417 ../panel-plugin/clipman.c:968
-msgid "Add static clipboard"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:436
+#: ../panel-plugin/clipman.c:636
msgid "Clipman History"
msgstr "Historia Schowka"
-#. Append clear history
-#: ../panel-plugin/clipman.c:442
-msgid "Clear History"
-msgstr "Wyczyść Historię"
+#: ../panel-plugin/clipman.c:658
+msgid "< Clipboard Empty >"
+msgstr "< Schowek Pusty >"
-#: ../panel-plugin/clipman.c:619
-msgid "< Selection History Empty >"
-msgstr "< Historia Zaznaczeń Pusta >"
-
-#: ../panel-plugin/clipman.c:630
-msgid "< Default History Empty >"
-msgstr "< Domyślna Historia Pusta >"
-
-#: ../panel-plugin/clipman.c:791
-msgid "Are you sure you want to remove this clip from the history?"
-msgstr "Usunąć ten element ze schowka?"
-
-#: ../panel-plugin/clipman.c:863
-msgid "Are you sure you want to clear the history?"
-msgstr "Wyczyścić historię?"
-
-#. Label
-#: ../panel-plugin/clipman.c:984
-msgid "Text:"
-msgstr ""
-
#: ../panel-plugin/clipman.desktop.in.in.h:1
msgid "Clipboard manager for the Xfce desktop"
msgstr "Schowek dla pulpitu Xfce"
@@ -153,9 +123,6 @@
msgid "Clipman"
msgstr "Schowek"
-#~ msgid "<b>General</b>"
-#~ msgstr "<b>Ogólne</b>"
-
#~ msgid "Visit the goodies website for more information about this plugin."
#~ msgstr "Odwiedź stronę Xfce goodies by dowiedzieć się więcej o tej wtyczce."
Modified: xfce4-clipman-plugin/trunk/po/pt_BR.po
===================================================================
--- xfce4-clipman-plugin/trunk/po/pt_BR.po 2008-03-04 15:01:43 UTC (rev 4017)
+++ xfce4-clipman-plugin/trunk/po/pt_BR.po 2008-03-04 15:15:08 UTC (rev 4018)
@@ -2,16 +2,15 @@
# Copyright (C) 2005-2007 The Xfce development team.
# This file is distributed under the same license as the xfce4-clipman-plugin package.
# Gunther Furtado <gunzera0 at yahoo.com.br>
-# Vladimir Melo <vladimirmelo at foresightlinux.org>, 2007.
-# Fábio Nogueira <deb-user-ba at ubuntu.com>, 2008.
+# Vladimir Melo <vladimirmelo at foresightlinux.org>
#
msgid ""
msgstr ""
"Project-Id-Version: xfce4-clipman-plugin 0.8.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-01-08 06:16+0100\n"
-"PO-Revision-Date: 2008-02-11 11:30-0300\n"
-"Last-Translator: Fábio Nogueira <deb-user-ba at ubuntu.com>\n"
+"POT-Creation-Date: 2006-12-20 17:47+0100\n"
+"PO-Revision-Date: 2007-08-26 11:11-0300\n"
+"Last-Translator: Vladimir Melo <vladimirmelo at foresightlinux.org>\n"
"Language-Team: Brazilian Portuguese <ldp-br at bazar2.conectiva.com.br>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
@@ -19,136 +18,108 @@
"X-Poedit-Country: BRAZIL\n"
"X-Poedit-Language: Portuguese\n"
-#: ../panel-plugin/clipman-dialogs.c:84
+#: ../panel-plugin/clipman-dialogs.c:66
+#, c-format
+msgid "Unable to open the following url: %s"
+msgstr "Não foi possível abrir a url: %s"
+
+#: ../panel-plugin/clipman-dialogs.c:162
+#: ../panel-plugin/clipman.c:981
msgid "Clipboard Manager"
msgstr "Gerenciador de área de transferência"
-#: ../panel-plugin/clipman-dialogs.c:108 ../panel-plugin/clipman-dialogs.c:112
-#: ../panel-plugin/clipman-dialogs.c:248
-msgid "General"
-msgstr "Geral"
-
-#: ../panel-plugin/clipman-dialogs.c:117
+#: ../panel-plugin/clipman-dialogs.c:194
msgid "Save clipboard contents on _exit"
msgstr "Salvar o cont_eúdo da área de transferência ao sair"
-#: ../panel-plugin/clipman-dialogs.c:124
-msgid "Pre_vent empty clipboard"
-msgstr "E_vitar área de transferência vazia"
-
-#: ../panel-plugin/clipman-dialogs.c:131
+#: ../panel-plugin/clipman-dialogs.c:201
msgid "_Ignore selections"
msgstr "_Ignorar seleções"
-#: ../panel-plugin/clipman-dialogs.c:139
-msgid "Clipboard Behavior"
-msgstr "Comportamento da área de transferência"
+#: ../panel-plugin/clipman-dialogs.c:208
+msgid "Pre_vent empty clipboard"
+msgstr "E_vitar área de transferência vazia"
-#: ../panel-plugin/clipman-dialogs.c:146
+#: ../panel-plugin/clipman-dialogs.c:216
+msgid "<b>General</b>"
+msgstr "<b>Geral</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:234
msgid "Normal clipboard _management"
msgstr "Gerencia_mento normal de área de transferência"
-#: ../panel-plugin/clipman-dialogs.c:155
+#: ../panel-plugin/clipman-dialogs.c:243
msgid "Strictly separate _both clipboards"
msgstr "Sepa_rar estritamente as áreas de transferência"
-#: ../panel-plugin/clipman-dialogs.c:169
-msgid "Appearance"
-msgstr "Aparência"
+#: ../panel-plugin/clipman-dialogs.c:252
+msgid "<b>Clipboard Behaviour</b>"
+msgstr "<b>Comportamento da área de transferência</b>"
-#: ../panel-plugin/clipman-dialogs.c:173
-msgid "Menu Appearance"
-msgstr "Aparência do Menu"
+#. *
+#. * Notebook label
+#. *
+#: ../panel-plugin/clipman-dialogs.c:260
+msgid "General"
+msgstr "Geral"
-#: ../panel-plugin/clipman-dialogs.c:177
+#: ../panel-plugin/clipman-dialogs.c:277
msgid "_Show item numbers"
msgstr "Apre_sentar números dos itens"
-#: ../panel-plugin/clipman-dialogs.c:185
-msgid "Numbers"
-msgstr "Números"
+#: ../panel-plugin/clipman-dialogs.c:284
+msgid "Se_parate clipboards"
+msgstr "Se_parar áreas de transferência"
-#. History length
-#: ../panel-plugin/clipman-dialogs.c:190
+#: ../panel-plugin/clipman-dialogs.c:291
+msgid "<b>Menu Appearance</b>"
+msgstr "<b>Aparência do Menu</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:313
msgid "Clipboard history items:"
msgstr "Itens do histórico da área de transferência:"
-#. Max menu item chars
-#: ../panel-plugin/clipman-dialogs.c:214
+#: ../panel-plugin/clipman-dialogs.c:337
msgid "Menu item characters:"
msgstr "Caracteres do item de menu:"
-#: ../panel-plugin/clipman-dialogs.c:244
-msgid "Static Clipboard"
-msgstr "Área de Transferência Estática"
+#: ../panel-plugin/clipman-dialogs.c:359
+msgid "<b>Numbers</b>"
+msgstr "<b>Números</b>"
-#: ../panel-plugin/clipman-dialogs.c:253
-msgid "Ignore _static clipboard"
-msgstr "Ignorar área de transferência e_stática"
+#: ../panel-plugin/clipman-dialogs.c:364
+msgid "Appearance"
+msgstr "Aparência"
-#: ../panel-plugin/clipman-dialogs.c:261
-msgid "Select to Clipboards"
-msgstr "Selecionar para Áreas de Transferências"
+#: ../panel-plugin/clipman.c:74
+msgid "Are you sure you want to clear the history?"
+msgstr "Tem certeza que deseja limpar o histórico?"
-#: ../panel-plugin/clipman-dialogs.c:268
-msgid "Default"
-msgstr "Padrão"
+#: ../panel-plugin/clipman.c:299
+msgid "Are you sure you want to remove this clip from the history?"
+msgstr "Tem certeza de que quer remover esta entrada do histórico?"
-#: ../panel-plugin/clipman-dialogs.c:277
-msgid "Selection"
-msgstr "Seleção"
+#: ../panel-plugin/clipman.c:417
+msgid "< Default History Empty >"
+msgstr "< Histórico Padrão Vazio >"
-#: ../panel-plugin/clipman-dialogs.c:286
-msgid "Both"
-msgstr "Ambos"
+#: ../panel-plugin/clipman.c:468
+msgid "< Selection History Empty >"
+msgstr "< Histórico de Seleções Vazio >"
-#: ../panel-plugin/clipman-dialogs.c:314
-#, c-format
-msgid "Unable to open the following url: %s"
-msgstr "Não foi possível abrir a url: %s"
+#: ../panel-plugin/clipman.c:477
+#: ../panel-plugin/clipman.c:542
+msgid "Clear History"
+msgstr "Limpar Histórico"
-#: ../panel-plugin/clipman.c:391
-msgid "< Clipboard Empty >"
-msgstr "< Área de Transferência Vazia >"
-
-#: ../panel-plugin/clipman.c:408
-msgid "< Static Clipboard Empty >"
-msgstr "< Área de Transferência Estática Vazia >"
-
-#: ../panel-plugin/clipman.c:417 ../panel-plugin/clipman.c:968
-msgid "Add static clipboard"
-msgstr "Adicionar área de transferência estática"
-
-#: ../panel-plugin/clipman.c:436
+#: ../panel-plugin/clipman.c:636
msgid "Clipman History"
msgstr "Histórico do Clipman"
-#. Append clear history
-#: ../panel-plugin/clipman.c:442
-msgid "Clear History"
-msgstr "Limpar Histórico"
+#: ../panel-plugin/clipman.c:658
+msgid "< Clipboard Empty >"
+msgstr "< Área de Transferência Vazia >"
-#: ../panel-plugin/clipman.c:619
-msgid "< Selection History Empty >"
-msgstr "< Histórico de Seleções Vazio >"
-
-#: ../panel-plugin/clipman.c:630
-msgid "< Default History Empty >"
-msgstr "< Histórico Padrão Vazio >"
-
-#: ../panel-plugin/clipman.c:791
-msgid "Are you sure you want to remove this clip from the history?"
-msgstr "Tem certeza de que quer remover esta entrada do histórico?"
-
-#: ../panel-plugin/clipman.c:863
-msgid "Are you sure you want to clear the history?"
-msgstr "Tem certeza que deseja limpar o histórico?"
-
-#. Label
-#: ../panel-plugin/clipman.c:984
-msgid "Text:"
-msgstr "Texto:"
-
#: ../panel-plugin/clipman.desktop.in.in.h:1
msgid "Clipboard manager for the Xfce desktop"
msgstr "Gerenciador da área de transferência para a área de trabalho do Xfce"
@@ -157,23 +128,18 @@
msgid "Clipman"
msgstr "Clipman"
-#~ msgid "<b>General</b>"
-#~ msgstr "<b>Geral</b>"
-
#~ msgid ""
#~ "Select this option to save the clipboard history when you exit Xfce and "
#~ "restore it when you login again."
#~ msgstr ""
#~ "Selecione esta opção para salvar o histórico da área de transferência ao "
#~ "sair do Xfce e restaurá-lo ao voltar."
-
#~ msgid ""
#~ "Select this option will prevent Clipman from including the contents of "
#~ "the selection in the history."
#~ msgstr ""
#~ "Selecione esta opção para evitar que o Clipman inclua os conteúdos da "
#~ "seleção no histórico."
-
#~ msgid ""
#~ "Select this option to prevent an empty clipboard. The most recent history "
#~ "item will be added to the clipboard."
@@ -181,7 +147,6 @@
#~ "Selecione esta opção para evitar que a área de transferência fique vazia. "
#~ "A entrada mais recente do histórico será adicionada à área de "
#~ "transferência."
-
#~ msgid ""
#~ "When you've copied or cut some text and it is already in the Clipman "
#~ "history from the selection clipboard, only the content location will be "
@@ -196,7 +161,6 @@
#~ "\n"
#~ "Quando um item do histórico for selecionado, seu conteúdo será copiado "
#~ "para as duas áreas de transferêcia."
-
#~ msgid ""
#~ "When you've copied or cut some text it will be added to the Clipman "
#~ "history, there will also be a duplicate in the history from the "
@@ -216,25 +180,22 @@
#~ "\n"
#~ "Esta opção funcionará melhor quando a opção \"Separar áreas de "
#~ "transferência\" for selecionada a partir da aba Aparência."
-
#~ msgid "Select this option to show item numbers in the history list."
#~ msgstr ""
#~ "Selecionar esta opção para mostrar números para os itens da lista do "
#~ "histórico."
-
#~ msgid ""
#~ "Select this option to order the history list by primairy and selection "
#~ "clipboard."
#~ msgstr ""
#~ "Selecionar esta opção para ordenar a lista do histórico por \n"
#~ "área de transferência principal e de seleções."
-
#~ msgid "The number of items stored in the history list."
#~ msgstr "Número de itens armazenado na lista do histórico."
-
#~ msgid ""
#~ "The number of characters showed in the history list. After this amount of "
#~ "characters, the history label will be ellipsized."
#~ msgstr ""
#~ "Número de caracteres mostrados na lista do histórico, após os quais, "
#~ "serão adicionadas reticências ao item no histórico."
+
Modified: xfce4-clipman-plugin/trunk/po/pt_PT.po
===================================================================
--- xfce4-clipman-plugin/trunk/po/pt_PT.po 2008-03-04 15:01:43 UTC (rev 4017)
+++ xfce4-clipman-plugin/trunk/po/pt_PT.po 2008-03-04 15:15:08 UTC (rev 4018)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: xfce4-clipman-plugin 0.8.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-01-08 06:16+0100\n"
+"POT-Creation-Date: 2006-12-20 17:47+0100\n"
"PO-Revision-Date: 2007-06-15 23:33+0100\n"
"Last-Translator: Nuno Miguel <nunis at netcabo.pt>\n"
"Language-Team: \n"
@@ -15,136 +15,108 @@
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../panel-plugin/clipman-dialogs.c:84
+#: ../panel-plugin/clipman-dialogs.c:66
+#, c-format
+msgid "Unable to open the following url: %s"
+msgstr "Não foi possível abrir o url: %s"
+
+#: ../panel-plugin/clipman-dialogs.c:162
+#: ../panel-plugin/clipman.c:981
msgid "Clipboard Manager"
msgstr "Gestor de área de transferência"
-#: ../panel-plugin/clipman-dialogs.c:108 ../panel-plugin/clipman-dialogs.c:112
-#: ../panel-plugin/clipman-dialogs.c:248
-msgid "General"
-msgstr "Geral"
-
-#: ../panel-plugin/clipman-dialogs.c:117
+#: ../panel-plugin/clipman-dialogs.c:194
msgid "Save clipboard contents on _exit"
msgstr "Gravar o conteúdo da área de _transferência ao sair"
-#: ../panel-plugin/clipman-dialogs.c:124
-msgid "Pre_vent empty clipboard"
-msgstr "E_vitar área de transferência vazia"
-
-#: ../panel-plugin/clipman-dialogs.c:131
+#: ../panel-plugin/clipman-dialogs.c:201
msgid "_Ignore selections"
msgstr "_Ignorar selecções"
-#: ../panel-plugin/clipman-dialogs.c:139
-msgid "Clipboard Behavior"
-msgstr "Comportamento da área de transferência"
+#: ../panel-plugin/clipman-dialogs.c:208
+msgid "Pre_vent empty clipboard"
+msgstr "E_vitar área de transferência vazia"
-#: ../panel-plugin/clipman-dialogs.c:146
+#: ../panel-plugin/clipman-dialogs.c:216
+msgid "<b>General</b>"
+msgstr "<b>Geral</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:234
msgid "Normal clipboard _management"
msgstr "_Gestão normal de área de transferência"
-#: ../panel-plugin/clipman-dialogs.c:155
+#: ../panel-plugin/clipman-dialogs.c:243
msgid "Strictly separate _both clipboards"
msgstr "Separar _completamente as áreas de transferência"
-#: ../panel-plugin/clipman-dialogs.c:169
-msgid "Appearance"
-msgstr "Aparência"
+#: ../panel-plugin/clipman-dialogs.c:252
+msgid "<b>Clipboard Behaviour</b>"
+msgstr "<b>Comportamento da área de transferência</b>"
-#: ../panel-plugin/clipman-dialogs.c:173
-msgid "Menu Appearance"
-msgstr "Aparência do Menu"
+#. *
+#. * Notebook label
+#. *
+#: ../panel-plugin/clipman-dialogs.c:260
+msgid "General"
+msgstr "Geral"
-#: ../panel-plugin/clipman-dialogs.c:177
+#: ../panel-plugin/clipman-dialogs.c:277
msgid "_Show item numbers"
msgstr "_Mostrar números dos itens"
-#: ../panel-plugin/clipman-dialogs.c:185
-msgid "Numbers"
-msgstr "Números"
+#: ../panel-plugin/clipman-dialogs.c:284
+msgid "Se_parate clipboards"
+msgstr "Se_parar áreas de transferência"
-#. History length
-#: ../panel-plugin/clipman-dialogs.c:190
+#: ../panel-plugin/clipman-dialogs.c:291
+msgid "<b>Menu Appearance</b>"
+msgstr "<b>Aparência do Menu</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:313
msgid "Clipboard history items:"
msgstr "Itens do histórico da área de transferência:"
-#. Max menu item chars
-#: ../panel-plugin/clipman-dialogs.c:214
+#: ../panel-plugin/clipman-dialogs.c:337
msgid "Menu item characters:"
msgstr "Caracteres do item de menu:"
-#: ../panel-plugin/clipman-dialogs.c:244
-msgid "Static Clipboard"
-msgstr ""
+#: ../panel-plugin/clipman-dialogs.c:359
+msgid "<b>Numbers</b>"
+msgstr "<b>Números</b>"
-#: ../panel-plugin/clipman-dialogs.c:253
-msgid "Ignore _static clipboard"
-msgstr ""
+#: ../panel-plugin/clipman-dialogs.c:364
+msgid "Appearance"
+msgstr "Aparência"
-#: ../panel-plugin/clipman-dialogs.c:261
-msgid "Select to Clipboards"
-msgstr ""
+#: ../panel-plugin/clipman.c:74
+msgid "Are you sure you want to clear the history?"
+msgstr "Tem certeza que deseja limpar o histórico?"
-#: ../panel-plugin/clipman-dialogs.c:268
-msgid "Default"
-msgstr ""
+#: ../panel-plugin/clipman.c:299
+msgid "Are you sure you want to remove this clip from the history?"
+msgstr "Tem a certeza de que quer remover esta entrada do histórico?"
-#: ../panel-plugin/clipman-dialogs.c:277
-msgid "Selection"
-msgstr ""
+#: ../panel-plugin/clipman.c:417
+msgid "< Default History Empty >"
+msgstr "< Histórico Padrão Vazio >"
-#: ../panel-plugin/clipman-dialogs.c:286
-msgid "Both"
-msgstr ""
+#: ../panel-plugin/clipman.c:468
+msgid "< Selection History Empty >"
+msgstr "< Histórico de seleções vazio >"
-#: ../panel-plugin/clipman-dialogs.c:314
-#, c-format
-msgid "Unable to open the following url: %s"
-msgstr "Não foi possível abrir o url: %s"
+#: ../panel-plugin/clipman.c:477
+#: ../panel-plugin/clipman.c:542
+msgid "Clear History"
+msgstr "Limpar Histórico"
-#: ../panel-plugin/clipman.c:391
-msgid "< Clipboard Empty >"
-msgstr "< Área de transferência vazia >"
-
-#: ../panel-plugin/clipman.c:408
-msgid "< Static Clipboard Empty >"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:417 ../panel-plugin/clipman.c:968
-msgid "Add static clipboard"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:436
+#: ../panel-plugin/clipman.c:636
msgid "Clipman History"
msgstr "Histórico do Clipman"
-#. Append clear history
-#: ../panel-plugin/clipman.c:442
-msgid "Clear History"
-msgstr "Limpar Histórico"
+#: ../panel-plugin/clipman.c:658
+msgid "< Clipboard Empty >"
+msgstr "< Área de transferência vazia >"
-#: ../panel-plugin/clipman.c:619
-msgid "< Selection History Empty >"
-msgstr "< Histórico de seleções vazio >"
-
-#: ../panel-plugin/clipman.c:630
-msgid "< Default History Empty >"
-msgstr "< Histórico Padrão Vazio >"
-
-#: ../panel-plugin/clipman.c:791
-msgid "Are you sure you want to remove this clip from the history?"
-msgstr "Tem a certeza de que quer remover esta entrada do histórico?"
-
-#: ../panel-plugin/clipman.c:863
-msgid "Are you sure you want to clear the history?"
-msgstr "Tem certeza que deseja limpar o histórico?"
-
-#. Label
-#: ../panel-plugin/clipman.c:984
-msgid "Text:"
-msgstr ""
-
#: ../panel-plugin/clipman.desktop.in.in.h:1
msgid "Clipboard manager for the Xfce desktop"
msgstr "Gestor da área de transferência para a área de trabalho do Xfce"
@@ -153,23 +125,18 @@
msgid "Clipman"
msgstr "Clipman"
-#~ msgid "<b>General</b>"
-#~ msgstr "<b>Geral</b>"
-
#~ msgid ""
#~ "Select this option to save the clipboard history when you exit Xfce and "
#~ "restore it when you login again."
#~ msgstr ""
#~ "Selecione esta opção para salvar o histórico da área de transferência ao "
#~ "sair do Xfce e restaurá-lo ao voltar."
-
#~ msgid ""
#~ "Select this option will prevent Clipman from including the contents of "
#~ "the selection in the history."
#~ msgstr ""
#~ "Selecione esta opção para evitar que o Clipman inclua os conteúdos da "
#~ "seleção no histórico."
-
#~ msgid ""
#~ "Select this option to prevent an empty clipboard. The most recent history "
#~ "item will be added to the clipboard."
@@ -177,7 +144,6 @@
#~ "Selecione esta opção para evitar que a área de transferência fique vazia. "
#~ "A entrada mais recente do histórico será adicionada à área de "
#~ "transferência."
-
#~ msgid ""
#~ "When you've copied or cut some text and it is already in the Clipman "
#~ "history from the selection clipboard, only the content location will be "
@@ -192,7 +158,6 @@
#~ "\n"
#~ "Quando um item do histórico for selecionado, seu conteúdo será copiado "
#~ "para as duas áreas de transferêcia."
-
#~ msgid ""
#~ "When you've copied or cut some text it will be added to the Clipman "
#~ "history, there will also be a duplicate in the history from the "
@@ -212,25 +177,22 @@
#~ "\n"
#~ "Esta opção funcionará melhor quando a opção \"Separar áreas de "
#~ "transferência\" for selecionada a partir da aba Aparência."
-
#~ msgid "Select this option to show item numbers in the history list."
#~ msgstr ""
#~ "Selecionar esta opção para mostrar números para os itens da lista do "
#~ "histórico."
-
#~ msgid ""
#~ "Select this option to order the history list by primairy and selection "
#~ "clipboard."
#~ msgstr ""
#~ "Selecionar esta opção para ordenar a lista do histórico por \n"
#~ "área de transferência principal e de seleções."
-
#~ msgid "The number of items stored in the history list."
#~ msgstr "Número de itens armazenado na lista do histórico."
-
#~ msgid ""
#~ "The number of characters showed in the history list. After this amount of "
#~ "characters, the history label will be ellipsized."
#~ msgstr ""
#~ "Número de caracteres mostrados na lista do histórico, após os quais, "
#~ "serão adicionadas reticências ao item no histórico."
+
Modified: xfce4-clipman-plugin/trunk/po/sq.po
===================================================================
--- xfce4-clipman-plugin/trunk/po/sq.po 2008-03-04 15:01:43 UTC (rev 4017)
+++ xfce4-clipman-plugin/trunk/po/sq.po 2008-03-04 15:15:08 UTC (rev 4018)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: xfce4-clipman-plugin 0.8.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-01-08 06:16+0100\n"
+"POT-Creation-Date: 2006-12-20 17:47+0100\n"
"PO-Revision-Date: 2007-01-27 17:55+0200\n"
"Last-Translator: Besnik Bleta <besnik at programeshqip.org>\n"
"Language-Team: Albanian <xfce-i18n at xfce.org>\n"
@@ -15,136 +15,109 @@
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../panel-plugin/clipman-dialogs.c:84
+
+#: ../panel-plugin/clipman-dialogs.c:66
+#, c-format
+msgid "Unable to open the following url: %s"
+msgstr "I pazoti të hap url-në vijuese: %s"
+
+#: ../panel-plugin/clipman-dialogs.c:162
+#: ../panel-plugin/clipman.c:981
msgid "Clipboard Manager"
msgstr "Përgjegjës i Së Papastrës"
-#: ../panel-plugin/clipman-dialogs.c:108 ../panel-plugin/clipman-dialogs.c:112
-#: ../panel-plugin/clipman-dialogs.c:248
-msgid "General"
-msgstr "Të përgjithshme"
-
-#: ../panel-plugin/clipman-dialogs.c:117
+#: ../panel-plugin/clipman-dialogs.c:194
msgid "Save clipboard contents on _exit"
msgstr "Ruaj përmbajtjen e së papastrës gjatë daljes"
-#: ../panel-plugin/clipman-dialogs.c:124
-msgid "Pre_vent empty clipboard"
-msgstr ""
-
-#: ../panel-plugin/clipman-dialogs.c:131
+#: ../panel-plugin/clipman-dialogs.c:201
msgid "_Ignore selections"
msgstr "_Shpërfill përzgjedhje"
-#: ../panel-plugin/clipman-dialogs.c:139
-msgid "Clipboard Behavior"
-msgstr "Sjellje e së Papastrës"
+#: ../panel-plugin/clipman-dialogs.c:208
+msgid "Pre_vent empty clipboard"
+msgstr ""
-#: ../panel-plugin/clipman-dialogs.c:146
+#: ../panel-plugin/clipman-dialogs.c:216
+msgid "<b>General</b>"
+msgstr "<b>Të përgjithshme</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:234
msgid "Normal clipboard _management"
msgstr "A_dministrim të papastre normale"
-#: ../panel-plugin/clipman-dialogs.c:155
+#: ../panel-plugin/clipman-dialogs.c:243
msgid "Strictly separate _both clipboards"
msgstr ""
-#: ../panel-plugin/clipman-dialogs.c:169
-msgid "Appearance"
-msgstr "Dukje"
+#: ../panel-plugin/clipman-dialogs.c:252
+msgid "<b>Clipboard Behaviour</b>"
+msgstr "<b>Sjellje e së Papastrës</b>"
-#: ../panel-plugin/clipman-dialogs.c:173
-msgid "Menu Appearance"
-msgstr "Dukje Menuje"
+#. *
+#. * Notebook label
+#. *
+#: ../panel-plugin/clipman-dialogs.c:260
+msgid "General"
+msgstr "Të përgjithshme"
-#: ../panel-plugin/clipman-dialogs.c:177
+#: ../panel-plugin/clipman-dialogs.c:277
msgid "_Show item numbers"
msgstr "_Shfaq numra objektesh"
-#: ../panel-plugin/clipman-dialogs.c:185
-msgid "Numbers"
-msgstr "Numra"
+#: ../panel-plugin/clipman-dialogs.c:284
+msgid "Se_parate clipboards"
+msgstr "N_daj të papastra"
-#. History length
-#: ../panel-plugin/clipman-dialogs.c:190
+#: ../panel-plugin/clipman-dialogs.c:291
+msgid "<b>Menu Appearance</b>"
+msgstr "<b>Dukje Menuje</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:313
msgid "Clipboard history items:"
msgstr "Objekte historiku të papastre:"
-#. Max menu item chars
-#: ../panel-plugin/clipman-dialogs.c:214
+#: ../panel-plugin/clipman-dialogs.c:337
msgid "Menu item characters:"
msgstr "Gërma objekti menuje:"
-#: ../panel-plugin/clipman-dialogs.c:244
-msgid "Static Clipboard"
-msgstr ""
+#: ../panel-plugin/clipman-dialogs.c:359
+msgid "<b>Numbers</b>"
+msgstr "<b>Numra</b>"
-#: ../panel-plugin/clipman-dialogs.c:253
-msgid "Ignore _static clipboard"
-msgstr ""
+#: ../panel-plugin/clipman-dialogs.c:364
+msgid "Appearance"
+msgstr "Dukje"
-#: ../panel-plugin/clipman-dialogs.c:261
-msgid "Select to Clipboards"
-msgstr ""
+#: ../panel-plugin/clipman.c:74
+msgid "Are you sure you want to clear the history?"
+msgstr "Jeni të sigurtë se doni të fshihet historiku?"
-#: ../panel-plugin/clipman-dialogs.c:268
-msgid "Default"
-msgstr ""
+#: ../panel-plugin/clipman.c:299
+msgid "Are you sure you want to remove this clip from the history?"
+msgstr "Jeni i sigurtë se doni të fshihet ky shënim nga historiku?"
-#: ../panel-plugin/clipman-dialogs.c:277
-msgid "Selection"
-msgstr ""
+#: ../panel-plugin/clipman.c:417
+msgid "< Default History Empty >"
+msgstr "< Historiku Parazgjedhje është Bosh >"
-#: ../panel-plugin/clipman-dialogs.c:286
-msgid "Both"
-msgstr ""
+#: ../panel-plugin/clipman.c:468
+msgid "< Selection History Empty >"
+msgstr "< Historiku i Përzgjedhjes është Bosh >"
-#: ../panel-plugin/clipman-dialogs.c:314
-#, c-format
-msgid "Unable to open the following url: %s"
-msgstr "I pazoti të hap url-në vijuese: %s"
+#: ../panel-plugin/clipman.c:477
+#: ../panel-plugin/clipman.c:542
+msgid "Clear History"
+msgstr "Pastro Historikun"
-#: ../panel-plugin/clipman.c:391
-msgid "< Clipboard Empty >"
-msgstr "< E papastra Bosh >"
-
-#: ../panel-plugin/clipman.c:408
-msgid "< Static Clipboard Empty >"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:417 ../panel-plugin/clipman.c:968
-msgid "Add static clipboard"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:436
+#: ../panel-plugin/clipman.c:636
msgid "Clipman History"
msgstr "Historik"
-#. Append clear history
-#: ../panel-plugin/clipman.c:442
-msgid "Clear History"
-msgstr "Pastro Historikun"
+#: ../panel-plugin/clipman.c:658
+msgid "< Clipboard Empty >"
+msgstr "< E papastra Bosh >"
-#: ../panel-plugin/clipman.c:619
-msgid "< Selection History Empty >"
-msgstr "< Historiku i Përzgjedhjes është Bosh >"
-
-#: ../panel-plugin/clipman.c:630
-msgid "< Default History Empty >"
-msgstr "< Historiku Parazgjedhje është Bosh >"
-
-#: ../panel-plugin/clipman.c:791
-msgid "Are you sure you want to remove this clip from the history?"
-msgstr "Jeni i sigurtë se doni të fshihet ky shënim nga historiku?"
-
-#: ../panel-plugin/clipman.c:863
-msgid "Are you sure you want to clear the history?"
-msgstr "Jeni të sigurtë se doni të fshihet historiku?"
-
-#. Label
-#: ../panel-plugin/clipman.c:984
-msgid "Text:"
-msgstr ""
-
#: ../panel-plugin/clipman.desktop.in.in.h:1
msgid "Clipboard manager for the Xfce desktop"
msgstr "Përgjegjësin i Së Papastrës për Desktopin Xfce 4"
@@ -154,5 +127,3 @@
msgid "Clipman"
msgstr "Clipman"
-#~ msgid "<b>General</b>"
-#~ msgstr "<b>Të përgjithshme</b>"
Modified: xfce4-clipman-plugin/trunk/po/uk.po
===================================================================
--- xfce4-clipman-plugin/trunk/po/uk.po 2008-03-04 15:01:43 UTC (rev 4017)
+++ xfce4-clipman-plugin/trunk/po/uk.po 2008-03-04 15:15:08 UTC (rev 4018)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: xfce4-clipman-plugin 0.8.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-01-08 06:16+0100\n"
+"POT-Creation-Date: 2007-03-13 14:20+0200\n"
"PO-Revision-Date: 2007-03-08 00:51+0200\n"
"Last-Translator: Dmitry Nikitin <luckas_fb at mail.ru>\n"
"Language-Team: Ukrainian <xfce-i18n at xfce.org>\n"
@@ -18,136 +18,106 @@
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%"
"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
-#: ../panel-plugin/clipman-dialogs.c:84
+#: ../panel-plugin/clipman-dialogs.c:66
+#, c-format
+msgid "Unable to open the following url: %s"
+msgstr "Неможливо відкрити наступне посилання: %s"
+
+#: ../panel-plugin/clipman-dialogs.c:162 ../panel-plugin/clipman.c:981
msgid "Clipboard Manager"
msgstr "Керування буфером обміну"
-#: ../panel-plugin/clipman-dialogs.c:108 ../panel-plugin/clipman-dialogs.c:112
-#: ../panel-plugin/clipman-dialogs.c:248
-msgid "General"
-msgstr "Основне"
-
-#: ../panel-plugin/clipman-dialogs.c:117
+#: ../panel-plugin/clipman-dialogs.c:194
msgid "Save clipboard contents on _exit"
msgstr "Зберігати вміст буферу обміну при _виході"
-#: ../panel-plugin/clipman-dialogs.c:124
-msgid "Pre_vent empty clipboard"
-msgstr "_Запобігати порожньому буферу обміну"
-
-#: ../panel-plugin/clipman-dialogs.c:131
+#: ../panel-plugin/clipman-dialogs.c:201
msgid "_Ignore selections"
msgstr "_Ігнорувати виділене"
-#: ../panel-plugin/clipman-dialogs.c:139
-msgid "Clipboard Behavior"
-msgstr "Поведінка буферу обміну"
+#: ../panel-plugin/clipman-dialogs.c:208
+msgid "Pre_vent empty clipboard"
+msgstr "_Запобігати порожньому буферу обміну"
-#: ../panel-plugin/clipman-dialogs.c:146
+#: ../panel-plugin/clipman-dialogs.c:216
+msgid "<b>General</b>"
+msgstr "<b>Основне</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:234
msgid "Normal clipboard _management"
msgstr "Звичайне _керування буфером обміну"
-#: ../panel-plugin/clipman-dialogs.c:155
+#: ../panel-plugin/clipman-dialogs.c:243
msgid "Strictly separate _both clipboards"
msgstr "Жорстко розділити _обидва буфери обміну"
-#: ../panel-plugin/clipman-dialogs.c:169
-msgid "Appearance"
-msgstr "Зовнішній вигляд"
+#: ../panel-plugin/clipman-dialogs.c:252
+msgid "<b>Clipboard Behaviour</b>"
+msgstr "<b>Поведінка буферу обміну</b>"
-#: ../panel-plugin/clipman-dialogs.c:173
-msgid "Menu Appearance"
-msgstr "Меню зовнішнього вигляду"
+#. *
+#. * Notebook label
+#. *
+#: ../panel-plugin/clipman-dialogs.c:260
+msgid "General"
+msgstr "Основне"
-#: ../panel-plugin/clipman-dialogs.c:177
+#: ../panel-plugin/clipman-dialogs.c:277
msgid "_Show item numbers"
msgstr "_Показувати номера пунктів"
-#: ../panel-plugin/clipman-dialogs.c:185
-msgid "Numbers"
-msgstr "Номери"
+#: ../panel-plugin/clipman-dialogs.c:284
+msgid "Se_parate clipboards"
+msgstr "Роз_ділити буфери обміну"
-#. History length
-#: ../panel-plugin/clipman-dialogs.c:190
+#: ../panel-plugin/clipman-dialogs.c:291
+msgid "<b>Menu Appearance</b>"
+msgstr "<b>Меню зовнішнього вигляду</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:313
msgid "Clipboard history items:"
msgstr "Історія входжень до буферу обміну:"
-#. Max menu item chars
-#: ../panel-plugin/clipman-dialogs.c:214
+#: ../panel-plugin/clipman-dialogs.c:337
msgid "Menu item characters:"
msgstr "Меню входжень символів:"
-#: ../panel-plugin/clipman-dialogs.c:244
-msgid "Static Clipboard"
-msgstr ""
+#: ../panel-plugin/clipman-dialogs.c:359
+msgid "<b>Numbers</b>"
+msgstr "<b>Номери</b>"
-#: ../panel-plugin/clipman-dialogs.c:253
-msgid "Ignore _static clipboard"
-msgstr ""
+#: ../panel-plugin/clipman-dialogs.c:364
+msgid "Appearance"
+msgstr "Зовнішній вигляд"
-#: ../panel-plugin/clipman-dialogs.c:261
-msgid "Select to Clipboards"
-msgstr ""
+#: ../panel-plugin/clipman.c:74
+msgid "Are you sure you want to clear the history?"
+msgstr "Ви впевнені, що хочете очистити історію?"
-#: ../panel-plugin/clipman-dialogs.c:268
-msgid "Default"
-msgstr ""
+#: ../panel-plugin/clipman.c:299
+msgid "Are you sure you want to remove this clip from the history?"
+msgstr "Ви впевнені, що хочете видалити цей пункт з історії?"
-#: ../panel-plugin/clipman-dialogs.c:277
-msgid "Selection"
-msgstr ""
+#: ../panel-plugin/clipman.c:417
+msgid "< Default History Empty >"
+msgstr "< Зазвичай історія порожня >"
-#: ../panel-plugin/clipman-dialogs.c:286
-msgid "Both"
-msgstr ""
+#: ../panel-plugin/clipman.c:468
+msgid "< Selection History Empty >"
+msgstr "< Вибрати очистити історію >"
-#: ../panel-plugin/clipman-dialogs.c:314
-#, c-format
-msgid "Unable to open the following url: %s"
-msgstr "Неможливо відкрити наступне посилання: %s"
+#: ../panel-plugin/clipman.c:477 ../panel-plugin/clipman.c:542
+msgid "Clear History"
+msgstr "Очистити історію"
-#: ../panel-plugin/clipman.c:391
-msgid "< Clipboard Empty >"
-msgstr "< Буфер обміну порожній >"
-
-#: ../panel-plugin/clipman.c:408
-msgid "< Static Clipboard Empty >"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:417 ../panel-plugin/clipman.c:968
-msgid "Add static clipboard"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:436
+#: ../panel-plugin/clipman.c:636
msgid "Clipman History"
msgstr "Керування історією буферу обміну"
-#. Append clear history
-#: ../panel-plugin/clipman.c:442
-msgid "Clear History"
-msgstr "Очистити історію"
+#: ../panel-plugin/clipman.c:658
+msgid "< Clipboard Empty >"
+msgstr "< Буфер обміну порожній >"
-#: ../panel-plugin/clipman.c:619
-msgid "< Selection History Empty >"
-msgstr "< Вибрати очистити історію >"
-
-#: ../panel-plugin/clipman.c:630
-msgid "< Default History Empty >"
-msgstr "< Зазвичай історія порожня >"
-
-#: ../panel-plugin/clipman.c:791
-msgid "Are you sure you want to remove this clip from the history?"
-msgstr "Ви впевнені, що хочете видалити цей пункт з історії?"
-
-#: ../panel-plugin/clipman.c:863
-msgid "Are you sure you want to clear the history?"
-msgstr "Ви впевнені, що хочете очистити історію?"
-
-#. Label
-#: ../panel-plugin/clipman.c:984
-msgid "Text:"
-msgstr ""
-
#: ../panel-plugin/clipman.desktop.in.in.h:1
msgid "Clipboard manager for the Xfce desktop"
msgstr "Керування буфером обміну для Xfce"
@@ -155,6 +125,3 @@
#: ../panel-plugin/clipman.desktop.in.in.h:2
msgid "Clipman"
msgstr "Керування буфером обміну"
-
-#~ msgid "<b>General</b>"
-#~ msgstr "<b>Основне</b>"
Modified: xfce4-clipman-plugin/trunk/po/ur.po
===================================================================
--- xfce4-clipman-plugin/trunk/po/ur.po 2008-03-04 15:01:43 UTC (rev 4017)
+++ xfce4-clipman-plugin/trunk/po/ur.po 2008-03-04 15:15:08 UTC (rev 4018)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: xfce4-clipman-plugin\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-01-08 06:16+0100\n"
+"POT-Creation-Date: 2006-12-20 17:47+0100\n"
"PO-Revision-Date: 2007-10-26 20:09+0500\n"
"Last-Translator: Muhammad Ali Makki <makk.ma at gmail.com>\n"
"Language-Team: Urdu <makki.ma at gmail.com>\n"
@@ -18,136 +18,108 @@
"X-Poedit-Country: PAKISTAN\n"
"X-Poedit-SourceCharset: utf-8\n"
-#: ../panel-plugin/clipman-dialogs.c:84
+#: ../panel-plugin/clipman-dialogs.c:66
+#, c-format
+msgid "Unable to open the following url: %s"
+msgstr "یہ url کھولنے میں ناکامی: %s"
+
+#: ../panel-plugin/clipman-dialogs.c:162
+#: ../panel-plugin/clipman.c:981
msgid "Clipboard Manager"
msgstr "کلپ بورڈ منیجر"
-#: ../panel-plugin/clipman-dialogs.c:108 ../panel-plugin/clipman-dialogs.c:112
-#: ../panel-plugin/clipman-dialogs.c:248
-msgid "General"
-msgstr "عام"
-
-#: ../panel-plugin/clipman-dialogs.c:117
+#: ../panel-plugin/clipman-dialogs.c:194
msgid "Save clipboard contents on _exit"
msgstr "_برخاست پر کلپ بورڈ مواد محفوظ کریں"
-#: ../panel-plugin/clipman-dialogs.c:124
-msgid "Pre_vent empty clipboard"
-msgstr "خالی کپ بورڈ _منع کریں"
-
-#: ../panel-plugin/clipman-dialogs.c:131
+#: ../panel-plugin/clipman-dialogs.c:201
msgid "_Ignore selections"
msgstr "ا_نتخاب نظر انداز کریں"
-#: ../panel-plugin/clipman-dialogs.c:139
-msgid "Clipboard Behavior"
-msgstr "کلپ بورڈ سلوک"
+#: ../panel-plugin/clipman-dialogs.c:208
+msgid "Pre_vent empty clipboard"
+msgstr "خالی کپ بورڈ _منع کریں"
-#: ../panel-plugin/clipman-dialogs.c:146
+#: ../panel-plugin/clipman-dialogs.c:216
+msgid "<b>General</b>"
+msgstr "<b>عام</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:234
msgid "Normal clipboard _management"
msgstr "عام کلپ بورڈ ا_دارت"
-#: ../panel-plugin/clipman-dialogs.c:155
+#: ../panel-plugin/clipman-dialogs.c:243
msgid "Strictly separate _both clipboards"
msgstr "سختی سے د_ونوں کلپ بورڈ الگ کریں"
-#: ../panel-plugin/clipman-dialogs.c:169
-msgid "Appearance"
-msgstr "مظہر"
+#: ../panel-plugin/clipman-dialogs.c:252
+msgid "<b>Clipboard Behaviour</b>"
+msgstr "<b>کلپ بورڈ سلوک</b>"
-#: ../panel-plugin/clipman-dialogs.c:173
-msgid "Menu Appearance"
-msgstr "مینیو مظہر"
+#. *
+#. * Notebook label
+#. *
+#: ../panel-plugin/clipman-dialogs.c:260
+msgid "General"
+msgstr "عام"
-#: ../panel-plugin/clipman-dialogs.c:177
+#: ../panel-plugin/clipman-dialogs.c:277
msgid "_Show item numbers"
msgstr "عناصر کے نمبر _ظاہر کریں"
-#: ../panel-plugin/clipman-dialogs.c:185
-msgid "Numbers"
-msgstr "نمبر"
+#: ../panel-plugin/clipman-dialogs.c:284
+msgid "Se_parate clipboards"
+msgstr "کلپ بورڈز ال_گ کریں"
-#. History length
-#: ../panel-plugin/clipman-dialogs.c:190
+#: ../panel-plugin/clipman-dialogs.c:291
+msgid "<b>Menu Appearance</b>"
+msgstr "<b>مینیو مظہر</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:313
msgid "Clipboard history items:"
msgstr "کلپ بورڈ محفوظات عناصر:"
-#. Max menu item chars
-#: ../panel-plugin/clipman-dialogs.c:214
+#: ../panel-plugin/clipman-dialogs.c:337
msgid "Menu item characters:"
msgstr "مینیو عنصر کیریکٹرز:"
-#: ../panel-plugin/clipman-dialogs.c:244
-msgid "Static Clipboard"
-msgstr ""
+#: ../panel-plugin/clipman-dialogs.c:359
+msgid "<b>Numbers</b>"
+msgstr "<b>نمبر</b>"
-#: ../panel-plugin/clipman-dialogs.c:253
-msgid "Ignore _static clipboard"
-msgstr ""
+#: ../panel-plugin/clipman-dialogs.c:364
+msgid "Appearance"
+msgstr "مظہر"
-#: ../panel-plugin/clipman-dialogs.c:261
-msgid "Select to Clipboards"
-msgstr ""
+#: ../panel-plugin/clipman.c:74
+msgid "Are you sure you want to clear the history?"
+msgstr "کیا آپ واقعی محفوظات صاف کرنا چاہتے ہیں؟"
-#: ../panel-plugin/clipman-dialogs.c:268
-msgid "Default"
-msgstr ""
+#: ../panel-plugin/clipman.c:299
+msgid "Are you sure you want to remove this clip from the history?"
+msgstr "کیا آپ واقعی یہ کلپ محفوظات سے ختم کرنا چاہتے ہیں؟"
-#: ../panel-plugin/clipman-dialogs.c:277
-msgid "Selection"
-msgstr ""
+#: ../panel-plugin/clipman.c:417
+msgid "< Default History Empty >"
+msgstr "< طے شدہ محفوظات خالی >"
-#: ../panel-plugin/clipman-dialogs.c:286
-msgid "Both"
-msgstr ""
+#: ../panel-plugin/clipman.c:468
+msgid "< Selection History Empty >"
+msgstr "< انتخاب محفوظات خالی >"
-#: ../panel-plugin/clipman-dialogs.c:314
-#, c-format
-msgid "Unable to open the following url: %s"
-msgstr "یہ url کھولنے میں ناکامی: %s"
+#: ../panel-plugin/clipman.c:477
+#: ../panel-plugin/clipman.c:542
+msgid "Clear History"
+msgstr "محفوظات صاف کریں"
-#: ../panel-plugin/clipman.c:391
-msgid "< Clipboard Empty >"
-msgstr "< کلپ بورڈ خالی >"
-
-#: ../panel-plugin/clipman.c:408
-msgid "< Static Clipboard Empty >"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:417 ../panel-plugin/clipman.c:968
-msgid "Add static clipboard"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:436
+#: ../panel-plugin/clipman.c:636
msgid "Clipman History"
msgstr "Clipman محفوظات"
-#. Append clear history
-#: ../panel-plugin/clipman.c:442
-msgid "Clear History"
-msgstr "محفوظات صاف کریں"
+#: ../panel-plugin/clipman.c:658
+msgid "< Clipboard Empty >"
+msgstr "< کلپ بورڈ خالی >"
-#: ../panel-plugin/clipman.c:619
-msgid "< Selection History Empty >"
-msgstr "< انتخاب محفوظات خالی >"
-
-#: ../panel-plugin/clipman.c:630
-msgid "< Default History Empty >"
-msgstr "< طے شدہ محفوظات خالی >"
-
-#: ../panel-plugin/clipman.c:791
-msgid "Are you sure you want to remove this clip from the history?"
-msgstr "کیا آپ واقعی یہ کلپ محفوظات سے ختم کرنا چاہتے ہیں؟"
-
-#: ../panel-plugin/clipman.c:863
-msgid "Are you sure you want to clear the history?"
-msgstr "کیا آپ واقعی محفوظات صاف کرنا چاہتے ہیں؟"
-
-#. Label
-#: ../panel-plugin/clipman.c:984
-msgid "Text:"
-msgstr ""
-
#: ../panel-plugin/clipman.desktop.in.in.h:1
msgid "Clipboard manager for the Xfce desktop"
msgstr "ایکسفس ڈیسک ٹاپ کا کلپ بورڈ منیجر"
@@ -156,5 +128,3 @@
msgid "Clipman"
msgstr "Clipman"
-#~ msgid "<b>General</b>"
-#~ msgstr "<b>عام</b>"
Modified: xfce4-clipman-plugin/trunk/po/xfce4-clipman-plugin.pot
===================================================================
--- xfce4-clipman-plugin/trunk/po/xfce4-clipman-plugin.pot 2008-03-04 15:01:43 UTC (rev 4017)
+++ xfce4-clipman-plugin/trunk/po/xfce4-clipman-plugin.pot 2008-03-04 15:15:08 UTC (rev 4018)
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-01-08 06:16+0100\n"
+"POT-Creation-Date: 2006-12-20 17:47+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
"Language-Team: LANGUAGE <LL at li.org>\n"
@@ -16,136 +16,106 @@
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../panel-plugin/clipman-dialogs.c:84
-msgid "Clipboard Manager"
+#: ../panel-plugin/clipman-dialogs.c:66
+#, c-format
+msgid "Unable to open the following url: %s"
msgstr ""
-#: ../panel-plugin/clipman-dialogs.c:108 ../panel-plugin/clipman-dialogs.c:112
-#: ../panel-plugin/clipman-dialogs.c:248
-msgid "General"
+#: ../panel-plugin/clipman-dialogs.c:162 ../panel-plugin/clipman.c:981
+msgid "Clipboard Manager"
msgstr ""
-#: ../panel-plugin/clipman-dialogs.c:117
+#: ../panel-plugin/clipman-dialogs.c:194
msgid "Save clipboard contents on _exit"
msgstr ""
-#: ../panel-plugin/clipman-dialogs.c:124
-msgid "Pre_vent empty clipboard"
+#: ../panel-plugin/clipman-dialogs.c:201
+msgid "_Ignore selections"
msgstr ""
-#: ../panel-plugin/clipman-dialogs.c:131
-msgid "_Ignore selections"
+#: ../panel-plugin/clipman-dialogs.c:208
+msgid "Pre_vent empty clipboard"
msgstr ""
-#: ../panel-plugin/clipman-dialogs.c:139
-msgid "Clipboard Behavior"
+#: ../panel-plugin/clipman-dialogs.c:216
+msgid "<b>General</b>"
msgstr ""
-#: ../panel-plugin/clipman-dialogs.c:146
+#: ../panel-plugin/clipman-dialogs.c:234
msgid "Normal clipboard _management"
msgstr ""
-#: ../panel-plugin/clipman-dialogs.c:155
+#: ../panel-plugin/clipman-dialogs.c:243
msgid "Strictly separate _both clipboards"
msgstr ""
-#: ../panel-plugin/clipman-dialogs.c:169
-msgid "Appearance"
+#: ../panel-plugin/clipman-dialogs.c:252
+msgid "<b>Clipboard Behaviour</b>"
msgstr ""
-#: ../panel-plugin/clipman-dialogs.c:173
-msgid "Menu Appearance"
+#. *
+#. * Notebook label
+#. *
+#: ../panel-plugin/clipman-dialogs.c:260
+msgid "General"
msgstr ""
-#: ../panel-plugin/clipman-dialogs.c:177
+#: ../panel-plugin/clipman-dialogs.c:277
msgid "_Show item numbers"
msgstr ""
-#: ../panel-plugin/clipman-dialogs.c:185
-msgid "Numbers"
+#: ../panel-plugin/clipman-dialogs.c:284
+msgid "Se_parate clipboards"
msgstr ""
-#. History length
-#: ../panel-plugin/clipman-dialogs.c:190
+#: ../panel-plugin/clipman-dialogs.c:291
+msgid "<b>Menu Appearance</b>"
+msgstr ""
+
+#: ../panel-plugin/clipman-dialogs.c:313
msgid "Clipboard history items:"
msgstr ""
-#. Max menu item chars
-#: ../panel-plugin/clipman-dialogs.c:214
+#: ../panel-plugin/clipman-dialogs.c:337
msgid "Menu item characters:"
msgstr ""
-#: ../panel-plugin/clipman-dialogs.c:244
-msgid "Static Clipboard"
+#: ../panel-plugin/clipman-dialogs.c:359
+msgid "<b>Numbers</b>"
msgstr ""
-#: ../panel-plugin/clipman-dialogs.c:253
-msgid "Ignore _static clipboard"
+#: ../panel-plugin/clipman-dialogs.c:364
+msgid "Appearance"
msgstr ""
-#: ../panel-plugin/clipman-dialogs.c:261
-msgid "Select to Clipboards"
+#: ../panel-plugin/clipman.c:74
+msgid "Are you sure you want to clear the history?"
msgstr ""
-#: ../panel-plugin/clipman-dialogs.c:268
-msgid "Default"
+#: ../panel-plugin/clipman.c:299
+msgid "Are you sure you want to remove this clip from the history?"
msgstr ""
-#: ../panel-plugin/clipman-dialogs.c:277
-msgid "Selection"
+#: ../panel-plugin/clipman.c:417
+msgid "< Default History Empty >"
msgstr ""
-#: ../panel-plugin/clipman-dialogs.c:286
-msgid "Both"
+#: ../panel-plugin/clipman.c:468
+msgid "< Selection History Empty >"
msgstr ""
-#: ../panel-plugin/clipman-dialogs.c:314
-#, c-format
-msgid "Unable to open the following url: %s"
+#: ../panel-plugin/clipman.c:477 ../panel-plugin/clipman.c:542
+msgid "Clear History"
msgstr ""
-#: ../panel-plugin/clipman.c:391
-msgid "< Clipboard Empty >"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:408
-msgid "< Static Clipboard Empty >"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:417 ../panel-plugin/clipman.c:968
-msgid "Add static clipboard"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:436
+#: ../panel-plugin/clipman.c:636
msgid "Clipman History"
msgstr ""
-#. Append clear history
-#: ../panel-plugin/clipman.c:442
-msgid "Clear History"
+#: ../panel-plugin/clipman.c:658
+msgid "< Clipboard Empty >"
msgstr ""
-#: ../panel-plugin/clipman.c:619
-msgid "< Selection History Empty >"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:630
-msgid "< Default History Empty >"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:791
-msgid "Are you sure you want to remove this clip from the history?"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:863
-msgid "Are you sure you want to clear the history?"
-msgstr ""
-
-#. Label
-#: ../panel-plugin/clipman.c:984
-msgid "Text:"
-msgstr ""
-
#: ../panel-plugin/clipman.desktop.in.in.h:1
msgid "Clipboard manager for the Xfce desktop"
msgstr ""
Modified: xfce4-clipman-plugin/trunk/po/zh_TW.po
===================================================================
--- xfce4-clipman-plugin/trunk/po/zh_TW.po 2008-03-04 15:01:43 UTC (rev 4017)
+++ xfce4-clipman-plugin/trunk/po/zh_TW.po 2008-03-04 15:15:08 UTC (rev 4018)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: xfce4-clipman-plugin 0.8.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-01-08 06:16+0100\n"
+"POT-Creation-Date: 2006-12-20 17:47+0100\n"
"PO-Revision-Date: 2006-09-06 21:25+0800\n"
"Last-Translator: Hydonsingore Cia <hydonsingore at educities.edu.tw>\n"
"Language-Team: Chinese (traditional) <xfce-i18n at xfce.org>\n"
@@ -16,136 +16,106 @@
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
-#: ../panel-plugin/clipman-dialogs.c:84
+#: ../panel-plugin/clipman-dialogs.c:66
+#, c-format
+msgid "Unable to open the following url: %s"
+msgstr ""
+
+#: ../panel-plugin/clipman-dialogs.c:162 ../panel-plugin/clipman.c:981
msgid "Clipboard Manager"
msgstr "剪貼簿管理程式"
-#: ../panel-plugin/clipman-dialogs.c:108 ../panel-plugin/clipman-dialogs.c:112
-#: ../panel-plugin/clipman-dialogs.c:248
-msgid "General"
-msgstr "一般"
-
-#: ../panel-plugin/clipman-dialogs.c:117
+#: ../panel-plugin/clipman-dialogs.c:194
msgid "Save clipboard contents on _exit"
msgstr "離開時儲存剪貼簿內容(_E)"
-#: ../panel-plugin/clipman-dialogs.c:124
-msgid "Pre_vent empty clipboard"
-msgstr "防止剪貼簿空白(_V)"
-
-#: ../panel-plugin/clipman-dialogs.c:131
+#: ../panel-plugin/clipman-dialogs.c:201
msgid "_Ignore selections"
msgstr "忽視選取的區域(_I)"
-#: ../panel-plugin/clipman-dialogs.c:139
-msgid "Clipboard Behavior"
-msgstr "剪貼簿行為"
+#: ../panel-plugin/clipman-dialogs.c:208
+msgid "Pre_vent empty clipboard"
+msgstr "防止剪貼簿空白(_V)"
-#: ../panel-plugin/clipman-dialogs.c:146
+#: ../panel-plugin/clipman-dialogs.c:216
+msgid "<b>General</b>"
+msgstr "<b>一般</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:234
msgid "Normal clipboard _management"
msgstr "正常的剪貼簿管理(_M)"
-#: ../panel-plugin/clipman-dialogs.c:155
+#: ../panel-plugin/clipman-dialogs.c:243
msgid "Strictly separate _both clipboards"
msgstr "嚴格區分兩份剪貼簿(_B)"
-#: ../panel-plugin/clipman-dialogs.c:169
-msgid "Appearance"
-msgstr "外觀"
+#: ../panel-plugin/clipman-dialogs.c:252
+msgid "<b>Clipboard Behaviour</b>"
+msgstr "<b>剪貼簿行為</b>"
-#: ../panel-plugin/clipman-dialogs.c:173
-msgid "Menu Appearance"
-msgstr "選單外觀"
+#. *
+#. * Notebook label
+#. *
+#: ../panel-plugin/clipman-dialogs.c:260
+msgid "General"
+msgstr "一般"
-#: ../panel-plugin/clipman-dialogs.c:177
+#: ../panel-plugin/clipman-dialogs.c:277
msgid "_Show item numbers"
msgstr "顯示項目編號(_S)"
-#: ../panel-plugin/clipman-dialogs.c:185
-msgid "Numbers"
-msgstr ""
+#: ../panel-plugin/clipman-dialogs.c:284
+msgid "Se_parate clipboards"
+msgstr "分離剪貼簿(_P)"
-#. History length
-#: ../panel-plugin/clipman-dialogs.c:190
+#: ../panel-plugin/clipman-dialogs.c:291
+msgid "<b>Menu Appearance</b>"
+msgstr "<b>選單外觀</b>"
+
+#: ../panel-plugin/clipman-dialogs.c:313
msgid "Clipboard history items:"
msgstr "剪貼簿歷史字句項目:"
-#. Max menu item chars
-#: ../panel-plugin/clipman-dialogs.c:214
+#: ../panel-plugin/clipman-dialogs.c:337
msgid "Menu item characters:"
msgstr "選單項目字數:"
-#: ../panel-plugin/clipman-dialogs.c:244
-msgid "Static Clipboard"
+#: ../panel-plugin/clipman-dialogs.c:359
+msgid "<b>Numbers</b>"
msgstr ""
-#: ../panel-plugin/clipman-dialogs.c:253
-msgid "Ignore _static clipboard"
-msgstr ""
+#: ../panel-plugin/clipman-dialogs.c:364
+msgid "Appearance"
+msgstr "外觀"
-#: ../panel-plugin/clipman-dialogs.c:261
-msgid "Select to Clipboards"
-msgstr ""
+#: ../panel-plugin/clipman.c:74
+msgid "Are you sure you want to clear the history?"
+msgstr "您確定您想要清除歷史字句嗎?"
-#: ../panel-plugin/clipman-dialogs.c:268
-msgid "Default"
+#: ../panel-plugin/clipman.c:299
+msgid "Are you sure you want to remove this clip from the history?"
msgstr ""
-#: ../panel-plugin/clipman-dialogs.c:277
-msgid "Selection"
-msgstr ""
+#: ../panel-plugin/clipman.c:417
+msgid "< Default History Empty >"
+msgstr "< 預設歷史字句空白 >"
-#: ../panel-plugin/clipman-dialogs.c:286
-msgid "Both"
-msgstr ""
+#: ../panel-plugin/clipman.c:468
+msgid "< Selection History Empty >"
+msgstr "< 選取歷史字句空白 >"
-#: ../panel-plugin/clipman-dialogs.c:314
-#, c-format
-msgid "Unable to open the following url: %s"
-msgstr ""
+#: ../panel-plugin/clipman.c:477 ../panel-plugin/clipman.c:542
+msgid "Clear History"
+msgstr "清除歷史字句"
-#: ../panel-plugin/clipman.c:391
-msgid "< Clipboard Empty >"
-msgstr "< 歷史字句空白 >"
-
-#: ../panel-plugin/clipman.c:408
-msgid "< Static Clipboard Empty >"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:417 ../panel-plugin/clipman.c:968
-msgid "Add static clipboard"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:436
+#: ../panel-plugin/clipman.c:636
msgid "Clipman History"
msgstr "Clipman 歷史字句"
-#. Append clear history
-#: ../panel-plugin/clipman.c:442
-msgid "Clear History"
-msgstr "清除歷史字句"
+#: ../panel-plugin/clipman.c:658
+msgid "< Clipboard Empty >"
+msgstr "< 歷史字句空白 >"
-#: ../panel-plugin/clipman.c:619
-msgid "< Selection History Empty >"
-msgstr "< 選取歷史字句空白 >"
-
-#: ../panel-plugin/clipman.c:630
-msgid "< Default History Empty >"
-msgstr "< 預設歷史字句空白 >"
-
-#: ../panel-plugin/clipman.c:791
-msgid "Are you sure you want to remove this clip from the history?"
-msgstr ""
-
-#: ../panel-plugin/clipman.c:863
-msgid "Are you sure you want to clear the history?"
-msgstr "您確定您想要清除歷史字句嗎?"
-
-#. Label
-#: ../panel-plugin/clipman.c:984
-msgid "Text:"
-msgstr ""
-
#: ../panel-plugin/clipman.desktop.in.in.h:1
msgid "Clipboard manager for the Xfce desktop"
msgstr "Xfce 桌面環境的剪貼簿管理程式"
@@ -154,9 +124,6 @@
msgid "Clipman"
msgstr "Clipman"
-#~ msgid "<b>General</b>"
-#~ msgstr "<b>一般</b>"
-
#~ msgid ""
#~ "Select this option to save the clipboard history when you exit Xfce and "
#~ "restore it when you login again."
More information about the Goodies-commits
mailing list