1
1

1999-02-03 Miguel de Icaza <miguel@nuclecu.unam.mx>

* gdesktop.c (desktop_icon_info_open): Use gmc_open_filename
	instead of the stuff that goes trough a file_entry as we loose the
	full pathname.

	* gnome-file-property-dialog.c (generate_actions_box): Tag "open"
	for translation
	(apply_metadata_change): Use fm-open instead of fm_open for the
	metadata keys.
Этот коммит содержится в:
Miguel de Icaza 1999-02-04 01:37:33 +00:00
родитель 30352f64c3
Коммит e4e44b6b2a
3 изменённых файлов: 14 добавлений и 5 удалений

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

@ -1,5 +1,14 @@
1999-02-03 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdesktop.c (desktop_icon_info_open): Use gmc_open_filename
instead of the stuff that goes trough a file_entry as we loose the
full pathname.
* gnome-file-property-dialog.c (generate_actions_box): Tag "open"
for translation
(apply_metadata_change): Use fm-open instead of fm_open for the
metadata keys.
* gscreen.c (panel_file_list_configure_contents): Make the icon on
the type column be displayed.
(panel_file_list_select_row): Removed dead code.

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

@ -800,7 +800,7 @@ desktop_icon_info_open (DesktopIconInfo *dii)
if (S_ISDIR (fe->buf.st_mode) || link_isdir (fe))
new_panel_at (filename);
else
do_enter_on_file_entry (fe);
gmc_open_filename (filename);
file_entry_free (fe);
}

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

@ -408,7 +408,7 @@ generate_actions_box (GnomeFilePropertyDialog *fp_dlg)
gtk_container_set_border_width (GTK_CONTAINER (table), GNOME_PAD_SMALL);
/* we do open first */
fp_dlg->open_label = gtk_label_new ("Open");
fp_dlg->open_label = gtk_label_new (_("Open"));
gtk_misc_set_alignment (GTK_MISC (fp_dlg->open_label), 0.0, 0.5);
gtk_misc_set_padding (GTK_MISC (fp_dlg->open_label), 2, 0);
gtk_table_attach_defaults (GTK_TABLE (table),
@ -1091,16 +1091,16 @@ apply_metadata_change (GnomeFilePropertyDialog *fpd)
text = gtk_entry_get_text (GTK_ENTRY (fpd->open_entry));
if (text && text[0])
gnome_metadata_set (fpd->file_name,
"fm_open",
"fm-open",
strlen (text) + 1,
text);
else
gnome_metadata_remove (fpd->file_name,
"fm_open");
"fm-open");
} else {
if (fpd->fm_open)
gnome_metadata_remove (fpd->file_name,
"fm_open");
"fm-open");
}
if (fpd->executable) {
if (!GTK_TOGGLE_BUTTON (fpd->prop1_cbox)->active) {