1999-02-05 Federico Mena Quintero <federico@nuclecu.unam.mx>

* gmain.h: Added prototype for gmc_open_filename().

	* gdesktop.c (desktop_icon_info_open): Fixed call to
	gmc_open_filename().  See why it is good to have prototypes? :-)

	* gdnd.c (perform_action): Oops.  Removed a leftover "break" that
	was causing the loop to exit, so you could not operate on more
	than one file.
This commit is contained in:
Miguel de Icaza 1999-02-06 02:40:38 +00:00
parent dcd005a0ca
commit 9260355181
4 changed files with 14 additions and 4 deletions

View File

@ -1,3 +1,14 @@
1999-02-05 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gmain.h: Added prototype for gmc_open_filename().
* gdesktop.c (desktop_icon_info_open): Fixed call to
gmc_open_filename(). See why it is good to have prototypes? :-)
* gdnd.c (perform_action): Oops. Removed a leftover "break" that
was causing the loop to exit, so you could not operate on more
than one file.
1999-02-05 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gpopup2.c (popup_handle_properties): Update the URL information
@ -39,7 +50,6 @@
* gdesktop.c (desktop_icon_info_new): Use an URL image for
desktop-urls. Use the url as the caption for those icons.
1999-02-04 Jonathan Blandford <jrb@redhat.com>
* gprefs.c (caching_and_optimization_props): wording changes

View File

@ -817,7 +817,7 @@ desktop_icon_info_open (DesktopIconInfo *dii)
if (is_exe (fe->buf.st_mode) && if_link_is_exe (fe))
my_system (EXECUTE_AS_SHELL, shell, filename);
else
gmc_open_filename (filename);
gmc_open_filename (filename, NULL);
}
file_entry_free (fe);
@ -1370,7 +1370,7 @@ desktop_icon_info_new (char *filename, char *url, char *caption, int user_pos, i
dii->y = 0;
dii->slot = -1;
if (url){
if (url) {
dii->url = g_strdup (url);
if (!caption)
caption = url;

View File

@ -219,7 +219,6 @@ perform_action (GList *names, GdkDragAction action, char *destdir)
} while (result != 0);
g_free (dest_name);
break;
}
file_op_context_destroy (ctx);

View File

@ -37,6 +37,7 @@ WPanel *new_panel_with_geometry_at (char *dir, char *geometry);
void layout_panel_gone (WPanel *panel);
void gtkrundlg_event (Dlg_head *h);
int gmc_open (file_entry *fe);
int gmc_open_filename (char *fname, GList *args);
int gmc_view (char *filename, int start_line);
void x_show_info (WInfo *info, struct my_statfs *s, struct stat *b);
void x_create_info (Dlg_head *h, widget_data parent, WInfo *info);