- Sep 20, 2007
-
-
Jannis Pohlmann authored
g_str_equal for the file/directory to monitor handle hash table, rather than comparing the pointers directly. * libxfce4menu/xfce-menu.c: Create submenu monitors after parsing by traversing the XfceMenu tree but remove them in xfce_menu_finalize (so creating the monitors happens in the root menu, removing is handled inside the submenus). Now all monitors are properly removed when the root menu is destroyed. * tests/test-display-root-menu.c: Print the pseudo monitor handle ID in monitor_file and monitor_directory. git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@26090 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Sep 19, 2007
-
-
Jannis Pohlmann authored
monitor files and directories. That way we can now add monitors for the main menu file as well as menu .directory files and the application directories - I think that's all we need. Since there may be several XfceMenu's monotoring the same application directories and menu files, those are managed using a reference counting mechanism, so that the monitor is only removed when all menus have asked to remove the monitor on them. * libxfce4menu/xfce-menu.c: Monitor the main menu file as well as .directory files and application directories. And of course remove the monitors when the menu is destroyed. git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@26088 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Jul 14, 2007
-
-
Daichi Kawahata authored
git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@25914 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- May 22, 2007
-
-
Benedikt Meurer authored
* libxfce4menu/Makefile.am: Fix typo. git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@25737 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- May 20, 2007
-
-
Jannis Pohlmann authored
now. Fixes syntax error on IRIX (bug #3251, reported by Daichi). git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@25730 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Mar 25, 2007
-
-
Jannis Pohlmann authored
rather than g_return_(val_)if_fail to check whether vtable functions have been set. git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@25294 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
Jannis Pohlmann authored
Jens Luedicke. git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@25288 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Mar 24, 2007
-
-
Jannis Pohlmann authored
by Jens Luedicke. git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@25282 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
Jannis Pohlmann authored
libxfce4menu/xfce-menu-monitor.{c,h}: Add monitoring support by making it possible for library clients to define a vtable with functions to be called whenever monitoring a file or directory becomes necessary. This way Thunar and xfdesktop can use ThunarVFS for monitoring and I don't need to care about how they do it. Note: xfce_menu_monitor_notify_change() is missing but will be adedd as soon as possible. * tests/test-display-menu.c: Add some dummy code for testing the monitoring system. * docs/reference/: Updated and reorganized API docs. git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@25281 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Mar 23, 2007
-
-
Jannis Pohlmann authored
* POTFILES.in: Add source files. * de.po, libxfce4menu-0.1.pot, LINGUAS: Add POT file and initial German translations. * libxfce4menu/*.c: Remove gettext calls for strings we don't really need to translate. Add gettext calls were it makes sense. Remove several debug messages. git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@25275 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
Jannis Pohlmann authored
libxfce4menu/xfce-menu-element.{c,h}: XfceMenuElement interface with methods xfce_menu_element_get_name() and xfce_menu_element_get_icon_name() added. * libxfce4menu/xfce-menu.c, libxfce4menu/xfce-menu-item.c, libxfce4menu/xfce-menu-separator.c: Add XfceMenuElementIface to XfceMenu, XfceMenuItem and XfceMenuSeparator. Rename xfce_menu_get_layout_items() to xfce_menu_get_layout_elements(). * tests/test-display-menu.c: Use XfceMenuElement methods where possible. git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@25273 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
Jannis Pohlmann authored
for displaying a menu added again. git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@25271 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
Jannis Pohlmann authored
SVN. They won't be installed to the system anyway. * tests/Makefile.am, tests/test-menu-spec.c: Test program for the menu specification test suite added again. git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@25266 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
Jannis Pohlmann authored
information to point to the new header file location. git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@25263 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
Jannis Pohlmann authored
$includedir/xfce4/libxfce4menu-<version>/libxfce4menu/. git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@25262 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
Jannis Pohlmann authored
git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@25261 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
Brian Tarricone authored
git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@25260 a0aa69c2-05f4-0310-b83c-d5d913b14636
-