mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-08 20:41:59 +03:00
1999-03-12 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gpopup2.c (gpopup_do_popup2): Fixed Miguel's code.
This commit is contained in:
parent
77e65821e3
commit
b3a1fd790c
@ -1,3 +1,7 @@
|
||||
1999-03-12 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gpopup2.c (gpopup_do_popup2): Fixed Miguel's code.
|
||||
|
||||
1999-03-11 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* gpopup2.c (gpopup_do_popup2): Until Federico look over this, I
|
||||
|
@ -78,8 +78,6 @@ static void handle_edit_symlink (GtkWidget *widget, WPanel *panel);
|
||||
static gboolean check_mount_func (WPanel *panel, DesktopIconInfo *dii);
|
||||
static gboolean check_unmount_func (WPanel *panel, DesktopIconInfo *dii);
|
||||
static gboolean check_eject_func (WPanel *panel, DesktopIconInfo *dii);
|
||||
static gboolean check_edit_func (WPanel *panel, DesktopIconInfo *dii);
|
||||
static gboolean check_view_func (WPanel *panel, DesktopIconInfo *dii);
|
||||
|
||||
static gchar * get_full_filename (WPanel *panel);
|
||||
|
||||
@ -550,8 +548,8 @@ gpopup_do_popup2 (GdkEventButton *event, WPanel *panel, DesktopIconInfo *dii)
|
||||
REMOVE (flags, F_NOTDEV);
|
||||
}
|
||||
|
||||
if (market == 0)
|
||||
return;
|
||||
if (marked == 0)
|
||||
return 1;
|
||||
|
||||
if (marked > 1)
|
||||
REMOVE (flags, F_SINGLE);
|
||||
@ -569,7 +567,7 @@ gpopup_do_popup2 (GdkEventButton *event, WPanel *panel, DesktopIconInfo *dii)
|
||||
|
||||
i = get_active_index (GTK_MENU (menu));
|
||||
gtk_widget_unref (menu);
|
||||
return i;
|
||||
return 1;
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user