[gnome-commander] GnomeCmdFileSelector: do not call update_style() for non-existent file list
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] GnomeCmdFileSelector: do not call update_style() for non-existent file list
- Date: Sun, 1 Aug 2010 13:49:12 +0000 (UTC)
commit ab3239892fb8e98a21330821c240e9cb4384bc2c
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Sun Aug 1 15:46:30 2010 +0200
GnomeCmdFileSelector: do not call update_style() for non-existent file list
src/gnome-cmd-file-selector.cc | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-file-selector.cc b/src/gnome-cmd-file-selector.cc
index 015362d..296e27c 100644
--- a/src/gnome-cmd-file-selector.cc
+++ b/src/gnome-cmd-file-selector.cc
@@ -936,7 +936,9 @@ void GnomeCmdFileSelector::update_connections()
void GnomeCmdFileSelector::update_style()
{
con_combo->update_style();
- list->update_style();
+
+ if (list)
+ list->update_style();
if (priv->realized)
update_files();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]