Commit 34a7538c authored by Michael J. Chudobiak's avatar Michael J. Chudobiak Committed by Michael J. Chudobiak

Removed mention of Bonobo components. Bug 389197.

2007-01-02  Michael J. Chudobiak  <mjc@cvs.gnome.org>

        * README: Removed mention of Bonobo components. Bug 389197.

        * data/glade/gthumb_redeye.glade: Added tooltips.

        * doc/C/gthumb.xml: Mention mousewheel-zooming in redeye removal tool.

        * src/dlg-redeye-removal.c: (dlg_redeye_removal):
        Larger preview area, based on gdk_screen_get_width/height. Bug 389587.


svn path=/trunk/; revision=1244
parent 1b003245
2007-01-02 Michael J. Chudobiak <mjc@cvs.gnome.org>
* README: Removed mention of Bonobo components. Bug 389197.
* data/glade/gthumb_redeye.glade: Added tooltips.
* doc/C/gthumb.xml: Mention mousewheel-zooming in redeye removal tool.
* src/dlg-redeye-removal.c: (dlg_redeye_removal):
Larger preview area, based on gdk_screen_get_width/height. Bug 389587.
2007-01-02 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-crop.c: added help button.
......
......@@ -64,11 +64,6 @@ What is gThumb
+ Find duplicated images.
+ Write images to CD/DVD.
* gThumb is a Bonobo component
+ Image viewer component. Differences with the EOG component:
display GIF animations, print the image and its comment.
Licensing
=========
......
......@@ -137,6 +137,7 @@
<widget class="GtkButton" id="redeye_undo_button">
<property name="visible">True</property>
<property name="sensitive">False</property>
<property name="tooltip" translatable="yes">Undo</property>
<property name="can_default">True</property>
<property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NONE</property>
......@@ -173,6 +174,7 @@
<widget class="GtkButton" id="redeye_redo_button">
<property name="visible">True</property>
<property name="sensitive">False</property>
<property name="tooltip" translatable="yes">Redo</property>
<property name="can_default">True</property>
<property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NONE</property>
......@@ -221,6 +223,7 @@
<child>
<widget class="GtkButton" id="redeye_zoom_in_button">
<property name="visible">True</property>
<property name="tooltip" translatable="yes">Zoom In</property>
<property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NONE</property>
<property name="focus_on_click">True</property>
......@@ -255,6 +258,7 @@
<child>
<widget class="GtkButton" id="redeye_zoom_out_button">
<property name="visible">True</property>
<property name="tooltip" translatable="yes">Zoom Out</property>
<property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NONE</property>
<property name="focus_on_click">True</property>
......@@ -289,6 +293,7 @@
<child>
<widget class="GtkButton" id="redeye_zoom_100_button">
<property name="visible">True</property>
<property name="tooltip" translatable="yes">Actual Size</property>
<property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NONE</property>
<property name="focus_on_click">True</property>
......@@ -323,6 +328,7 @@
<child>
<widget class="GtkButton" id="redeye_zoom_fit_button">
<property name="visible">True</property>
<property name="tooltip" translatable="yes">Zoom to Fit</property>
<property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NONE</property>
<property name="focus_on_click">True</property>
......
......@@ -915,12 +915,18 @@
result, simply click <guibutton>Undo</guibutton> to revert the previous change (or changes).
(Clicking <guibutton>Cancel</guibutton> will abandon all changes and close the window.)
Once you are satisfied with the result, you can click on more redeye regions, or
click <guibutton>OK</guibutton> to close the window.
click <guibutton>Save</guibutton> or <guibutton>Apply</guibutton> to close the window.
</para>
<para>The image must be re-saved in the usual manner after using
<para>
If you click <guibutton>Apply</guibutton>, the image must be re-saved in the usual manner after using
<menuchoice><guimenu>Image</guimenu><guimenuitem>Redeye Removal</guimenuitem></menuchoice>.
See <xref linkend="gthumb-save-images"/> for more information.
</para>
<para>
<guibutton>Zoom In</guibutton>, <guibutton>Zoom Out</guibutton>, <guibutton>Actual Size</guibutton>,
and <guibutton>Zoom to Fit</guibutton> buttons are provided to allow you to zoom to and from
regions of interest. The mouse wheel can also be used to zoom in and out.
</para>
</sect3>
</sect2>
<sect2 id="gthumb-save-images">
......
......@@ -42,7 +42,6 @@
#include "typedefs.h"
#include "gth-nav-window.h"
#define PREVIEW_SIZE 400
#define REGION_SEARCH_SIZE 3
#define GLADE_FILE "gthumb_redeye.glade"
......@@ -509,6 +508,7 @@ dlg_redeye_removal (GthWindow *window)
GtkWidget *cancel_button;
GtkWidget *help_button;
GtkWidget *zoom_in_button, *zoom_out_button, *zoom_100_button, *zoom_fit_button;
GdkScreen *screen;
data = g_new0 (DialogData, 1);
data->window = window;
......@@ -552,7 +552,14 @@ dlg_redeye_removal (GthWindow *window)
gth_image_selector_set_pixbuf (GTH_IMAGE_SELECTOR (data->image_selector), data->pixbuf);
data->nav_win = gth_nav_window_new (GTH_IVIEWER (data->image_selector));
gtk_widget_set_size_request (data->nav_win, PREVIEW_SIZE, PREVIEW_SIZE);
/* Size the image preview area so that it consumes 70% of the screen width and 60%
of the screen height. This should leave sufficient room for buttons, etc. */
screen = gdk_screen_get_default();
gtk_widget_set_size_request (data->nav_win,
gdk_screen_get_width(screen) * 7 / 10,
gdk_screen_get_height(screen) * 6 / 10);
gtk_container_add (GTK_CONTAINER (data->nav_container), data->nav_win);
......
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