1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Fix the panel path. Bump PORTREVISION.

Reported by:	Mike Harding <mvh@ix.netcom.com>
This commit is contained in:
Joe Marcus Clarke 2002-07-14 03:23:19 +00:00
parent dacaf6cfe5
commit 8ab487462d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=62911
3 changed files with 43 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= gnomecore
PORTVERSION= 1.4.1
PORTREVISION= 1
CATEGORIES?= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/gnome-core

View File

@ -0,0 +1,11 @@
--- panel/menu-properties.c.orig Sat Jul 13 23:18:06 2002
+++ panel/menu-properties.c Sat Jul 13 23:18:15 2002
@@ -68,7 +68,7 @@
arguments = ".";
if(strcmp(arguments, ".") == 0)
- this_menu = gnome_unconditional_datadir_file ("gnome/apps");
+ this_menu = gnome_unconditional_datadir_file ("apps");
else if (*arguments == '/')
this_menu = g_strdup (arguments);
else if (*arguments == '~')

View File

@ -0,0 +1,31 @@
--- panel/menu.c.orig Sat Jul 13 23:17:04 2002
+++ panel/menu.c Sat Jul 13 23:17:33 2002
@@ -158,7 +158,7 @@
/*just load the menus from disk, don't make the widgets
this just reads the .desktops of the top most directory
and a level down*/
- menu = gnome_datadir_file ("gnome/apps");
+ menu = gnome_datadir_file ("apps");
if (menu != NULL)
fr_read_dir (NULL, menu, NULL, NULL, 2);
g_free (menu);
@@ -3680,7 +3680,7 @@
gboolean launcher_add,
gboolean favourites_add)
{
- char *menudir = gnome_datadir_file ("gnome/apps");
+ char *menudir = gnome_datadir_file ("apps");
if (menudir &&
g_file_test (menudir, G_FILE_TEST_ISDIR)) {
@@ -4847,8 +4847,8 @@
gtk_menu_append (GTK_MENU (submenu), submenuitem);
gtk_signal_connect(GTK_OBJECT(submenuitem), "activate",
GTK_SIGNAL_FUNC(add_menu_to_panel),
- "gnome/apps");
- setup_internal_applet_drag(submenuitem, "MENU:gnome/apps");
+ "apps");
+ setup_internal_applet_drag(submenuitem, "MENU:apps");
submenuitem = gtk_menu_item_new ();
gtk_widget_lock_accelerators (menuitem);