[Xfce4-commits] <orage:master> Enhancement 8262 - improve spinner when editing appointments

Juha Kautto noreply at xfce.org
Wed Dec 21 10:24:01 CET 2011


Updating branch refs/heads/master
         to e99e6c1fb45fd3322bb2fd0bdee4ec9c730dd1e6 (commit)
       from a214c5b9b51e43b3f69b479f2b163df692296204 (commit)

commit e99e6c1fb45fd3322bb2fd0bdee4ec9c730dd1e6
Author: Juha Kautto <juha at xfce.org>
Date:   Wed Dec 21 11:19:20 2011 +0200

    Enhancement 8262 - improve spinner when editing appointments
    
    Made minutes to incrent 5 units per button 1 (step) click and 10 units per
    button 2 (page) click.

 configure.in.in   |    2 +-
 src/appointment.c |    1 +
 src/functions.c   |    1 +
 3 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/configure.in.in b/configure.in.in
index e79a1a1..b9fe866 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -9,7 +9,7 @@ dnl Written for Xfce by Juha Kautto <juha at xfce.org>
 dnl
 
 dnl Version information
-m4_define([orage_version], [4.8.2.9-git])
+m4_define([orage_version], [4.8.2.10-git])
 
 m4_define([gtk_minimum_version], [2.10.0])
 m4_define([xfce_minimum_version], [4.6.0])
diff --git a/src/appointment.c b/src/appointment.c
index 6bb8389..6b15405 100644
--- a/src/appointment.c
+++ b/src/appointment.c
@@ -112,6 +112,7 @@ static GtkWidget *datetime_hbox_new(GtkWidget *date_button
     gtk_box_pack_start(GTK_BOX(hbox), space_label, FALSE, FALSE, 0);
 
     gtk_spin_button_set_wrap(GTK_SPIN_BUTTON(spin_mm), TRUE);
+    gtk_spin_button_set_increments(GTK_SPIN_BUTTON(spin_mm), 5, 10);
     /* gtk_widget_set_size_request(spin_mm, 40, -1); */
     gtk_box_pack_start(GTK_BOX(hbox), spin_mm, FALSE, FALSE, 0);
 
diff --git a/src/functions.c b/src/functions.c
index 5e31802..0998a43 100644
--- a/src/functions.c
+++ b/src/functions.c
@@ -473,6 +473,7 @@ GtkWidget *orage_period_hbox_new(gboolean head_space, gboolean tail_space
     gtk_box_pack_start(GTK_BOX(hbox), space_label, FALSE, FALSE, 0);
 
     gtk_spin_button_set_wrap(GTK_SPIN_BUTTON(spin_mm), TRUE);
+    gtk_spin_button_set_increments(GTK_SPIN_BUTTON(spin_mm), 5, 10);
     /* gtk_widget_set_size_request(spin_mm, 40, -1); */
     gtk_box_pack_start(GTK_BOX(hbox), spin_mm, FALSE, FALSE, 0);
 


More information about the Xfce4-commits mailing list