1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Add file_menu_applet 0.4, a small GNOME panel application which creates a

file manager.

PR:		37802
Submitted by:	Franz Klammer <klammer@webonaut.com>
This commit is contained in:
Joe Marcus Clarke 2002-05-06 21:22:25 +00:00
parent f32d54e24c
commit b699984486
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=58626
9 changed files with 91 additions and 0 deletions

View File

@ -7,6 +7,7 @@
SUBDIR += dfm
SUBDIR += endeavour
SUBDIR += ezfm
SUBDIR += file_menu_applet
SUBDIR += filerunner
SUBDIR += fsv
SUBDIR += gentoo

View File

@ -0,0 +1,20 @@
# New ports collection makefile for: file_menu_applet
# Date created: 4 May 2002
# Whom: Franz Klammer <klammer@webonaut.com>
#
# $FreeBSD$
#
PORTNAME= file_menu_applet
PORTVERSION= 0.4
CATEGORIES= x11-fm gnome
MASTER_SITES= http://www.zoned.net:8000/~xkahn/file_menu_applet/
MAINTAINER= klammer@webonaut.com
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= yes
GNU_CONFIGURE= yes
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (file_menu_applet-0.4.tar.gz) = 611cf15b5b52e821f8ce056df1fe74ee

View File

@ -0,0 +1,11 @@
--- src/Makefile.in.orig Mon May 6 02:39:52 2002
+++ src/Makefile.in Mon May 6 02:40:05 2002
@@ -107,7 +107,7 @@
-DLOCALEDIR=\""$(datadir)/locale"\" \
-DIMAGEDIR=\""$(datadir)/pixmaps"\" \
-DICONDIR=\""$(datadir)/images/file_menu_applet"\" \
- -DMIMEICONDIR=\"$(datadir)/pixmaps/nautilus\" \
+ -DMIMEICONDIR=\"$(datadir)/pixmaps\" \
-DGLADEDIR=\""$(gladedir)"\"

View File

@ -0,0 +1,16 @@
--- src/flist-mime-icon.c.orig Mon May 6 02:42:16 2002
+++ src/flist-mime-icon.c Mon May 6 02:43:24 2002
@@ -107,8 +107,11 @@
if (!g_file_exists (icon)) {
file = g_concat_dir_and_file (MIMEICONDIR, icon);
if (!g_file_exists (file)) {
- g_free (file);
- return NULL;
+ file = g_concat_dir_and_file(g_strdup_printf ("%s/%s", MIMEICONDIR, "nautilus"), icon);
+ if (!g_file_exists (file)) {
+ g_free (file);
+ return NULL;
+ }
}
}
else

View File

@ -0,0 +1,22 @@
--- src/main.c.orig Wed Mar 27 06:06:21 2002
+++ src/main.c Mon May 6 18:35:11 2002
@@ -213,7 +213,7 @@
gnome_vfs_file_info_unref (dir_info);
- if (!fma->icon_menus) {
+ if (fma->icon_menus) {
result = gnome_vfs_directory_visit
(rp, (GNOME_VFS_FILE_INFO_FOLLOW_LINKS
| GNOME_VFS_FILE_INFO_FORCE_FAST_MIME_TYPE),
@@ -400,6 +400,10 @@
if (!fma->menu_label)
fma->menu_label = strdup ("Home Directory");
+ if (!fma->dir_watch)
+ fma->menu_label = strdup ("~/");
+ if (!fma->menu_label)
+ fma->icon_menus = strdup ("true");
/* Create */
fma->menu_bar = gtk_menu_bar_new ();

View File

@ -0,0 +1 @@
A small GNOME panel application which creates a file manager

View File

@ -0,0 +1,13 @@
File Menu Applet is a small GNOME panel application which
creates a file manager.
File Menu Applet is not designed to replace your existing
file manager, but instead work with it. It supports standard
drag and drop, GNOME file types, and Nautilus icons.
I use it for small tasks such a easily attaching files to
emails in Evolution by dragging them out of File Menu Applet
into the Evolution composer window.
It's also excellent for selecting songs to play from your
MP3 or OGG collection.
WWW: http://www.zoned.net:8000/~xkahn/file_menu_applet/

View File

@ -0,0 +1,6 @@
bin/file_menu_applet
etc/CORBA/servers/file_menu_applet.gnorba
share/gnome/applets/Utility/file_menu_applet.desktop
share/gnome/file_menu_applet/fma_prefs.glade
share/gnome/pixmaps/file_menu_applet.png
@dirrm share/gnome/file_menu_applet