file-roller r2249 - in trunk: . src
- From: paobac svn gnome org
- To: svn-commits-list gnome org
- Subject: file-roller r2249 - in trunk: . src
- Date: Tue, 15 Apr 2008 14:33:54 +0100 (BST)
Author: paobac
Date: Tue Apr 15 14:33:54 2008
New Revision: 2249
URL: http://svn.gnome.org/viewvc/file-roller?rev=2249&view=rev
Log:
2008-04-15 Paolo Bacchilega <paobac svn gnome org>
* src/fr-window.c: do not update the progress bar if the widget is
not realized.
(theme_changed_cb): update the view when updating the file list.
Modified:
trunk/ChangeLog
trunk/src/fr-window.c
Modified: trunk/src/fr-window.c
==============================================================================
--- trunk/src/fr-window.c (original)
+++ trunk/src/fr-window.c Tue Apr 15 14:33:54 2008
@@ -4393,7 +4393,7 @@
tree_pixbuf_hash = g_hash_table_new (g_str_hash, g_str_equal);
}
- fr_window_update_file_list (window, FALSE);
+ fr_window_update_file_list (window, TRUE);
fr_window_update_dir_tree (window);
}
@@ -6473,6 +6473,9 @@
g_source_remove (window->priv->activity_timeout_handle);
window->priv->activity_timeout_handle = 0;
+ if (! GTK_WIDGET_REALIZED (window))
+ return;
+
if (window->priv->progress_dialog != NULL)
gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (window->priv->pd_progress_bar), 0.0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]