Date: Sun, 8 Apr 2012 06:49:45 GMT From: Takashi Matsubara <t-matubara@miracle.ocn.ne.jp> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/166747: [PATCH]deskutils/cairo-dock-plugins 2.3.0~3_2 GMenu error Message-ID: <201204080649.q386njkM004474@red.freebsd.org> Resent-Message-ID: <201204080650.q386oGfY002487@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 166747 >Category: ports >Synopsis: [PATCH]deskutils/cairo-dock-plugins 2.3.0~3_2 GMenu error >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Apr 08 06:50:15 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Takashi Matsubara >Release: FreeBSD9-STABLE >Organization: >Environment: FreeBSD tamago-two.tamago.local 9.0-STABLE FreeBSD 9.0-STABLE #10: Fri Apr 6 21:51:06 JST 2012 matubara@tamago-two.tamago.local:/usr/obj/usr/src/sys/TAMAGO-TWO amd64 >Description: The application menu of Gnome2 is not displayed. >How-To-Repeat: Always >Fix: --- patch begins here --- --- GMenu/src/applet-menu.c.orig 2012-04-08 15:14:39.000000000 +0900 +++ GMenu/src/applet-menu.c 2012-04-08 15:16:54.000000000 +0900 @@ -693,15 +693,15 @@ // workaround pour KDE, qui ne loupe pas une occasion de se distinguer. const gchar *cMenuFileName = NULL; - if (! g_file_test ("/etc/xdg/menus/applications.menu", G_FILE_TEST_EXISTS)) // on pourrait aussi aller lire le start-here.menu, mais je suis pas sur que ce soit standard. + if (! g_file_test ("/usr/local/etc/xdg/menus/gnome-applications.menu", G_FILE_TEST_EXISTS)) // on pourrait aussi aller lire le start-here.menu, mais je suis pas sur que ce soit standard. { - if (g_file_test ("/etc/xdg/menus/kde-applications.menu", G_FILE_TEST_EXISTS)) + if (g_file_test ("/usr/local/etc/xdg/menus/kde-applications.menu", G_FILE_TEST_EXISTS)) cMenuFileName = "kde-applications.menu"; - else if (g_file_test ("/etc/xdg/menus/xfce-applications.menu", G_FILE_TEST_EXISTS)) + else if (g_file_test ("/usr/local/etc/xdg/menus/xfce-applications.menu", G_FILE_TEST_EXISTS)) cMenuFileName = "xfce-applications.menu"; } if (cMenuFileName == NULL) - cMenuFileName = "applications.menu"; + cMenuFileName = "gnome-applications.menu"; main_menu = create_applications_menu (cMenuFileName, NULL, NULL); --- patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204080649.q386njkM004474>