[Xfce4-commits] <ristretto:master> Remove scaling frame from preferences dialog

Stephan Arts noreply at xfce.org
Sun Oct 30 10:14:01 CET 2011


Updating branch refs/heads/master
         to f6a90a78b41bf19afa994d5dfbc3ff1cf0c11ed9 (commit)
       from 61840e8584061a2310908f96b71d737a3e3fcf5d (commit)

commit f6a90a78b41bf19afa994d5dfbc3ff1cf0c11ed9
Author: Stephan Arts <stephan at xfce.org>
Date:   Sun Oct 30 09:47:54 2011 +0100

    Remove  scaling frame from preferences dialog

 src/preferences_dialog.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/src/preferences_dialog.c b/src/preferences_dialog.c
index bc8b97a..b690f76 100644
--- a/src/preferences_dialog.c
+++ b/src/preferences_dialog.c
@@ -296,15 +296,6 @@ rstto_preferences_dialog_init(RsttoPreferencesDialog *dialog)
     gtk_notebook_append_page(GTK_NOTEBOOK(notebook), behaviour_main_vbox, behaviour_main_lbl);
 
     /********************************************/
-    dialog->priv->behaviour_tab.scaling_vbox = gtk_vbox_new(FALSE, 0);
-    dialog->priv->behaviour_tab.scaling_frame = xfce_gtk_frame_box_new_with_content(_("Scaling"), dialog->priv->behaviour_tab.scaling_vbox);
-    gtk_box_pack_start (GTK_BOX (behaviour_main_vbox), dialog->priv->behaviour_tab.scaling_frame, FALSE, FALSE, 0);
-    /* not used */
-    gtk_widget_set_sensitive (dialog->priv->behaviour_tab.scaling_vbox, FALSE);
-
-    dialog->priv->behaviour_tab.resize_image_on_maximize = gtk_check_button_new_with_label (_("Don't scale over 100% when maximizing the window."));
-    gtk_container_add (GTK_CONTAINER (dialog->priv->behaviour_tab.scaling_vbox), dialog->priv->behaviour_tab.resize_image_on_maximize);
-
     dialog->priv->behaviour_tab.startup_vbox = gtk_vbox_new(FALSE, 0);
     dialog->priv->behaviour_tab.startup_frame = xfce_gtk_frame_box_new_with_content(_("Startup"), dialog->priv->behaviour_tab.startup_vbox);
     gtk_box_pack_start (GTK_BOX (behaviour_main_vbox), dialog->priv->behaviour_tab.startup_frame, FALSE, FALSE, 0);


More information about the Xfce4-commits mailing list