- Jan 02, 2008
-
-
Jannis Pohlmann authored
via xfce_menu_item_get_comment(). * libxfce4menu/xfce-menu-monitor.{c,h}: Add support for defining what kind of files/directories are monitored (XfceMenuMonitorFlags, xfce_menu_monitor_set_flags(), xfce_menu_monitor_get_flags(), xfce_menu_monitor_has_flags()). * libxfce4menu/xfce-menu.c: Check monitor flags before adding files/directories to the monitoring system. * tests/test-display-menu.c: Center window on screen. git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@26527 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Dec 27, 2007
-
-
Jannis Pohlmann authored
to remove items from the shared handle hash table. In this case, use the directory string instead of the shared handle. This should fix the issue we've had with monitoring directories only. xfce_menu_item_has_category (XfceMenuItem *, const char *). This can be used in combination with file monitoring: Once something has changed a) destroy the current menu, b) invalidate the cache and c) create the menu again. git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@26507 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Dec 22, 2007
-
-
Jannis Pohlmann authored
requested by Brian. Also add a convenience function xfce_menu_item_has_category (XfceMenuItem *, const char *). * libxfce4menu/xfce-menu-item-cache.c: Re-add caching features, but now also allow the cache to be invalidated using _item_cache_invalidate(). This can be used in combination with file monitoring: Once something has changed a) destroy the current menu, b) invalidate the cache and c) create the menu again. git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@26500 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Nov 15, 2007
-
-
Mike Massonnet authored
git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@26296 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Nov 12, 2007
-
-
Og Maciel authored
git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@26288 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Nov 11, 2007
-
-
Mike Massonnet authored
git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@26285 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Nov 04, 2007
-
-
Jean-François Wauthy authored
git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@26252 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Oct 24, 2007
-
-
Brian Tarricone authored
in intltool 0.35.x and 0.36.x git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@26180 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Oct 21, 2007
-
-
Jannis Pohlmann authored
key of the .desktop entries. This makes it possible to start menu items in a special working directory. Will make fixing bug #3472 easier. git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@26170 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Oct 20, 2007
-
-
Jannis Pohlmann authored
differently: You can now redefine the vtable. You can also clear it by passing NULL. Whenever you want to change the user_data, just pass the same vtable as before. * libxfce4menu/xfce-menu-item-cache.c: Deactivate the cache for now. Perhaps we can add it later, together with fast checksum support to detect filesystem changes. * libxfce4menu/xfce-menu-monitor.c: Add vtable != NULL check to xfce_menu_monitor_set_vtable. Avoids crashes when passing a NULL pointer and makes other developers aware of what they might be doing wrong. * STATUS: Updated the status file to reflect the current implementation status. git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@26163 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
Jannis Pohlmann authored
to xfce_menu_monitor_set_vtable. Avoids crashes when passing a NULL pointer and makes other developers aware of what they might be doing wrong. * STATUS: Updated the status file to reflect the current implementation status. git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@26161 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Oct 12, 2007
-
-
Jannis Pohlmann authored
current implementation status. git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@26129 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Sep 25, 2007
-
-
Jannis Pohlmann authored
the last commit, fix the disabled code. There is no parameter named 'layout'. git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@26112 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
Jannis Pohlmann authored
was caused by the layout variable not being used in _set_property and _get_property. Thanks to Tomasz Mon for the hint. git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@26106 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- Sep 24, 2007
-
-
Mike Massonnet authored
* libxfce4menu, libxfcegui4, mousepad, squeeze, xfce4-appfinder, xfce4-icon-theme, xfce4-mixer, xfce4-terminal, xfce4-trigger-launcher, xfce-mcs-manager, xfce-utils: Add Latvian translation git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@26104 a0aa69c2-05f4-0310-b83c-d5d913b14636
-
- 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
-