[Pkg-xfce-commits] r7531 - in goodies/trunk/xfce4-timer-plugin/debian: . patches
Yves-Alexis Perez
corsac at alioth.debian.org
Wed May 22 06:43:28 UTC 2013
Author: corsac
Date: 2013-05-22 18:43:28 +0000 (Wed, 22 May 2013)
New Revision: 7531
Modified:
goodies/trunk/xfce4-timer-plugin/debian/changelog
goodies/trunk/xfce4-timer-plugin/debian/patches/01_improve-timer-stop.patch
Log:
* debian/patches:
- 01_improve-timer-stop refreshed.
Modified: goodies/trunk/xfce4-timer-plugin/debian/changelog
===================================================================
--- goodies/trunk/xfce4-timer-plugin/debian/changelog 2013-05-22 18:41:40 UTC (rev 7530)
+++ goodies/trunk/xfce4-timer-plugin/debian/changelog 2013-05-22 18:43:28 UTC (rev 7531)
@@ -1,6 +1,8 @@
xfce4-timer-plugin (1.5.0-1) UNRELEASED; urgency=low
* New upstream release. closes: #709338
+ * debian/patches:
+ - 01_improve-timer-stop refreshed.
-- Yves-Alexis Perez <corsac at debian.org> Wed, 22 May 2013 20:38:26 +0200
Modified: goodies/trunk/xfce4-timer-plugin/debian/patches/01_improve-timer-stop.patch
===================================================================
--- goodies/trunk/xfce4-timer-plugin/debian/patches/01_improve-timer-stop.patch 2013-05-22 18:41:40 UTC (rev 7530)
+++ goodies/trunk/xfce4-timer-plugin/debian/patches/01_improve-timer-stop.patch 2013-05-22 18:43:28 UTC (rev 7531)
@@ -1,21 +1,11 @@
-diff --git a/src/xfcetimer.c b/src/xfcetimer.c
-index c27d37a..6bac153 100644
--- a/src/xfcetimer.c
+++ b/src/xfcetimer.c
-@@ -115,13 +115,15 @@ static gboolean timeout_function (gpointer data){
+@@ -162,6 +162,8 @@ static gboolean update_function (gpointe
}
/* Countdown is over, stop timer and free resources */
+ g_snprintf(tiptext,31,_("%ds left"),0);
+ gtk_tooltips_set_tip(pd->tip,GTK_WIDGET(pd->base),tiptext,NULL);
- /*g_fprintf(stderr,"\nTimer command is ==> %s...",pd->timeout_command);*/
-
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!"));
More information about the Pkg-xfce-commits
mailing list