[gtk/gbsneto/filechooser-column-view: 30/74] filechooserwidget: Don't queue redraw / resize on tree view
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gbsneto/filechooser-column-view: 30/74] filechooserwidget: Don't queue redraw / resize on tree view
- Date: Fri, 21 Oct 2022 02:40:32 +0000 (UTC)
commit 39c678988d4ed200bdb23ea953578309961a5500
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Sat Oct 8 14:50:18 2022 -0300
filechooserwidget: Don't queue redraw / resize on tree view
gtk/gtkfilechooserwidget.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
---
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c
index cd65c141b5..6ad243f5e1 100644
--- a/gtk/gtkfilechooserwidget.c
+++ b/gtk/gtkfilechooserwidget.c
@@ -2867,11 +2867,6 @@ update_appearance (GtkFileChooserWidget *impl)
_gtk_file_chooser_entry_set_action (GTK_FILE_CHOOSER_ENTRY (impl->location_entry), impl->action);
location_bar_update (impl);
-
- /* This *is* needed; we need to redraw the file list because the "sensitivity"
- * of files may change depending whether we are in a file or folder-only mode.
- */
- gtk_widget_queue_draw (impl->browse_files_tree_view);
}
static char *
@@ -3187,7 +3182,7 @@ gtk_file_chooser_widget_unroot (GtkWidget *widget)
static void
change_icon_theme (GtkFileChooserWidget *impl)
{
- gtk_widget_queue_resize (impl->browse_files_tree_view);
+ /* TODO: handle icon theme changes */
}
/* Callback used when a GtkSettings value changes */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]