Revision: 1612
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1612&view=rev
Author:   nadvornik
Date:     2009-04-05 09:25:48 +0000 (Sun, 05 Apr 2009)

Log Message:
-----------
improved Scroll reset method in preferences dialog

Modified Paths:
--------------
    trunk/src/preferences.c

Modified: trunk/src/preferences.c
===================================================================
--- trunk/src/preferences.c     2009-04-04 23:12:19 UTC (rev 1611)
+++ trunk/src/preferences.c     2009-04-05 09:25:48 UTC (rev 1612)
@@ -962,6 +962,7 @@
 {
        GtkWidget *hbox;
        GtkWidget *vbox;
+       GtkWidget *vbox2;
        GtkWidget *group;
        GtkWidget *button;
        GtkWidget *ct_button;
@@ -998,29 +999,29 @@
                             G_CALLBACK(zoom_increment_cb), NULL);
        gtk_spin_button_set_update_policy(GTK_SPIN_BUTTON(spin), 
GTK_UPDATE_ALWAYS);
 
-       group = pref_group_new(vbox, FALSE, _("When new image is selected:"), 
GTK_ORIENTATION_VERTICAL);
+       group = pref_group_new(vbox, FALSE, _("When new image is selected:"), 
GTK_ORIENTATION_HORIZONTAL);
 
+       vbox2 = pref_box_new(group, TRUE, GTK_ORIENTATION_VERTICAL, 
PREF_PAD_SPACE);
        c_options->image.zoom_mode = options->image.zoom_mode;
-       button = pref_radiobutton_new(group, NULL, _("Zoom to original size"),
+       button = pref_radiobutton_new(vbox2, NULL, _("Zoom to original size"),
                                      (options->image.zoom_mode == 
ZOOM_RESET_ORIGINAL),
                                      G_CALLBACK(zoom_mode_cb), 
GINT_TO_POINTER(ZOOM_RESET_ORIGINAL));
-       button = pref_radiobutton_new(group, button, _("Fit image to window"),
+       button = pref_radiobutton_new(vbox2, button, _("Fit image to window"),
                                      (options->image.zoom_mode == 
ZOOM_RESET_FIT_WINDOW),
                                      G_CALLBACK(zoom_mode_cb), 
GINT_TO_POINTER(ZOOM_RESET_FIT_WINDOW));
-       button = pref_radiobutton_new(group, button, _("Leave Zoom at previous 
setting"),
+       button = pref_radiobutton_new(vbox2, button, _("Leave Zoom at previous 
setting"),
                                      (options->image.zoom_mode == 
ZOOM_RESET_NONE),
                                      G_CALLBACK(zoom_mode_cb), 
GINT_TO_POINTER(ZOOM_RESET_NONE));
 
-       group = pref_group_new(vbox, FALSE, _("Scroll reset method:"), 
GTK_ORIENTATION_VERTICAL);
-
+       vbox2 = pref_box_new(group, TRUE, GTK_ORIENTATION_VERTICAL, 
PREF_PAD_SPACE);
        c_options->image.scroll_reset_method = 
options->image.scroll_reset_method;
-       button = pref_radiobutton_new(group, NULL, _("Top left"),
+       button = pref_radiobutton_new(vbox2, NULL, _("Scroll to top left 
corner"),
                                      (options->image.scroll_reset_method == 
SCROLL_RESET_TOPLEFT),
                                      G_CALLBACK(scroll_reset_cb), 
GINT_TO_POINTER(SCROLL_RESET_TOPLEFT));
-       button = pref_radiobutton_new(group, button, _("Center"),
+       button = pref_radiobutton_new(vbox2, button, _("Scroll to image 
center"),
                                      (options->image.scroll_reset_method == 
SCROLL_RESET_CENTER),
                                      G_CALLBACK(scroll_reset_cb), 
GINT_TO_POINTER(SCROLL_RESET_CENTER));
-       button = pref_radiobutton_new(group, button, _("No change"),
+       button = pref_radiobutton_new(vbox2, button, _("Keep the region from 
previous image"),
                                      (options->image.scroll_reset_method == 
SCROLL_RESET_NOCHANGE),
                                      G_CALLBACK(scroll_reset_cb), 
GINT_TO_POINTER(SCROLL_RESET_NOCHANGE));
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to