1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/x11/gnomecore/files/patch-ah
Steve Price c3be150074 Update to version 1.0.5.
PR:		11538
Submitted by:	Ade Lovett <ade@lovett.com>
1999-05-09 17:05:03 +00:00

59 lines
2.1 KiB
Plaintext

--- gmenu/main.c.orig Thu May 6 11:44:25 1999
+++ gmenu/main.c Thu May 6 11:44:43 1999
@@ -271,7 +271,7 @@
gnome_init ("GNOME menu editor", VERSION, argc, argv);
- system_apps_dir = gnome_unconditional_datadir_file("gnome/apps");
+ system_apps_dir = gnome_unconditional_datadir_file("apps");
system_pixmap_dir = gnome_unconditional_datadir_file("pixmaps");
if (!g_file_exists(system_apps_dir) || !g_file_exists(system_pixmap_dir))
{
--- panel/menu.c.orig Tue Mar 2 21:21:00 1999
+++ panel/menu.c Tue Mar 2 21:21:46 1999
@@ -503,7 +503,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*/
- char *menu = gnome_datadir_file("gnome/apps");
+ char *menu = gnome_datadir_file("apps");
if(menu)
fr_read_dir(NULL,menu,NULL,2);
g_free(menu);
@@ -1972,7 +1972,7 @@
static GtkWidget *
create_system_menu(GtkWidget *menu, int fake_submenus, int fake)
{
- char *menu_base = gnome_unconditional_datadir_file ("gnome/apps");
+ char *menu_base = gnome_unconditional_datadir_file ("apps");
char *menudir;
menudir = g_concat_dir_and_file (menu_base, ".");
@@ -2877,7 +2877,7 @@
current_panel = PANEL_WIDGET(menu->button->parent);
if(!menu->menu) {
- char *menu_base = gnome_unconditional_datadir_file ("gnome/apps");
+ char *menu_base = gnome_unconditional_datadir_file ("apps");
char *this_menu = get_real_menu_path(menu->path,menu_base);
GSList *list = g_slist_append(NULL,this_menu);
@@ -2983,7 +2983,7 @@
Menu *menu;
int main_menu;
- char *menu_base = gnome_unconditional_datadir_file ("gnome/apps");
+ char *menu_base = gnome_unconditional_datadir_file ("apps");
char *this_menu = get_real_menu_path(arguments,menu_base);
if (!this_menu) {
@@ -3082,7 +3082,7 @@
menu->menu = NULL;
{
- char *menu_base = gnome_unconditional_datadir_file ("gnome/apps");
+ char *menu_base = gnome_unconditional_datadir_file ("apps");
char *this_menu = get_real_menu_path(menu->path,menu_base);
GSList *list = g_slist_append(NULL,this_menu);
char *pixmap_name = get_pixmap(this_menu,