diff options
author | Eric Koegel <eric.koegel@gmail.com> | 2012-02-11 14:52:42 +0300 |
---|---|---|
committer | Eric Koegel <eric.koegel@gmail.com> | 2012-02-19 22:48:46 +0300 |
commit | ddc632474a7b4522fd84c5bbb599bf53103dbc07 (patch) | |
tree | 371fbc9ff1eb4b33534ffe827adc7dc55e9e7e3f /src/xfce-desktop.h | |
parent | c72329f0c4efa0b8cb062cf55e06026b23e1ac0a (diff) | |
download | xfdesktop-ddc632474a7b4522fd84c5bbb599bf53103dbc07.tar.gz |
Arrange icons on the desktop
This patch adds code to arrange the desktop icons. First,
it sorts and adds all the special icons such as the trash, home
folder, and any volumes. Next, it sorts and adds all the folder
icons. Finally, it adds the regular file icons. It can be invoked
by a root menu option or via a command line --arrange so it can
be used as a keyboard binding.
The xfdesktop_icon_view_compare_icons function was written by
Nick Schermer <nick@xfce.org>
For bug 2833.
Diffstat (limited to 'src/xfce-desktop.h')
-rw-r--r-- | src/xfce-desktop.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xfce-desktop.h b/src/xfce-desktop.h index d3173ede..a9224af8 100644 --- a/src/xfce-desktop.h +++ b/src/xfce-desktop.h @@ -116,6 +116,8 @@ void xfce_desktop_popup_secondary_root_menu(XfceDesktop *desktop, void xfce_desktop_refresh(XfceDesktop *desktop); +void xfce_desktop_arrange_icons(XfceDesktop *desktop); + G_END_DECLS #endif |