Commit dd6fe2d2 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

set a size request on the GimpPageSelector widget.

2007-05-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/poppler.c (load_dialog): set a size request on
	the GimpPageSelector widget.

svn path=/trunk/; revision=22380
parent 6a9db536
2007-05-02 Sven Neumann <sven@gimp.org>
* plug-ins/common/poppler.c (load_dialog): set a size request on
the GimpPageSelector widget.
2007-05-02 Sven Neumann <sven@gimp.org>
* app/tools/gimpperspectiveclonetool.c
......@@ -643,10 +643,14 @@ load_dialog (PopplerDocument *doc,
/* Page Selector */
selector = gimp_page_selector_new ();
gtk_widget_set_size_request (selector, 380, 360);
gtk_box_pack_start (GTK_BOX (vbox), selector, TRUE, TRUE, 0);
gtk_widget_show (selector);
n_pages = poppler_document_get_n_pages (doc);
gimp_page_selector_set_n_pages (GIMP_PAGE_SELECTOR (selector), n_pages);
gimp_page_selector_set_target (GIMP_PAGE_SELECTOR (selector), loadvals.target);
gimp_page_selector_set_target (GIMP_PAGE_SELECTOR (selector),
loadvals.target);
for (i = 0; i < n_pages; i++)
{
......@@ -670,8 +674,6 @@ load_dialog (PopplerDocument *doc,
G_CALLBACK (gtk_window_activate_default),
dialog);
gtk_widget_show (selector);
thread_data.document = doc;
thread_data.selector = GIMP_PAGE_SELECTOR (selector);
thread_data.stop_thumbnailing = FALSE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment