blob: 28c0eb1443d471c2a2035cc5da93a74b3d3ba5bf [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001From 2d5fa307827a7b32af4f7b2ae0604f943e3a6e99 Mon Sep 17 00:00:00 2001
2From: John Lindgren <john.lindgren@aol.com>
3Date: Tue, 21 Aug 2012 19:33:45 -0400
4Subject: [PATCH] Allow timer period to be set at 250ms resolution. Patch
5 from Miguel Guedes. Closes: #9102.
6MIME-Version: 1.0
7Content-Type: text/plain; charset=UTF-8
8Content-Transfer-Encoding: 8bit
9
10Upstream-Status: Applied [1]
11
12[1] http://git.xfce.org/panel-plugins/xfce4-genmon-plugin/commit/?id=2d5fa307827a7b32af4f7b2ae0604f943e3a6e99
13
14Signed-off-by: Andreas MΓΌller <schnitzeltony@googlemail.com>
15---
16 panel-plugin/config_gui.c | 4 ++--
17 1 files changed, 2 insertions(+), 2 deletions(-)
18
19diff --git a/panel-plugin/config_gui.c b/panel-plugin/config_gui.c
20index a4c891d..90e55c1 100644
21--- a/panel-plugin/config_gui.c
22+++ b/panel-plugin/config_gui.c
23@@ -106,8 +106,8 @@ int genmon_CreateConfigGUI (GtkWidget *vbox1,
24 gtk_widget_show (alignment1);
25 gtk_container_add (GTK_CONTAINER (eventbox1), alignment1);
26
27- wSc_Period_adj = gtk_adjustment_new (15, 1, 60*60*24, 1, 1, 0);
28- wSc_Period = gtk_spin_button_new (GTK_ADJUSTMENT (wSc_Period_adj), 1, 0);
29+ wSc_Period_adj = gtk_adjustment_new (15, .25, 60*60*24, .25, 1, 0);
30+ wSc_Period = gtk_spin_button_new (GTK_ADJUSTMENT (wSc_Period_adj), .25, 2);
31 gtk_widget_show (wSc_Period);
32 gtk_container_add (GTK_CONTAINER (alignment1), wSc_Period);
33 gtk_tooltips_set_tip (tooltips, wSc_Period,
34--
351.7.6.5
36