diff options
author | Don Scorgie <dscorgie@src.gnome.org> | 2006-02-15 17:12:36 +0000 |
---|---|---|
committer | Don Scorgie <dscorgie@src.gnome.org> | 2006-02-15 17:12:36 +0000 |
commit | 464bc4020b03f6456409851b9c6ae33500ad3803 (patch) | |
tree | a90af99313cdd1bff19f006b66d7e97fbbe994a4 | |
parent | 511eab93d1bb4d3daad50d76d47bb51fb607198b (diff) | |
download | yelp-464bc4020b03f6456409851b9c6ae33500ad3803.tar.gz |
Focus print preview on html widget, fixing funny window-not-resizing
* src/yelp-print.c:
Focus print preview on html widget, fixing funny
window-not-resizing issues
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/yelp-print.c | 3 |
2 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2006-02-15 Don Scorgie <dscorgie@cvs.gnome.org> + + * src/yelp-print.c: + Focus print preview on html widget, fixing funny + window-not-resizing issues + 2006-02-12 Brent Smith <gnome@nextreality.net> * NEWS: diff --git a/src/yelp-print.c b/src/yelp-print.c index 30eee3c4..4873736d 100644 --- a/src/yelp-print.c +++ b/src/yelp-print.c @@ -659,6 +659,9 @@ yelp_print_preview (YelpPrintInfo *info) gtk_window_get_size (GTK_WINDOW (info->owner), &width, &height); gtk_window_resize (GTK_WINDOW (info->fake_win), width, height); + gtk_container_set_focus_child (GTK_CONTAINER (info->fake_win), + GTK_WIDGET (info->html_frame)); + gtk_widget_show (GTK_WIDGET (info->fake_win)); return FALSE; |