Hello community,
here is the log from the commit of package xfce4-panel-plugins for openSUSE:11.4
checked in at Fri Feb 10 00:28:37 CET 2012.
--------
---
old-versions/11.4/UPDATES/all/xfce4-panel-plugins/xfce4-panel-plugins.changes
2011-12-13 01:33:45.000000000 +0100
+++ /mounts/work_src_done/11.4/xfce4-panel-plugins/xfce4-panel-plugins.changes
2012-02-09 14:04:59.000000000 +0100
@@ -1,0 +2,10 @@
+Thu Feb 9 13:00:44 UTC 2012 - [email protected]
+
+- added xfce4-timer-plugin-0.6.1-fix-windows.patch
+ the add/edit dialog transient for the main configuration window
+ and to make the notification dialog modal
+- added xfce4-timer-plugin-0.6.1-fix-timerinfo-truncation.patch
+ which uses a dynamically allocated string to hold timer data in
+ order to prevent truncation in some locales (bnc#742788)
+
+-------------------------------------------------------------------
calling whatdependson for 11.4-i586
New:
----
xfce4-timer-plugin-0.6.1-fix-timerinfo-truncation.patch
xfce4-timer-plugin-0.6.1-fix-windows.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ xfce4-panel-plugins.spec ++++++
--- /var/tmp/diff_new_pack.0VGFRK/_old 2012-02-10 00:27:54.000000000 +0100
+++ /var/tmp/diff_new_pack.0VGFRK/_new 2012-02-10 00:27:54.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package xfce4-panel-plugins
#
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -21,21 +21,21 @@
Name: xfce4-panel-plugins
Url: http://goodies.xfce.org/projects/panel-plugins/start
Version: %{panel_version}
-Release: 3.<RELEASE3>
-License: GPLv2+
+Release: 3.<RELEASE4>
Summary: Plugins for the Xfce panel
+License: GPL-2.0+
Group: System/GUI/XFCE
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# base dependencies
+BuildRequires: fdupes
BuildRequires: intltool
BuildRequires: update-desktop-files
-BuildRequires: fdupes
BuildRequires: xfce4-dev-tools
+BuildRequires: perl(XML::Parser)
BuildRequires: pkgconfig(gtk+-2.0)
-BuildRequires: pkgconfig(libxfcegui4-1.0)
-BuildRequires: pkgconfig(libxfce4ui-1)
BuildRequires: pkgconfig(libxfce4panel-1.0)
-BuildRequires: perl(XML::Parser)
+BuildRequires: pkgconfig(libxfce4ui-1)
+BuildRequires: pkgconfig(libxfcegui4-1.0)
# sensors
BuildRequires: pkgconfig(libnotify)
# cddrive
@@ -225,6 +225,10 @@
Patch53:
xfce4-cpugraph-plugin-%{cpugraph_version}-fix-buffer-overflow.patch
# PATCH-FIX-UPSTREAM
xfce4-mount-plugin-0.5.5-hide-gvfs-fuse-daemon-mount.patch bxo#7275
[email protected] -- Hides gvfs-fuse-daemon-mounts
Patch54:
xfce4-mount-plugin-%{mount_version}-hide-gvfs-fuse-daemon-mount.patch
+# xfce4-timer-plugin-0.6.1-fix-timerinfo-truncation.patch bnc#742788
[email protected] -- Use a dynamically allocated string to hold timer data in
order to prevent truncation in some locales
+Patch55: xfce4-timer-plugin-0.6.1-fix-timerinfo-truncation.patch
+# xfce4-timer-plugin-0.6.1-fix-windows.patch [email protected] -- Set the
add/edit dialog transient for the main configuration window and make the
notification dialog modal
+Patch56: xfce4-timer-plugin-0.6.1-fix-windows.patch
%description
This is a collection of panel plugins for the Xfce desktop environment.
@@ -261,6 +265,8 @@
%patch52
%patch53
%patch54
+%patch55
+%patch56
# force autotools reconfiguration
for name in cddrive clipman genmon cellmodem sensors places smartbookmark; do
rm -f xfce4-${name}-plugin-*/configure
@@ -328,12 +334,12 @@
rm -rf %{buildroot}
%package -n xfce4-panel-plugin-battery
-License: GPLv2+
+
Version: %{battery_version}
-Release: 2.<RELEASE3>
+Release: 2.<RELEASE5>
Summary: Battery monitoring plugin for the Xfce panel
-Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-battery-plugin
Group: System/GUI/XFCE
+Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-battery-plugin
Requires: xfce4-panel >= %{panel_version}
%description -n xfce4-panel-plugin-battery
@@ -341,12 +347,12 @@
low and critcal levels.
%package -n xfce4-panel-plugin-cddrive
-License: GPLv2+
+
Version: %{cddrive_version}
-Release: 19.<RELEASE3>
+Release: 19.<RELEASE5>
Summary: CD-ROM drive management plugin for the Xfce panel
-Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-cddrive-plugin
Group: System/GUI/XFCE
+Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-cddrive-plugin
Requires: xfce4-panel >= %{panel_version}
Requires: hal
@@ -356,12 +362,12 @@
various information about the disc's contents.
%package -n xfce4-panel-plugin-cellmodem
-License: GPLv2+
+
Version: %{cellmodem_version}
-Release: 24.<RELEASE3>
+Release: 24.<RELEASE5>
Summary: Cellphone modem monitor plugin for the Xfce panel
-Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-cellmodem-plugin
Group: System/GUI/XFCE
+Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-cellmodem-plugin
Requires: xfce4-panel >= %{panel_version}
%description -n xfce4-panel-plugin-cellmodem
@@ -373,12 +379,12 @@
purposes.
%package -n xfce4-panel-plugin-clipman
-License: GPLv2+
+
Version: %{clipman_version}
-Release: 18.<RELEASE3>
+Release: 18.<RELEASE5>
Summary: Clipboard manager plugin for the Xfce panel
-Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-clipman-plugin
Group: System/GUI/XFCE
+Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-clipman-plugin
Requires: xfce4-panel >= %{panel_version}
%description -n xfce4-panel-plugin-clipman
@@ -389,12 +395,12 @@
matches specific regular expressions.
%package -n xfce4-panel-plugin-clipman-doc
-License: GPLv2+
+
Version: %{clipman_version}
-Release: 4.<RELEASE3>
+Release: 4.<RELEASE5>
Summary: Documentation for xfce4-panel-plugin-clipman
-Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-clipman-plugin
Group: Documentation/HTML
+Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-clipman-plugin
Requires: xfce4-panel-plugin-clipman = %{clipman_version}
%description -n xfce4-panel-plugin-clipman-doc
@@ -407,12 +413,12 @@
This package contains the user documentation for xfce4-panel-plugin-clipman.
%package -n xfce4-panel-plugin-cpufreq
-License: GPLv2+
+
Version: %{cpufreq_version}
-Release: 3.<RELEASE3>
+Release: 3.<RELEASE5>
Summary: CPU frequency scaling monitor plugin for the Xfce panel
-Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin
Group: System/GUI/XFCE
+Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin
Requires: xfce4-panel >= %{panel_version}
%description -n xfce4-panel-plugin-cpufreq
@@ -420,12 +426,12 @@
frequency and currently active governor.
%package -n xfce4-panel-plugin-cpugraph
-License: GPLv2+
+
Version: %{cpugraph_version}
-Release: 6.<RELEASE3>
+Release: 6.<RELEASE5>
Summary: CPU graph plugin for the Xfce panel
-Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-cpugraph-plugin
Group: System/GUI/XFCE
+Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-cpugraph-plugin
Requires: xfce4-panel >= %{panel_version}
%description -n xfce4-panel-plugin-cpugraph
@@ -433,12 +439,12 @@
a specific CPU or all CPUs combined.
%package -n xfce4-panel-plugin-datetime
-License: GPLv2+
+
Version: %{datetime_version}
-Release: 18.<RELEASE3>
+Release: 18.<RELEASE5>
Summary: Date and time plugin for the Xfce panel
-Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-datetime-plugin
Group: System/GUI/XFCE
+Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-datetime-plugin
Requires: xfce4-panel >= %{panel_version}
%description -n xfce4-panel-plugin-datetime
@@ -446,12 +452,12 @@
can open a calendar when clicked.
%package -n xfce4-panel-plugin-diskperf
-License: GPLv2+
+
Version: %{diskperf_version}
-Release: 3.<RELEASE3>
+Release: 3.<RELEASE5>
Summary: Disk performance plugin for the Xfce panel
-Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-diskperf-plugin
Group: System/GUI/XFCE
+Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-diskperf-plugin
Requires: xfce4-panel >= %{panel_version}
%description -n xfce4-panel-plugin-diskperf
@@ -459,24 +465,24 @@
per second.
%package -n xfce4-panel-plugin-eyes
-License: GPLv2+
+
Version: %{eyes_version}
-Release: 2.<RELEASE3>
+Release: 2.<RELEASE5>
Summary: Eyes plugin for the Xfce panel
-Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-eyes-plugin
Group: System/GUI/XFCE
+Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-eyes-plugin
Requires: xfce4-panel >= %{panel_version}
%description -n xfce4-panel-plugin-eyes
The Eyes plugin adds moving eyes to the panel which watch your activities.
%package -n xfce4-panel-plugin-fsguard
-License: GPLv2+
+
Version: %{fsguard_version}
-Release: 4.<RELEASE3>
+Release: 4.<RELEASE5>
Summary: Filesystem space monitoring plugin for the Xfce panel
-Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-fsguard-plugin
Group: System/GUI/XFCE
+Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-fsguard-plugin
Requires: xfce4-panel >= %{panel_version}
%description -n xfce4-panel-plugin-fsguard
@@ -484,12 +490,12 @@
displays it as an icon in the panel.
%package -n xfce4-panel-plugin-genmon
-License: GPLv2+
+
Version: %{genmon_version}
-Release: 24.<RELEASE3>
+Release: 24.<RELEASE5>
Summary: Generic monitoring plugin for the Xfce panel
-Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-genmon-plugin
Group: System/GUI/XFCE
+Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-genmon-plugin
Requires: xfce4-panel >= %{panel_version}
%description -n xfce4-panel-plugin-genmon
@@ -499,12 +505,12 @@
panel.
%package -n xfce4-panel-plugin-mailwatch
-License: GPLv2+
+
Version: %{mailwatch_version}
-Release: 6.<RELEASE3>
+Release: 6.<RELEASE5>
Summary: Versatile mail checking plugin for the Xfce panel
-Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-mailwatch-plugin
Group: System/GUI/XFCE
+Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-mailwatch-plugin
Requires: xfce4-panel >= %{panel_version}
%description -n xfce4-panel-plugin-mailwatch
@@ -513,24 +519,24 @@
multiple locations and execute cutoms actions when it find new mail.
%package -n xfce4-panel-plugin-mount
-License: GPLv2+
+
Version: %{mount_version}
-Release: 18.<RELEASE3>
+Release: 18.<RELEASE5>
Summary: Filesystem mounting plugin for the Xfce panel
-Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-mount-plugin
Group: System/GUI/XFCE
+Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-mount-plugin
Requires: xfce4-panel >= %{panel_version}
%description -n xfce4-panel-plugin-mount
The Mount plugin allows to mount and unmount filesystems from the panel.
%package -n xfce4-panel-plugin-mpc
-License: GPLv2+
+
Version: %{mpc_version}
-Release: 3.<RELEASE3>
+Release: 3.<RELEASE5>
Summary: MPD client plugin for the Xfce panel
-Url: http://goodies.xfce.org/projects/panel-plugins/xfce4-mpc-plugin
Group: System/GUI/XFCE
+Url: http://goodies.xfce.org/projects/panel-plugins/xfce4-mpc-plugin
Requires: xfce4-panel >= %{panel_version}
%description -n xfce4-panel-plugin-mpc
@@ -538,12 +544,12 @@
playback and show the currently playing song.
%package -n xfce4-panel-plugin-netload
-License: GPLv2+
+
Version: %{netload_version}
-Release: 4.<RELEASE3>
+Release: 4.<RELEASE5>
Summary: Network load monitoring plugin for the Xfce panel
-Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-netload-plugin
Group: System/GUI/XFCE
+Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-netload-plugin
Requires: xfce4-panel >= %{panel_version}
%description -n xfce4-panel-plugin-netload
@@ -553,12 +559,12 @@
%if 0%{?suse_version} >= 1140
%package -n xfce4-panel-plugin-notes
-License: GPLv2+
+
Version: %{notes_version}
-Release: 6.<RELEASE3>
+Release: 6.<RELEASE5>
Summary: Note-taking plugin for the Xfce panel
-Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-notes-plugin
Group: System/GUI/XFCE
+Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-notes-plugin
Requires: xfce4-panel >= %{panel_version}
%description -n xfce4-panel-plugin-notes
@@ -568,12 +574,12 @@
%endif
%package -n xfce4-panel-plugin-places
-License: GPLv2+
+
Version: %{places_version}
-Release: 17.<RELEASE3>
+Release: 17.<RELEASE5>
Summary: Places menu plugin for the Xfce panel
-Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-places-plugin
Group: System/GUI/XFCE
+Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-places-plugin
Requires: xfce4-panel >= %{panel_version}
Requires: thunar-vfs
@@ -582,12 +588,12 @@
documents, and removable media.
%package -n xfce4-panel-plugin-quicklauncher
-License: GPLv2+
+
Version: %{quicklauncher_version}
-Release: 24.<RELEASE3>
+Release: 24.<RELEASE5>
Summary: Application launcher plugin for the Xfce panel
-Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-quicklauncher-plugin
Group: System/GUI/XFCE
+Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-quicklauncher-plugin
Requires: xfce4-panel >= %{panel_version}
%description -n xfce4-panel-plugin-quicklauncher
@@ -595,12 +601,12 @@
be displayed on multiple lines.
%package -n xfce4-panel-plugin-radio
-License: GPLv2+
+
Version: %{radio_version}
-Release: 6.<RELEASE3>
+Release: 6.<RELEASE5>
Summary: Radio plugin for the Xfce panel
-Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-radio-plugin
Group: System/GUI/XFCE
+Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-radio-plugin
Requires: xfce4-panel >= %{panel_version}
%description -n xfce4-panel-plugin-radio
@@ -611,12 +617,12 @@
%ifnarch s390 s390x
%package -n xfce4-panel-plugin-sensors
-License: GPLv2+
+
Version: %{sensors_version}
-Release: 4.<RELEASE3>
+Release: 4.<RELEASE5>
Summary: Hardware sensor plugin for the Xfce panel
-Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin
Group: System/GUI/XFCE
+Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin
Requires: xfce4-panel >= %{panel_version}
%description -n xfce4-panel-plugin-sensors
@@ -624,12 +630,12 @@
sensors suported by libsensors.
%package -n xfce4-panel-plugin-sensors-devel
-License: GPLv2+
+
Version: %{sensors_version}
-Release: 4.<RELEASE3>
+Release: 4.<RELEASE5>
Summary: Hardware sensor plugin for the Xfce panel
-Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin
Group: Development/Libraries/C and C++
+Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin
Requires: xfce4-panel-plugin-sensors = %{sensors_version}
%description -n xfce4-panel-plugin-sensors-devel
@@ -642,12 +648,12 @@
%endif
%package -n xfce4-panel-plugin-smartbookmark
-License: GPLv2+
+
Version: %{smartbookmark_version}
-Release: 24.<RELEASE3>
+Release: 24.<RELEASE5>
Summary: Smart bookmark plugin for the Xfce panel
-Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-smartbookmark-plugin
Group: System/GUI/XFCE
+Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-smartbookmark-plugin
Requires: xfce4-panel >= %{panel_version}
%description -n xfce4-panel-plugin-smartbookmark
@@ -655,12 +661,12 @@
send requests to websites through default browser.
%package -n xfce4-panel-plugin-systemload
-License: GPLv2+
+
Version: %{systemload_version}
-Release: 4.<RELEASE3>
+Release: 4.<RELEASE5>
Summary: System load monitoring plugin for the Xfce panel
-Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-systemload-plugin
Group: System/GUI/XFCE
+Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-systemload-plugin
Requires: xfce4-panel >= %{panel_version}
%description -n xfce4-panel-plugin-systemload
@@ -668,12 +674,12 @@
space as well as the system uptime in the panel.
%package -n xfce4-panel-plugin-timeout
-License: GPLv2+
+
Version: %{timeout_version}
-Release: 4.<RELEASE3>
+Release: 4.<RELEASE5>
Summary: Periodical break plugin for the Xfce panel
-Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-time-out-plugin
Group: System/GUI/XFCE
+Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-time-out-plugin
Requires: xfce4-panel >= %{panel_version}
%description -n xfce4-panel-plugin-timeout
@@ -682,12 +688,12 @@
the break time has been reached.
%package -n xfce4-panel-plugin-timer
-License: GPLv2+
+
Version: %{timer_version}
-Release: 18.<RELEASE3>
+Release: 18.<RELEASE5>
Summary: Alarm clock plugin for the Xfce panel
-Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-timer-plugin
Group: System/GUI/XFCE
+Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-timer-plugin
Requires: xfce4-panel >= %{panel_version}
%description -n xfce4-panel-plugin-timer
@@ -695,12 +701,12 @@
alarm at a specified time or at the end of a specified countdown period.
%package -n xfce4-panel-plugin-verve
-License: GPLv2+
+
Version: %{verve_version}
-Release: 4.<RELEASE3>
+Release: 4.<RELEASE5>
Summary: Command line plugin for the Xfce panel
-Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-verve-plugin
Group: System/GUI/XFCE
+Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-verve-plugin
Requires: xfce4-panel >= %{panel_version}
%description -n xfce4-panel-plugin-verve
@@ -709,12 +715,12 @@
opening URLs.
%package -n xfce4-panel-plugin-wavelan
-License: GPLv2+
+
Version: %{wavelan_version}
-Release: 6.<RELEASE3>
+Release: 6.<RELEASE5>
Summary: WLAN monitoring plugin for the Xfce panel
-Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-wavelan-plugin
Group: System/GUI/XFCE
+Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-wavelan-plugin
Requires: xfce4-panel >= %{panel_version}
%description -n xfce4-panel-plugin-wavelan
@@ -722,12 +728,12 @@
state, quality and the network name (SSID).
%package -n xfce4-panel-plugin-weather
-License: GPLv2+
+
Version: %{weather_version}
-Release: 3.<RELEASE3>
+Release: 3.<RELEASE5>
Summary: Weather condition monitoring plugin for the Xfce panel
-Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin
Group: System/GUI/XFCE
+Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin
Requires: xfce4-panel >= %{panel_version}
%description -n xfce4-panel-plugin-weather
@@ -735,12 +741,12 @@
using weather data provided by xoap.weather.com.
%package -n xfce4-panel-plugin-xfapplet
-License: GPLv2+
+
Version: %{xfapplet_version}
-Release: 24.<RELEASE3>
+Release: 24.<RELEASE5>
Summary: GNOME panel applet compatibility plugin for the Xfce panel
-Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-xfapplet-plugin
Group: System/GUI/XFCE
+Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-xfapplet-plugin
Requires: gnome-applets
Requires: xfce4-panel >= %{panel_version}
@@ -749,9 +755,9 @@
the Xfce panel and supports most GNOME applets.
%package -n xfce4-panel-plugin-xmms
-License: GPLv2+
+
Version: %{xmms_version}
-Release: 3.<RELEASE3>
+Release: 3.<RELEASE5>
Summary: XMMS plugin for the Xfce panel
Group: System/GUI/XFCE
Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-xmms-plugin
@@ -761,12 +767,12 @@
The XMMS plugin allows to control the XMMS, Beep or Audacious audio players.
%package -n xfce4-panel-plugin-xkb
-License: GPLv2+
+
Version: %{xkb_version}
-Release: 0.<RELEASE2>
+Release: 0.<RELEASE5>
Summary: XKB layout switcher plugin for the Xfce panel
-Url: http://goodies.xfce.org/projects/panel-plugins/xfce4-xkb-plugin
Group: System/GUI/XFCE
+Url: http://goodies.xfce.org/projects/panel-plugins/xfce4-xkb-plugin
Requires: xfce4-panel >= %{panel_version}
%description -n xfce4-panel-plugin-xkb
++++++ xfce4-timer-plugin-0.6.1-fix-timerinfo-truncation.patch ++++++
diff -urNp xfce4-timer-plugin-0.6.1.orig/src/xfcetimer.c
xfce4-timer-plugin-0.6.1/src/xfcetimer.c
--- xfce4-timer-plugin-0.6.1.orig/src/xfcetimer.c 2008-11-20
21:45:21.000000000 +0100
+++ xfce4-timer-plugin-0.6.1/src/xfcetimer.c 2012-02-09 11:49:22.304167161
+0100
@@ -83,7 +83,7 @@ static gboolean timeout_function (gpoint
plugin_data *pd=(plugin_data *)data;
gint elapsed_sec,remaining;
- gchar tiptext[32];
+ gchar *tiptext = NULL;
GtkWidget *dialog;
gulong zip;
@@ -98,18 +98,20 @@ static gboolean timeout_function (gpoint
remaining=pd->timeout_period_in_sec-elapsed_sec;
if(remaining>=3600)
- g_snprintf(tiptext,31,_("%dh %dm %ds left"),remaining/3600,
(remaining%3600)/60,
+ tiptext = g_strdup_printf(_("%dh %dm %ds left"),remaining/3600,
(remaining%3600)/60,
remaining%60);
else if (remaining>=60)
- g_snprintf(tiptext,31,_("%dm %ds left"),remaining/60, remaining%60);
+ tiptext = g_strdup_printf(_("%dm %ds left"),remaining/60, remaining%60);
else
- g_snprintf(tiptext,31,_("%ds left"),remaining);
+ tiptext = g_strdup_printf(_("%ds left"),remaining);
gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR(pd->pbar),
((gdouble)elapsed_sec)/pd->
timeout_period_in_sec);
gtk_tooltips_set_tip(pd->tip,GTK_WIDGET(pd->base),tiptext,NULL);
+ g_free(tiptext);
+
return TRUE;
}
@@ -362,7 +364,7 @@ void make_menu(plugin_data *pd){
GSList *group=NULL;
GtkWidget *menuitem;
gchar *timername,*timerinfo;
- gchar itemtext[256];
+ gchar *itemtext = NULL;
gint row_count;
@@ -387,7 +389,7 @@ void make_menu(plugin_data *pd){
/*g_fprintf(stderr,"\nMaking menuitem %d while selected is
%d",row_count,pd->
selected);*/
gtk_tree_model_get(GTK_TREE_MODEL(pd->list),&iter,1,&timername,2,&timerinfo,-1);
- g_snprintf(itemtext,255,"%s (%s)",timername,timerinfo);
+ itemtext = g_strdup_printf("%s (%s)",timername,timerinfo);
menuitem=gtk_radio_menu_item_new_with_label(group,itemtext);
gtk_widget_show(menuitem);
g_free(timername);
@@ -405,6 +407,7 @@ void make_menu(plugin_data *pd){
gtk_menu_shell_append(GTK_MENU_SHELL(pd->menu),menuitem);
/*g_fprintf(stderr,"\nAdding menuitem with label : %s",itemtext);*/
+ g_free(itemtext);
/* We add the address of menuitem to the array */
g_array_append_val(pd->menuarray,menuitem);
@@ -455,7 +458,7 @@ static void ok_add(GtkButton *button, gp
alarm_data *adata = (alarm_data *)data;
GtkTreeIter iter;
gint t1,t2,t3,t;
- gchar timeinfo[16];
+ gchar *timeinfo = NULL;
/* Add item to the list */
gtk_list_store_append(adata->pd->list,&iter);
@@ -480,11 +483,11 @@ static void ok_add(GtkButton *button, gp
gtk_list_store_set(GTK_LIST_STORE(adata->pd->list),&iter,5,t,-1);
if(t1>0)
- g_snprintf(timeinfo,15,_("%dh %dm %ds"),t1,t2,t3);
+ timeinfo = g_strdup_printf(_("%dh %dm %ds"),t1,t2,t3);
else if(t2>0)
- g_snprintf(timeinfo,15,_("%dm %ds"),t2,t3);
+ timeinfo = g_strdup_printf(_("%dm %ds"),t2,t3);
else
- g_snprintf(timeinfo,15,_("%ds"),t3);
+ timeinfo = g_strdup_printf(_("%ds"),t3);
gtk_list_store_set(GTK_LIST_STORE(adata->pd->list),&iter,2,timeinfo,-1);
}
@@ -494,7 +497,7 @@ static void ok_add(GtkButton *button, gp
t2=gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(adata->time_m));
t=t1*60+t2;
gtk_list_store_set(GTK_LIST_STORE(adata->pd->list),&iter,5,t,-1);
- g_snprintf(timeinfo,9,_("At %02d:%02d"),t1,t2);
+ timeinfo = g_strdup_printf(_("At %02d:%02d"),t1,t2);
gtk_list_store_set(GTK_LIST_STORE(adata->pd->list),&iter,2,timeinfo,-1);
}
@@ -506,6 +509,7 @@ static void ok_add(GtkButton *button, gp
gtk_widget_destroy(GTK_WIDGET(adata->window));
g_free(adata);
+ g_free(timeinfo);
}
@@ -532,7 +536,7 @@ static void ok_edit(GtkButton *button, g
alarm_data *adata = (alarm_data *)data;
GtkTreeIter iter;
gint t1,t2,t3,t;
- gchar timeinfo[10];
+ gchar *timeinfo = NULL;
GtkTreeSelection *select;
GtkTreeModel *model;
@@ -553,12 +557,12 @@ static void ok_edit(GtkButton *button, g
t3=gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(adata->times));
t=t1*3600+t2*60+t3;
gtk_list_store_set(GTK_LIST_STORE(adata->pd->list),&iter,5,t,-1);
- if(t1>0)
- g_snprintf(timeinfo,15,_("%dh %dm %ds"),t1,t2,t3);
- else if(t2>0)
- g_snprintf(timeinfo,15,_("%dm %ds"),t2,t3);
- else
- g_snprintf(timeinfo,15,_("%ds"),t3);
+ if(t1>0)
+ timeinfo = g_strdup_printf(_("%dh %dm %ds"),t1,t2,t3);
+ else if(t2>0)
+ timeinfo = g_strdup_printf(_("%dm %ds"),t2,t3);
+ else
+ timeinfo = g_strdup_printf(_("%ds"),t3);
gtk_list_store_set(GTK_LIST_STORE(adata->pd->list),&iter,2,timeinfo,-1);
}
@@ -568,7 +572,7 @@ static void ok_edit(GtkButton *button, g
t2=gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(adata->time_m));
t=t1*60+t2;
gtk_list_store_set(GTK_LIST_STORE(adata->pd->list),&iter,5,t,-1);
- g_snprintf(timeinfo,9,_("At %02d:%02d"),t1,t2);
+ timeinfo = g_strdup_printf(_("At %02d:%02d"),t1,t2);
gtk_list_store_set(GTK_LIST_STORE(adata->pd->list),&iter,2,timeinfo,-1);
}
@@ -580,6 +584,7 @@ static void ok_edit(GtkButton *button, g
gtk_widget_destroy(GTK_WIDGET(adata->window));
g_free(adata);
+ g_free(timeinfo);
}
/**
++++++ xfce4-timer-plugin-0.6.1-fix-windows.patch ++++++
diff -urNp xfce4-timer-plugin-0.6.1.orig/src/xfcetimer.c
xfce4-timer-plugin-0.6.1/src/xfcetimer.c
--- xfce4-timer-plugin-0.6.1.orig/src/xfcetimer.c 2012-02-09
11:49:22.304167161 +0100
+++ xfce4-timer-plugin-0.6.1/src/xfcetimer.c 2012-02-09 11:52:08.257171042
+0100
@@ -123,7 +123,7 @@ static gboolean timeout_function (gpoint
if( (strlen(pd->timeout_command)==0) || !pd->nowin_if_alarm ) {
gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(pd->pbar),1);
dialog = gtk_message_dialog_new (NULL,
- GTK_DIALOG_DESTROY_WITH_PARENT,
+ GTK_DIALOG_DESTROY_WITH_PARENT |
GTK_DIALOG_MODAL,
GTK_MESSAGE_WARNING,
GTK_BUTTONS_CLOSE,
_("Beeep! :) \nTime is up!"));
@@ -623,6 +623,7 @@ static void add_edit_clicked (GtkButton
plugin_data *pd = (plugin_data *)data;
+ GtkWindow *parent_window;
GtkWindow *window;
GtkLabel *label;
GtkEntry *name,*command;
@@ -641,6 +642,9 @@ static void add_edit_clicked (GtkButton
adata->pd=pd;
gtk_window_set_modal(GTK_WINDOW(window),TRUE);
+ parent_window = gtk_widget_get_toplevel(buttonn);
+ if (gtk_widget_is_toplevel(parent_window))
+ gtk_window_set_transient_for(GTK_WINDOW(window),
GTK_WINDOW(parent_window));
vbox=gtk_vbox_new(FALSE, BORDER);
gtk_container_add(GTK_CONTAINER(window),vbox);
continue with "q"...
Remember to have fun...
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]