]> git.lyx.org Git - features.git/commitdiff
minor fixes to gtk graphics dialog
authorJohn Spray <spray@lyx.org>
Mon, 1 Nov 2004 10:23:11 +0000 (10:23 +0000)
committerJohn Spray <spray@lyx.org>
Mon, 1 Nov 2004 10:23:11 +0000 (10:23 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9154 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/gtk/GGraphics.C
src/frontends/gtk/glade/graphics.glade

index 60bcf411a8e98dced18b73e3db905bd58f679724..1e4c56d446f162e8082b441dade3d2585b77ca62 100644 (file)
@@ -402,11 +402,12 @@ void GGraphics::update() {
        updateComboFromLength(heightunitscombo_, igp.height);
 
        if (!float_equal(igp.scale, 0.0, 0.05)) {
-               //scaling sizing mode
+               // scaling sizing mode
                setscalingradio_->set_active(true);
        } else {
                setsizeradio_->set_active(true);
        }
+       onSizingModeChange();
 
        aspectcheck_->set_active(igp.keepAspectRatio);
        draftcheck_->set_active(igp.draft);
@@ -440,6 +441,7 @@ void GGraphics::update() {
                notebook_->set_current_page(0);
        }
 
+
        bc().input(ButtonPolicy::SMI_INVALID);
 }
 
index aa0d9c536357bd9a80d4a0c6d9e973005ccbd9e0..2acc603e6d6f611a3e39d689013235678f2bafb3 100644 (file)
                              <property name="max_length">0</property>
                              <property name="text" translatable="yes"></property>
                              <property name="has_frame">True</property>
-                             <property name="invisible_char">*</property>
+                             <property name="invisible_char" translatable="yes">*</property>
                              <property name="activates_default">False</property>
                            </widget>
                            <packing>
@@ -613,6 +613,7 @@ Do not display</property>
                          <child>
                            <widget class="GtkSpinButton" id="Width">
                              <property name="visible">True</property>
+                             <property name="sensitive">False</property>
                              <property name="can_focus">True</property>
                              <property name="climb_rate">1</property>
                              <property name="digits">0</property>
@@ -634,6 +635,7 @@ Do not display</property>
                          <child>
                            <widget class="GtkCheckButton" id="MaintainAspectRatio">
                              <property name="visible">True</property>
+                             <property name="sensitive">False</property>
                              <property name="can_focus">True</property>
                              <property name="label" translatable="yes">_Maintain aspect ratio</property>
                              <property name="use_underline">True</property>
@@ -798,6 +800,7 @@ Do not display</property>
                          <child>
                            <widget class="GtkComboBox" id="WidthUnits">
                              <property name="visible">True</property>
+                             <property name="sensitive">False</property>
                            </widget>
                            <packing>
                              <property name="left_attach">3</property>
@@ -812,6 +815,7 @@ Do not display</property>
                          <child>
                            <widget class="GtkComboBox" id="HeightUnits">
                              <property name="visible">True</property>
+                             <property name="sensitive">False</property>
                            </widget>
                            <packing>
                              <property name="left_attach">3</property>
@@ -862,6 +866,7 @@ Do not display</property>
                          <child>
                            <widget class="GtkSpinButton" id="Height">
                              <property name="visible">True</property>
+                             <property name="sensitive">False</property>
                              <property name="can_focus">True</property>
                              <property name="climb_rate">1</property>
                              <property name="digits">0</property>
@@ -1541,7 +1546,7 @@ Do not display</property>
                      <property name="max_length">0</property>
                      <property name="text" translatable="yes"></property>
                      <property name="has_frame">True</property>
-                     <property name="invisible_char">*</property>
+                     <property name="invisible_char" translatable="yes">*</property>
                      <property name="activates_default">False</property>
                    </widget>
                    <packing>
@@ -1594,7 +1599,7 @@ Do not display</property>
                      <property name="max_length">0</property>
                      <property name="text" translatable="yes"></property>
                      <property name="has_frame">True</property>
-                     <property name="invisible_char">*</property>
+                     <property name="invisible_char" translatable="yes">*</property>
                      <property name="activates_default">False</property>
                    </widget>
                    <packing>