]> granicus.if.org Git - handbrake/commitdiff
LinGui: fix display of preset menu arrow on ubuntu trusty
authorJohn Stebbins <jstebbins.hb@gmail.com>
Wed, 27 Jun 2018 21:11:05 +0000 (14:11 -0700)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Wed, 27 Jun 2018 21:11:05 +0000 (14:11 -0700)
"pan-end-symbolic" icon name doesn't exist on trusty.  Use GtkArrow
instead.  GtkArrow is deprecated in new GTK versions, but is still OK on
trusty.

gtk/src/ghb.m4

index 586e732a6183d4638e6152ddf88954719b58c727..1f408ca87c2778f440bcf5c01c6ea0b94f48d31d 100644 (file)
@@ -1634,6 +1634,8 @@ This is often the feature title of a DVD.</property>
                                 <property name="position">0</property>
                               </packing>
                             </child>
+])dnl
+ifelse(eval(gtk_version > 310), 1, filter_output([
                             <child>
                               <object class="GtkImage" id="presets_menu_button_arrow">
                                 <property name="visible">True</property>
@@ -1646,6 +1648,21 @@ This is often the feature title of a DVD.</property>
                                 <property name="position">1</property>
                               </packing>
                             </child>
+]), filter_output([
+                            <child>
+                              <object class="GtkArrow" id="presets_menu_button_arrow">
+                                <property name="visible">True</property>
+                                <property name="can_focus">False</property>
+                                <property name="arrow-type">GTK_ARROW_RIGHT</property>
+                              </object>
+                              <packing>
+                                <property name="expand">False</property>
+                                <property name="fill">True</property>
+                                <property name="position">1</property>
+                              </packing>
+                            </child>
+]))dnl
+filter_output([
                           </object>
                         </child>
                       </object>