1998-12-11 Federico Mena Quintero <federico@nuclecu.unam.mx>

* gpopup.c (create_actions): The tests for F_PANEL and F_DICON
	were wrong.  Fixed them.  This does not mean that the popup menus
	are right, though.
This commit is contained in:
Miguel de Icaza 1998-12-11 19:14:55 +00:00
parent c985074281
commit b0eaee692b
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,9 @@
1998-12-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gpopup.c (create_actions): The tests for F_PANEL and F_DICON
were wrong. Fixed them. This does not mean that the popup menus
are right, though.
1998-12-11 Owen Taylor <otaylor@redhat.com>
* gscreen.c gdesktop.c gdnd.h: enable dragging locale files
@ -61,7 +67,6 @@
* gdesktop-icon.c (desktop_icon_reshape): Set the position and
size fields as computed for layout.
>>>>>>> 1.192
1998-12-11 Owen Taylor <otaylor@redhat.com>
* gdesktop.c (editing_started): Grab on the window for the

View File

@ -238,10 +238,10 @@ create_actions (GtkWidget *menu, WPanel *panel, int panel_row, char *filename)
for (action = file_actions; action->text; action++) {
/* First, try F_PANEL and F_DICON flags */
if (panel && !(action->flags & F_PANEL))
if (!panel && (action->flags & F_PANEL))
continue;
if (!panel && (action->flags & F_DICON))
if (panel && (action->flags & F_DICON))
continue;
/* Items with F_ALL bypass any other condition */