rpms/planner/devel planner-0.13-gannt-bar-height.patch, NONE, 1.1 planner.spec, 1.22, 1.23
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Wed May 17 13:06:26 UTC 2006
Author: caolanm
Update of /cvs/dist/rpms/planner/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv872
Modified Files:
planner.spec
Added Files:
planner-0.13-gannt-bar-height.patch
Log Message:
gannt bar height fix
planner-0.13-gannt-bar-height.patch:
planner-gantt-view.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletion(-)
--- NEW FILE planner-0.13-gannt-bar-height.patch ---
--- src/planner-gantt-view.c.orig 2006-05-16 17:33:21.000000000 +1000
+++ src/planner-gantt-view.c 2006-05-16 17:33:44.000000000 +1000
@@ -875,7 +875,7 @@
{
GtkTreeView *tv = GTK_TREE_VIEW (view->priv->tree);
GtkWidget *gantt = view->priv->gantt;
- gint row_height;
+ gint row_height, separator_height;
gint header_height;
gint height;
GList *cols, *l;
@@ -886,6 +886,9 @@
cols = gtk_tree_view_get_columns (tv);
row_height = 0;
header_height = 0;
+ gtk_widget_style_get(GTK_WIDGET(tv),
+ "vertical-separator", &separator_height,
+ NULL);
for (l = cols; l; l = l->next) {
col = l->data;
@@ -899,6 +902,7 @@
NULL,
NULL,
&height);
+ height += separator_height;
row_height = MAX (row_height, height);
}
Index: planner.spec
===================================================================
RCS file: /cvs/dist/rpms/planner/devel/planner.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- planner.spec 11 Feb 2006 05:10:42 -0000 1.22
+++ planner.spec 17 May 2006 13:05:58 -0000 1.23
@@ -8,7 +8,7 @@
Summary: A graphical project management tool.
Name: planner
Version: 0.13
-Release: 4.1
+Release: 5
URL: http://planner.imendio.org
License: GPL
Group: Applications/Productivity
@@ -40,6 +40,7 @@
Patch0: planner-0.12-desktop-fix.patch
Patch1: planner-0.13-enableeds.patch
+Patch2: planner-0.13-gannt-bar-height.patch
##################################
@@ -80,6 +81,7 @@
%patch0 -p1 -b .desktop-fix
%patch1 -p1 -b .enableeds
+%patch2 -p0 -b .ganttheight
##################################
# Build
@@ -213,6 +215,11 @@
# Changelog
##################################
%changelog
+* Wed Mar 17 2006 Caolan McNamara <caolanm at redhat.com> - 0.13-5
+* courtesy Stuart Clark <sclark at tpg.com.au> bug fix for:
+ Gantt bar height doesn't match treeview row height
+ from bugzilla http://bugzilla.gnome.org/show_bug.cgi?id=128983
+
* Fri Feb 10 2006 Jesse Keating <jkeating at redhat.com> - 0.13-4.1
- bump again for double-long bug on ppc(64)
More information about the fedora-cvs-commits
mailing list