Lock ~/.recently-used. The lack of locking sometimes caused the
"Places -> Recent Documents" menu to be empty. Reference: http://bugzilla.gnome.org/show_bug.cgi?id=324710
This commit is contained in:
parent
ade78ba123
commit
1b0b309078
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=151766
@ -8,6 +8,7 @@
|
||||
|
||||
PORTNAME= gnomepanel
|
||||
PORTVERSION= 2.12.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11 gnome
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME}
|
||||
MASTER_SITE_SUBDIR= sources/gnome-panel/2.12
|
||||
|
20
x11/gnome-panel/files/patch-gnome-panel_egg-recent-model.c
Normal file
20
x11/gnome-panel/files/patch-gnome-panel_egg-recent-model.c
Normal file
@ -0,0 +1,20 @@
|
||||
--- gnome-panel/egg-recent-model.c.orig Wed Dec 21 16:58:46 2005
|
||||
+++ gnome-panel/egg-recent-model.c Wed Dec 21 16:59:03 2005
|
||||
@@ -942,7 +942,7 @@
|
||||
static gboolean
|
||||
egg_recent_model_lock_file (FILE *file)
|
||||
{
|
||||
-#ifdef F_TLOCK
|
||||
+#ifdef HAVE_LOCKF
|
||||
int fd;
|
||||
gint try = 5;
|
||||
|
||||
@@ -980,7 +980,7 @@
|
||||
static gboolean
|
||||
egg_recent_model_unlock_file (FILE *file)
|
||||
{
|
||||
-#ifdef F_TLOCK
|
||||
+#ifdef HAVE_LOCKF
|
||||
int fd;
|
||||
|
||||
rewind (file);
|
@ -8,6 +8,7 @@
|
||||
|
||||
PORTNAME= gnomepanel
|
||||
PORTVERSION= 2.12.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11 gnome
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME}
|
||||
MASTER_SITE_SUBDIR= sources/gnome-panel/2.12
|
||||
|
20
x11/gnomepanel/files/patch-gnome-panel_egg-recent-model.c
Normal file
20
x11/gnomepanel/files/patch-gnome-panel_egg-recent-model.c
Normal file
@ -0,0 +1,20 @@
|
||||
--- gnome-panel/egg-recent-model.c.orig Wed Dec 21 16:58:46 2005
|
||||
+++ gnome-panel/egg-recent-model.c Wed Dec 21 16:59:03 2005
|
||||
@@ -942,7 +942,7 @@
|
||||
static gboolean
|
||||
egg_recent_model_lock_file (FILE *file)
|
||||
{
|
||||
-#ifdef F_TLOCK
|
||||
+#ifdef HAVE_LOCKF
|
||||
int fd;
|
||||
gint try = 5;
|
||||
|
||||
@@ -980,7 +980,7 @@
|
||||
static gboolean
|
||||
egg_recent_model_unlock_file (FILE *file)
|
||||
{
|
||||
-#ifdef F_TLOCK
|
||||
+#ifdef HAVE_LOCKF
|
||||
int fd;
|
||||
|
||||
rewind (file);
|
Loading…
Reference in New Issue
Block a user