Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-view.c
diff options
context:
space:
mode:
authorWouter Bolsterlee <wbolster@cvs.gnome.org>2006-10-27 09:51:46 (GMT)
committer Wouter Bolsterlee <wbolster@src.gnome.org>2006-10-27 09:51:46 (GMT)
commit46dd6bbf290e60f7642efcd8d0454b8ee21a3834 (patch)
treee2fd77844194c4a17b4cf9415b2f4c8630238569 /shell/ev-view.c
parentd3a8f690dd00a20111d4275091dfd1c068f04589 (diff)
Don't render "loading..." text in presentation mode. Temporary workaround
2006-10-27 Wouter Bolsterlee <wbolster@cvs.gnome.org> * shell/ev-view.c: (draw_loading_text): Don't render "loading..." text in presentation mode. Temporary workaround for bug #320352.
Diffstat (limited to 'shell/ev-view.c')
-rw-r--r--shell/ev-view.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/ev-view.c b/shell/ev-view.c
index 3da5e83..3eed46a 100644
--- a/shell/ev-view.c
+++ b/shell/ev-view.c
@@ -2228,6 +2228,12 @@ draw_loading_text (EvView *view,
double real_scale;
int target_width;
+ /* Don't annoy users with loading messages during presentations.
+ * FIXME: Temporary "workaround" for
+ * http://bugzilla.gnome.org/show_bug.cgi?id=320352 */
+ if (view->presentation)
+ return;
+
const char *loading_text = _("Loading...");
layout = gtk_widget_create_pango_layout (GTK_WIDGET (view), loading_text);