[arch-commits] Commit in xchat/trunk (3 files)

Eric Bélanger eric at archlinux.org
Tue Mar 30 04:28:43 CEST 2010


    Date: Monday, March 29, 2010 @ 22:28:42
  Author: eric
Revision: 74065

Fixed buttons hotkey (close FS#17076)

Added:
  xchat/trunk/xchat-2.8.6-connect-mnemonic.patch
Modified:
  xchat/trunk/ChangeLog
  xchat/trunk/PKGBUILD

------------------------------------+
 ChangeLog                          |    6 +++++-
 PKGBUILD                           |    9 ++++++---
 xchat-2.8.6-connect-mnemonic.patch |   11 +++++++++++
 3 files changed, 22 insertions(+), 4 deletions(-)

Modified: ChangeLog
===================================================================
--- ChangeLog	2010-03-29 22:19:06 UTC (rev 74064)
+++ ChangeLog	2010-03-30 02:28:42 UTC (rev 74065)
@@ -1,3 +1,7 @@
+2010-03-29  Eric Belanger  <eric at archlinux.org>
+
+	* Fixed buttons hotkey (close FS#17076)
+
 2009-09-30  Eric Belanger  <eric at archlinux.org>
 
 	* xchat 2.8.6-5
@@ -6,7 +10,7 @@
 2009-09-28  Eric Belanger  <eric at archlinux.org>
 
 	* xchat 2.8.6-4
-	* Fixed crash when transparent background is enabled (close FS#15360) 
+	* Fixed crash when transparent background is enabled (close FS#15360)
 
 2008-11-08  Eric Belanger  <eric at archlinux.org>
 

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-03-29 22:19:06 UTC (rev 74064)
+++ PKGBUILD	2010-03-30 02:28:42 UTC (rev 74065)
@@ -14,17 +14,20 @@
 options=('!libtool')
 source=(http://www.xchat.org/files/source/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2 \
         http://www.xchat.org/files/source/2.8/patches/xc286-smallfixes.diff
-        xchat-gtk2.patch xchat-2.8.4-shm-pixmaps.patch)
+        xchat-gtk2.patch xchat-2.8.4-shm-pixmaps.patch xchat-2.8.6-connect-mnemonic.patch)
 md5sums=('1f2670865d43a23a9abc596dde999aca' 'eb68b6261bf6740cb5f223627eb8f384'\
-         'f3fe00982c0bec93152ed0b32438ef87' 'a0b3889d160ddf21eebd25b645bd1e48')
+         'f3fe00982c0bec93152ed0b32438ef87' 'a0b3889d160ddf21eebd25b645bd1e48'\
+         '591b8e6186be8849be3aa615e3a335fb')
 sha1sums=('7a7463e65cb26c680ed70dd96cec98bcc05435a4' 'b13eb421f6d72fca195b398c606d9413aec57fc4'\
-         'cf9c5d93af262474e0855f2965210a4a3600acc7' '7647815270fac1a58109cb3b4000bc9187871399')
+         'cf9c5d93af262474e0855f2965210a4a3600acc7' '7647815270fac1a58109cb3b4000bc9187871399'\
+         'c9891bf1461f2b08f5caf311af072b2d3be141f6')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   patch -p1 < ../xc286-smallfixes.diff || return 1
   patch -p1 < ../xchat-gtk2.patch || return 1
   patch -p1 < ../xchat-2.8.4-shm-pixmaps.patch || return 1
+  patch -p1 < ../xchat-2.8.6-connect-mnemonic.patch || return 1
   ./configure --prefix=/usr --sysconfdir=/etc --enable-openssl --enable-dbus \
     --disable-gnome --disable-textfe --enable-ipv6 --enable-shm \
     --enable-spell=static || return 1

Added: xchat-2.8.6-connect-mnemonic.patch
===================================================================
--- xchat-2.8.6-connect-mnemonic.patch	                        (rev 0)
+++ xchat-2.8.6-connect-mnemonic.patch	2010-03-30 02:28:42 UTC (rev 74065)
@@ -0,0 +1,11 @@
+diff -urp xchat-2.8.6.orig/src/fe-gtk/gtkutil.c xchat-2.8.6/src/fe-gtk/gtkutil.c
+--- xchat-2.8.6.orig/src/fe-gtk/gtkutil.c	2009-07-18 11:25:02.000000000 +0100
++++ xchat-2.8.6/src/fe-gtk/gtkutil.c	2009-07-18 11:27:01.000000000 +0100
+@@ -376,6 +376,7 @@ gtkutil_button (GtkWidget *box, char *st
+ 	{
+ 		gtk_button_set_label (GTK_BUTTON (wid), labeltext);
+ 		gtk_button_set_image (GTK_BUTTON (wid), gtk_image_new_from_stock (stock, GTK_ICON_SIZE_MENU));
++		gtk_button_set_use_underline (GTK_BUTTON (wid), TRUE);
+ 		if (box)
+ 			gtk_container_add (GTK_CONTAINER (box), wid);
+ 	}



More information about the arch-commits mailing list