X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=blobdiff_plain;f=src%2Fpreferences.c;h=57f3e7b73e59298329a86faf44aa1330cfbe3af5;hp=046ed43cf11886441a00e582de4ce7313bd2e5c5;hb=e44198de08c121b3d32775e0353b5e326fecc307;hpb=1b57b82a571609d28aa5d4120c2a36e892bcd6f5 diff --git a/src/preferences.c b/src/preferences.c index 046ed43c..57f3e7b7 100644 --- a/src/preferences.c +++ b/src/preferences.c @@ -1513,33 +1513,6 @@ static void config_tab_image(GtkWidget *notebook) 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_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(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(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(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)); - - 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(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(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(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)); - - group = pref_group_new(vbox, FALSE, _("Appearance"), GTK_ORIENTATION_VERTICAL); pref_checkbox_new_int(group, _("Use custom border color in window mode"),