1999-03-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
* glayout.c (save_panel_types): Do not save the setup of a desktop panel. * gpopup2.c (handle_mount): Use get_full_filename(). (handle_unmount): Likewise. (handle_eject): Likewise. (handle_open): Likewise.
Этот коммит содержится в:
родитель
0bd0f7dac2
Коммит
9be5d13eb3
@ -1,5 +1,13 @@
|
||||
1999-03-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* glayout.c (save_panel_types): Do not save the setup of a desktop
|
||||
panel.
|
||||
|
||||
* gpopup2.c (handle_mount): Use get_full_filename().
|
||||
(handle_unmount): Likewise.
|
||||
(handle_eject): Likewise.
|
||||
(handle_open): Likewise.
|
||||
|
||||
* gdesktop.c (update_url): Made static.
|
||||
(desktop_reload_icons): Call update_url() when updating an
|
||||
existing icon.
|
||||
|
@ -253,7 +253,8 @@ save_panel_types (void)
|
||||
for (p = containers; p; p = p->next){
|
||||
PanelContainer *pc = p->data;
|
||||
|
||||
panel_save_setup (pc->panel, pc->panel->panel_name);
|
||||
if (!is_a_desktop_panel (pc->panel))
|
||||
panel_save_setup (pc->panel, pc->panel->panel_name);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -330,7 +330,6 @@ setup_devices (void)
|
||||
gboolean release_format;
|
||||
gboolean ejectable;
|
||||
|
||||
|
||||
dev_name = dit->devname;
|
||||
short_dev_name = x_basename (dev_name);
|
||||
|
||||
|
@ -568,14 +568,16 @@ handle_open (GtkWidget *widget, WPanel *panel)
|
||||
gchar *full_name;
|
||||
DesktopIconInfo *dii;
|
||||
|
||||
full_name = get_full_filename (panel);
|
||||
|
||||
if (is_a_desktop_panel (panel)) {
|
||||
dii = desktop_icon_info_get_by_filename (selection (panel)->fname);
|
||||
dii = desktop_icon_info_get_by_filename (x_basename (full_name));
|
||||
g_assert (dii != NULL);
|
||||
g_free (full_name);
|
||||
desktop_icon_info_open (dii);
|
||||
return;
|
||||
}
|
||||
|
||||
full_name = get_full_filename (panel);
|
||||
if (gmc_open_filename (full_name, 0))
|
||||
return;
|
||||
gmc_open_with (full_name);
|
||||
@ -589,7 +591,7 @@ handle_mount (GtkWidget *widget, WPanel *panel)
|
||||
|
||||
g_assert (is_a_desktop_panel (panel));
|
||||
|
||||
full_name = g_concat_dir_and_file (desktop_directory, selection (panel)->fname);
|
||||
full_name = get_full_filename (panel);
|
||||
do_mount_umount (full_name, TRUE);
|
||||
g_free (full_name);
|
||||
}
|
||||
@ -601,7 +603,7 @@ handle_unmount (GtkWidget *widget, WPanel *panel)
|
||||
|
||||
g_assert (is_a_desktop_panel (panel));
|
||||
|
||||
full_name = g_concat_dir_and_file (desktop_directory, selection (panel)->fname);
|
||||
full_name = get_full_filename (panel);
|
||||
do_mount_umount (full_name, FALSE);
|
||||
g_free (full_name);
|
||||
}
|
||||
@ -613,7 +615,7 @@ handle_eject (GtkWidget *widget, WPanel *panel)
|
||||
|
||||
g_assert (is_a_desktop_panel (panel));
|
||||
|
||||
full_name = g_concat_dir_and_file (desktop_directory, selection (panel)->fname);
|
||||
full_name = get_full_filename (panel);
|
||||
do_mount_umount (full_name, FALSE);
|
||||
do_eject (full_name);
|
||||
g_free (full_name);
|
||||
@ -672,7 +674,6 @@ handle_properties (GtkWidget *widget, WPanel *panel)
|
||||
gint retval = 0;
|
||||
GtkWidget *dialog;
|
||||
gchar *full_name = NULL;
|
||||
DesktopIconInfo *dii;
|
||||
|
||||
full_name = get_full_filename (panel);
|
||||
dialog = gnome_file_property_dialog_new (full_name,
|
||||
|
857
po/mc.pot
857
po/mc.pot
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Загрузка…
Ссылка в новой задаче
Block a user