1999-08-12 Jonathan Blandford <jrb@redhat.com>
* gpopup2.c (handle_unmount): We refresh when we unmount/mount a cdrom. * gscreen.c (queue_reread_cmd): We refresh when we make a change.
Этот коммит содержится в:
родитель
fe7d83f1d0
Коммит
b2af161b6d
@ -1,3 +1,9 @@
|
||||
1999-08-12 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gpopup2.c (handle_unmount): We refresh when we unmount/mount a cdrom.
|
||||
|
||||
* gscreen.c (queue_reread_cmd): We refresh when we make a change.
|
||||
|
||||
1999-08-12 Federico Mena Quintero <federico@redhat.com>
|
||||
|
||||
The two following entries are BUGFIX: GNOME bug tracker #1789.
|
||||
|
@ -612,12 +612,14 @@ static void
|
||||
handle_mount (GtkWidget *widget, WPanel *panel)
|
||||
{
|
||||
perform_mount_unmount (panel, TRUE);
|
||||
update_panels (UP_RELOAD, UP_KEEPSEL);
|
||||
}
|
||||
|
||||
static void
|
||||
handle_unmount (GtkWidget *widget, WPanel *panel)
|
||||
{
|
||||
perform_mount_unmount (panel, FALSE);
|
||||
update_panels (UP_RELOAD, UP_KEEPSEL);
|
||||
}
|
||||
|
||||
static void
|
||||
@ -646,8 +648,9 @@ handle_eject (GtkWidget *widget, WPanel *panel)
|
||||
do_mount_umount (full_name, FALSE);
|
||||
|
||||
do_eject (lname);
|
||||
|
||||
|
||||
desktop_icon_set_busy (dii, FALSE);
|
||||
update_panels (UP_RELOAD, UP_KEEPSEL);
|
||||
g_free (lname);
|
||||
g_free (full_name);
|
||||
}
|
||||
|
@ -1428,6 +1428,13 @@ panel_icon_list_unselect_icon (GtkWidget *widget, int index, GdkEvent *event, WP
|
||||
panel->selected = 0;
|
||||
}
|
||||
|
||||
static int
|
||||
queue_reread_cmd (gpointer data)
|
||||
{
|
||||
reread_cmd ();
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
static int
|
||||
panel_icon_renamed (GtkWidget *widget, int index, char *dest, WPanel *panel)
|
||||
{
|
||||
@ -1437,6 +1444,8 @@ panel_icon_renamed (GtkWidget *widget, int index, char *dest, WPanel *panel)
|
||||
if (mc_rename (source, dest) == 0){
|
||||
g_free (panel->dir.list [index].fname);
|
||||
panel->dir.list [index].fname = g_strdup (dest);
|
||||
|
||||
gtk_idle_add (queue_reread_cmd, NULL);
|
||||
return TRUE;
|
||||
} else
|
||||
return FALSE;
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user