[gthumb: 8/40] update the ui when the viewer changes
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb: 8/40] update the ui when the viewer changes
- Date: Fri, 10 Sep 2010 16:56:52 +0000 (UTC)
commit 370f1a234ce2888f68e44d94f76c20c6adea196b
Author: Paolo Bacchilega <paobac src gnome org>
Date: Thu Sep 2 21:09:10 2010 +0200
update the ui when the viewer changes
gthumb/gth-browser.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gthumb/gth-browser.c b/gthumb/gth-browser.c
index 1f6c851..3635ef4 100644
--- a/gthumb/gth-browser.c
+++ b/gthumb/gth-browser.c
@@ -5271,6 +5271,8 @@ _gth_browser_load_file (GthBrowser *browser,
if (gth_window_get_current_page (GTH_WINDOW (browser)) == GTH_BROWSER_PAGE_VIEWER) {
int file_pos;
+ gth_viewer_page_show (browser->priv->viewer_page);
+
file_pos = gth_file_store_get_pos (GTH_FILE_STORE (gth_browser_get_file_store (browser)), browser->priv->current_file->file);
if (file_pos >= 0) {
GtkWidget *view;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]