From fa29a01c26e078b0ef486c1083e41ed7a0c1536e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 14 Jun 2015 21:37:58 -0400 Subject: [PATCH] widget-factory: Make the circular button do something --- demos/widget-factory/widget-factory.c | 2 ++ demos/widget-factory/widget-factory.ui | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/demos/widget-factory/widget-factory.c b/demos/widget-factory/widget-factory.c index 9f93a29025..76bc11f714 100644 --- a/demos/widget-factory/widget-factory.c +++ b/demos/widget-factory/widget-factory.c @@ -1364,6 +1364,8 @@ activate (GApplication *app) g_signal_connect (dialog, "response", G_CALLBACK (close_dialog), NULL); widget = (GtkWidget *)gtk_builder_get_object (builder, "preference_dialog_button"); g_signal_connect (widget, "clicked", G_CALLBACK (show_dialog), dialog); + widget = (GtkWidget *)gtk_builder_get_object (builder, "circular_button"); + g_signal_connect (widget, "clicked", G_CALLBACK (show_dialog), dialog); dialog = (GtkWidget *)gtk_builder_get_object (builder, "selection_dialog"); widget = (GtkWidget *)gtk_builder_get_object (builder, "text3"); diff --git a/demos/widget-factory/widget-factory.ui b/demos/widget-factory/widget-factory.ui index 31a110b42c..a0b78d3c22 100644 --- a/demos/widget-factory/widget-factory.ui +++ b/demos/widget-factory/widget-factory.ui @@ -2999,7 +2999,7 @@ microphone-sensitivity-medium-symbolic - + True