mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
30b4af8f26
* gdesktop.c (dnd_select_icon_pending): Added this flag that specifies whether a selection is pending for an icon if the user was holding the Control key down while clicking. We have to delay selection in this case so that DnD will work correctly, just like Windows. (icon_button_press): New function that handles button presses on icons; it obsoletes the old desktop_icon_info_event(). (icon_button_release): New function that handles button releases on desktop icons; it will do what is appropriate if there was a pending icon selection. (drag_begin): Handle pending selections as appropriate. (unselect_all): Added an paremeter that specifies which icon to exclude from unselection. (editing_started): Unselect all icons but the one for which editing has started. (dnd_icon_sources): Changed the MIME-types for internal drops to "application/x-mc-desktop-icon". (click_proxy_window): New variable that stores the proxy window for clicks on the desktop. (setup_desktop_clicks): New function that sets up clicks on the root window. (find_click_proxy_window): New function to find and set up the window for proxying clicks from the root window. * image.metadata.in: Added case for `jpg', as there was only a case for `jpeg'.
52 lines
1.0 KiB
Plaintext
52 lines
1.0 KiB
Plaintext
regex: \.bmp$
|
|
icon-filename=@icondir@/gnome-image-bmp.png
|
|
|
|
regex: \.gif$
|
|
icon-filename=@icondir@/gnome-image-gif.png
|
|
|
|
regex: \.ief$
|
|
icon-filename=@icondir@/gnome-image-ief.png
|
|
|
|
regex: \.jpg$
|
|
icon-filename=@icondir@/gnome-image-jpeg.png
|
|
|
|
regex: \.jpeg$
|
|
icon-filename=@icondir@/gnome-image-jpeg.png
|
|
|
|
regex: \.pbm$
|
|
icon-filename=@icondir@/gnome-image-pbm.png
|
|
|
|
regex: \.pgm$
|
|
icon-filename=@icondir@/gnome-image-pgm.png
|
|
|
|
regex: \.png$
|
|
icon-filename=@icondir@/gnome-image-png.png
|
|
|
|
regex: \.pnm$
|
|
icon-filename=@icondir@/gnome-image-pnm.png
|
|
|
|
regex: \.ppm$
|
|
icon-filename=@icondir@/gnome-image-ppm.png
|
|
|
|
regex: \.ras$
|
|
icon-filename=@icondir@/gnome-image-ras.png
|
|
|
|
regex: \.rgb$
|
|
icon-filename=@icondir@/gnome-image-rgb.png
|
|
|
|
regex: \.tga$
|
|
icon-filename=@icondir@/gnome-image-tga.png
|
|
|
|
regex: \.tiff$
|
|
icon-filename=@icondir@/gnome-image-tiff.png
|
|
|
|
regex: \.xbm$
|
|
icon-filename=@icondir@/gnome-image-xbm.png
|
|
|
|
regex: \.xpm$
|
|
icon-filename=@icondir@/gnome-image-xpm.png
|
|
|
|
regex: \.xwd$
|
|
icon-filename=@icondir@/gnome-image-xwd.png
|
|
|