View | Details | Raw Unified | Return to bug 175371 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-8 / +5 lines)
Lines 1-13 Link Here
1
# New ports collection makefile for:	parcellite
1
# Created by: Joey Mingrone <joey@mingrone.org>
2
# Date created:	29 April 2009
3
# Whom:	Joey Mingrone <joey@mingrone.org>
4
#
5
# $FreeBSD$
2
# $FreeBSD$
6
#
7
3
8
PORTNAME=	parcellite
4
PORTNAME=	parcellite
9
PORTVERSION=	1.0.1
5
PORTVERSION=	1.1.1
10
PORTREVISION=	1
11
CATEGORIES=	deskutils
6
CATEGORIES=	deskutils
12
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
7
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
13
8
Lines 18-24 Link Here
18
USE_GMAKE=	yes
13
USE_GMAKE=	yes
19
USE_GNOME=	gtk20
14
USE_GNOME=	gtk20
20
15
21
.if !defined(WITHOUT_NLS)
16
.include <bsd.port.options.mk>
17
18
.if ${PORT_OPTIONS:MNLS}
22
USE_GETTEXT=	yes
19
USE_GETTEXT=	yes
23
PLIST_SUB+=	NLS=""
20
PLIST_SUB+=	NLS=""
24
.else
21
.else
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (parcellite-1.0.1.tar.gz) = a4e7a1bd0616683b7eb4b08350cdaa355b1c9d5c93a4caa0cef4a813cf4cc526
1
SHA256 (parcellite-1.1.1.tar.gz) = 063e7e4c3eb0c1c3afc7822714899a448a58cecae2c5ee719e83afc9cd70c3ae
2
SIZE (parcellite-1.0.1.tar.gz) = 555184
2
SIZE (parcellite-1.1.1.tar.gz) = 690306
(-)files/patch-src_main.c (-14 lines)
Lines 1-14 Link Here
1
--- src/main.c.orig	2011-10-18 08:06:24.000000000 +0800
2
+++ src/main.c	2011-10-18 08:07:17.000000000 +0800
3
@@ -1010,9 +1010,10 @@
4
   gtk_menu_shell_append((GtkMenuShell*)menu, gtk_separator_menu_item_new());
5
   /* Clear */
6
 	if(0 ==prefs.type_search){
7
-  menu_item = gtk_image_menu_item_new_with_label(_("Clear"));
8
+  menu_item = gtk_image_menu_item_new_with_mnemonic(_("Clear"));
9
   menu_image = gtk_image_new_from_stock(GTK_STOCK_CLEAR, GTK_ICON_SIZE_MENU);
10
   gtk_image_menu_item_set_image((GtkImageMenuItem*)menu_item, menu_image);
11
+  g_signal_connect((GObject*)menu_item, "activate", (GCallback)clear_selected, NULL);
12
   gtk_menu_shell_append((GtkMenuShell*)menu, menu_item);
13
   }  
14
   /* Popup the menu... */
(-)pkg-plist (+1 lines)
Lines 4-9 Link Here
4
share/pixmaps/parcellite.png
4
share/pixmaps/parcellite.png
5
share/pixmaps/parcellite.svg
5
share/pixmaps/parcellite.svg
6
share/pixmaps/parcellite.xpm
6
share/pixmaps/parcellite.xpm
7
%%NLS%%share/locale/ca/LC_MESSAGES/parcellite.mo
7
%%NLS%%share/locale/cs/LC_MESSAGES/parcellite.mo
8
%%NLS%%share/locale/cs/LC_MESSAGES/parcellite.mo
8
%%NLS%%share/locale/da/LC_MESSAGES/parcellite.mo
9
%%NLS%%share/locale/da/LC_MESSAGES/parcellite.mo
9
%%NLS%%share/locale/de/LC_MESSAGES/parcellite.mo
10
%%NLS%%share/locale/de/LC_MESSAGES/parcellite.mo

Return to bug 175371