[Xfce4-commits] r30136 - terminal/trunk/terminal

Nick Schermer nick at xfce.org
Thu Jul 2 19:03:48 CEST 2009


Author: nick
Date: 2009-07-02 17:03:48 +0000 (Thu, 02 Jul 2009)
New Revision: 30136

Modified:
   terminal/trunk/terminal/terminal-preferences-dialog.c
Log:
Bind or hide the anti-alias setting in the properties dialog.


Modified: terminal/trunk/terminal/terminal-preferences-dialog.c
===================================================================
--- terminal/trunk/terminal/terminal-preferences-dialog.c	2009-07-02 16:59:34 UTC (rev 30135)
+++ terminal/trunk/terminal/terminal-preferences-dialog.c	2009-07-02 17:03:48 UTC (rev 30136)
@@ -89,7 +89,11 @@
                                     "misc-borders-default", "color-selection-use-default",
                                     "shortcuts-no-mnemonics", "shortcuts-no-menukey",
                                     "binding-backspace", "binding-delete",
-                                    "background-mode", "background-image-style" };
+                                    "background-mode", "background-image-style" 
+#if TERMINAL_HAS_ANTI_ALIAS_SETTING
+                                    , "font-anti-alias"
+#endif
+                                    };
   const gchar   *props_color[] =  { "color-foreground", "color-cursor",
                                     "color-background", "tab-activity-color",
                                     "color-selection" };
@@ -151,6 +155,13 @@
   BIND_PROPERTIES ("tab-activity-timeout", "value");
   BIND_PROPERTIES ("background-darkness", "value");
 
+#if !TERMINAL_HAS_ANTI_ALIAS_SETTING
+  /* hide anti alias setting */
+  object = gtk_builder_get_object (GTK_BUILDER (dialog), "font-anti-alias");
+  terminal_return_if_fail (G_IS_OBJECT (object));
+  gtk_widget_hide (GTK_WIDGET (object));
+#endif
+
   /* reset comparibility button */
   object = gtk_builder_get_object (GTK_BUILDER (dialog), "reset-compatibility");
   terminal_return_if_fail (G_IS_OBJECT (object));




More information about the Xfce4-commits mailing list