1
1

1998-05-16 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>

* gscreen.c (create_popup_submenu): fixed bug which caused it to require
	0 instead of 1 marked files for F_SINGLE file_actions.
	* gscreen.c (file_popup): first item in the menu displays "..." when
	multiple files are selected.
Этот коммит содержится в:
jaka 1998-05-16 13:01:23 +00:00
родитель 1c4c051ed8
Коммит 3fd39ad792
2 изменённых файлов: 10 добавлений и 3 удалений

Просмотреть файл

@ -1,3 +1,10 @@
1998-05-16 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
* gscreen.c (create_popup_submenu): fixed bug which caused it to require
0 instead of 1 marked files for F_SINGLE file_actions.
* gscreen.c (file_popup): first item in the menu displays "..." when
multiple files are selected.
Thu May 14 23:31:15 1998 Tom Tromey <tromey@cygnus.com>
* gmain.c (session_save_state): Use "+" instead of "%s" in format

Просмотреть файл

@ -553,9 +553,9 @@ create_popup_submenu (WPanel *panel, int row, char *filename)
/* Items with F_ALL bypass any other condition */
if (!(file_actions [i].flags & F_ALL)){
/* Items with F_SINGLE require that no marked files exist */
/* Items with F_SINGLE require that ONLY ONE marked files exist */
if (file_actions [i].flags & F_SINGLE){
if (panel->marked)
if (panel->marked > 1)
continue;
}
@ -677,7 +677,7 @@ file_popup (GdkEvent *event, WPanel *panel, int row, char *filename)
GtkWidget *submenu;
GtkWidget *item;
item = gtk_menu_item_new_with_label (filename);
item = gtk_menu_item_new_with_label ( (panel->marked > 1)?"...":filename );
gtk_widget_show (item);
gtk_menu_append (GTK_MENU (menu), item);