static void contents_changed (void) { if (messageyesno (_("Rescan your home folder?"), _("The content of your home folder has changed. Select rescan to update the disk usage details."), GTK_MESSAGE_QUESTION, _("_Rescan"), baobab.window) == GTK_RESPONSE_OK) { baobab_rescan_current_dir (); } else { /* Just update the total */ baobab_update_filesystem (); } }
static void contents_changed (void) { baobab_get_filesystem (&g_fs); set_label_scan (&g_fs); show_label (); if (messageyesno (_("Rescan your home folder?"), _("The content of your home folder has changed. Select rescan to update the disk usage details."), GTK_MESSAGE_QUESTION, _("_Rescan"), baobab.window) == GTK_RESPONSE_OK) { baobab_rescan_current_dir (); } }
void on_tbrescan_clicked (GtkToolButton *toolbutton, gpointer user_data) { baobab_rescan_current_dir (); }
void on_menu_rescan_activate (GtkMenuItem *menuitem, gpointer user_data) { baobab_rescan_current_dir (); }