Merge lp:~bratsche/ubuntu/natty/gtk-sharp2/has-resize-grip into lp:ubuntu/natty/gtk-sharp2

Proposed by Cody Russell
Status: Merged
Merged at revision: 43
Proposed branch: lp:~bratsche/ubuntu/natty/gtk-sharp2/has-resize-grip
Merge into: lp:ubuntu/natty/gtk-sharp2
Diff against target: 48 lines (+28/-0)
3 files modified
debian/changelog (+7/-0)
debian/patches/00list (+1/-0)
debian/patches/03_resize_grips.dpatch (+20/-0)
To merge this branch: bzr merge lp:~bratsche/ubuntu/natty/gtk-sharp2/has-resize-grip
Reviewer Review Type Date Requested Status
Chris Halse Rogers Needs Fixing
Ubuntu branches Pending
Review via email: mp+46300@code.launchpad.net

Description of the change

This adds API to allow applications to access/modify the resize grip on GtkWindow by using GtkWindow.HasResizeGrip property. It's needed at least for gnome-do to disable the resize grips on its AppPaintable windows.

To post a comment you must log in.
44. By Cody Russell

Add comments.

45. By Cody Russell

Add changelog entry.

Revision history for this message
Chris Halse Rogers (raof) wrote :

Package version should be 2.12.10-1ubuntu1, rather than -1build2.

Since the patch adds API, you must also bump the clilibs version so that packages get correct dependencies. The simplest way to do this would be to append “-1ubuntu1” to the API_VERSION variable in debian/rules.

review: Needs Fixing
Revision history for this message
Chris Halse Rogers (raof) wrote :

I've fixed up my above concerns, and pushed to Natty. Thanks Cody!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2010-11-22 11:28:45 +0000
3+++ debian/changelog 2011-01-19 21:24:09 +0000
4@@ -1,3 +1,10 @@
5+gtk-sharp2 (2.12.10-1build2) UNRELEASED; urgency=low
6+
7+ * debian/patches/03_resize_grips.dpatch: Add GtkWindow.HasResizeGrip
8+ property. (LP: 702642)
9+
10+ -- Cody Russell <bratsche@gnome.org> Wed, 19 Jan 2011 15:19:50 -0600
11+
12 gtk-sharp2 (2.12.10-1build1) natty; urgency=low
13
14 * No-changelog upload to drop sizable upstream changelogs.
15
16=== modified file 'debian/patches/00list'
17--- debian/patches/00list 2010-01-06 10:27:01 +0000
18+++ debian/patches/00list 2011-01-19 21:24:09 +0000
19@@ -1,3 +1,4 @@
20 01_dllmaps.dpatch
21 02_pcfiles.dpatch
22+03_resize_grips.dpatch
23 99_ltmain_as-needed
24
25=== added file 'debian/patches/03_resize_grips.dpatch'
26--- debian/patches/03_resize_grips.dpatch 1970-01-01 00:00:00 +0000
27+++ debian/patches/03_resize_grips.dpatch 2011-01-19 21:24:09 +0000
28@@ -0,0 +1,20 @@
29+#! /bin/sh /usr/share/dpatch/dpatch-run
30+## 03_resize_grips.dpatch by Cody Russell <bratsche@gnome.org>
31+## Author: Cody Russell <bratsche@gnome.org>
32+##
33+## All lines beginning with `## DP:' are a description of the patch.
34+## DP: Adds GtkWindow.HasResizeGrip property, needed in order to
35+## DP: disable GTK+ resize grips for gnome-do windows.
36+
37+@DPATCH@
38+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' gtk-sharp2~/gtk/gtk-api.raw gtk-sharp2/gtk/gtk-api.raw
39+--- gtk-sharp2~/gtk/gtk-api.raw 2011-01-14 11:28:39.000000000 -0600
40++++ gtk-sharp2/gtk/gtk-api.raw 2011-01-14 11:29:33.197652739 -0600
41+@@ -19099,6 +19099,7 @@
42+ <property name="Screen" cname="screen" type="GdkScreen" readable="true" writeable="true" />
43+ <property name="IsActive" cname="is-active" type="gboolean" readable="true" />
44+ <property name="HasToplevelFocus" cname="has-toplevel-focus" type="gboolean" readable="true" />
45++ <property name="HasResizeGrip" cname="has-resize-grip" type="gboolean" readable="true" writeable="true" />
46+ <property name="TypeHint" cname="type-hint" type="GdkWindowTypeHint" readable="true" writeable="true" />
47+ <property name="SkipTaskbarHint" cname="skip-taskbar-hint" type="gboolean" readable="true" writeable="true" />
48+ <property name="SkipPagerHint" cname="skip-pager-hint" type="gboolean" readable="true" writeable="true" />

Subscribers

People subscribed via source and target branches

to all changes: