mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 21:06:52 +03:00
5cd0eeb455
* gdesktop-icon.c (set_icon): Do not destroy the image if it is the same as the old one. Sigh, imlib really needs proper refcounting. * gscreen.c: Use gpopup_do_popup() until the new version is finished. * gpopup2.c (create_actions): Made the action selection logic simpler. (gpopup_do_popup2): Now can only operate on panels. (file_actions): Sanitized the actions a bit. * gutil.c (my_system_get_child_pid): sa_handler must be gnome_sigchld_handler, not gnome_sigchld_installed. * gpopup.c (dicon_properties): Do not call reread_cmd(). This is a hack until the menus for panels/desktop are finished. * gscreen.c (panel_file_list_press_row): Use gpopup_do_popup2().
25 lines
517 B
C
25 lines
517 B
C
/* Popup menus for the Midnight Commander
|
|
*
|
|
* Copyright (C) 1998 The Free Software Foundation
|
|
*
|
|
* Authors: Federico Mena <federico@nuclecu.unam.mx>
|
|
* Miguel de Icaza <miguel@nuclecu.unam.mx>
|
|
*/
|
|
|
|
#ifndef GPOPUP_H
|
|
#define GPOPUP_H
|
|
|
|
|
|
#include <gdk/gdktypes.h>
|
|
#include "panel.h"
|
|
#include "gdesktop.h"
|
|
|
|
int gpopup_do_popup2 (GdkEventButton *event, WPanel *panel);
|
|
|
|
int gpopup_do_popup (GdkEventButton *event, WPanel *from_panel,
|
|
DesktopIconInfo *dii,
|
|
int panel_row, char *filename);
|
|
|
|
|
|
#endif
|