[Xfce4-commits] <xfce4-taskmanager:master> Only display "Show application icons" when built with WNCK

Mike Massonnet noreply at xfce.org
Sun Oct 10 14:12:01 CEST 2010


Updating branch refs/heads/master
         to 94f08311740932343128262214139e7100706bd9 (commit)
       from 7120c2f645bc47898be3d3e29f993359e6166230 (commit)

commit 94f08311740932343128262214139e7100706bd9
Author: Mike Massonnet <mmassonnet at xfce.org>
Date:   Sun Oct 10 00:00:04 2010 +0200

    Only display "Show application icons" when built with WNCK

 src/settings-dialog.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/settings-dialog.c b/src/settings-dialog.c
index ca6baf7..b191430 100644
--- a/src/settings-dialog.c
+++ b/src/settings-dialog.c
@@ -98,6 +98,10 @@ xtm_settings_dialog_init (XtmSettingsDialog *dialog)
 
 	dialog->window = GTK_WIDGET (gtk_builder_get_object (builder, "settings-dialog"));
 
+#ifndef HAVE_WNCK
+	gtk_widget_hide (GTK_WIDGET (gtk_builder_get_object (builder, "button-show-application-icons")));
+#endif
+
 	builder_bind_toggle_button (builder, "button-show-application-icons", dialog->settings, "show-application-icons");
 	builder_bind_toggle_button (builder, "button-full-command-line", dialog->settings, "full-command-line");
 	builder_bind_toggle_button (builder, "button-more-precision", dialog->settings, "more-precision");



More information about the Xfce4-commits mailing list