widget-factory: Make the circular button do something

This commit is contained in:
Matthias Clasen 2015-06-14 21:37:58 -04:00
parent 675467063e
commit fa29a01c26
2 changed files with 3 additions and 1 deletions

View File

@ -1364,6 +1364,8 @@ activate (GApplication *app)
g_signal_connect (dialog, "response", G_CALLBACK (close_dialog), NULL); g_signal_connect (dialog, "response", G_CALLBACK (close_dialog), NULL);
widget = (GtkWidget *)gtk_builder_get_object (builder, "preference_dialog_button"); widget = (GtkWidget *)gtk_builder_get_object (builder, "preference_dialog_button");
g_signal_connect (widget, "clicked", G_CALLBACK (show_dialog), dialog); 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"); dialog = (GtkWidget *)gtk_builder_get_object (builder, "selection_dialog");
widget = (GtkWidget *)gtk_builder_get_object (builder, "text3"); widget = (GtkWidget *)gtk_builder_get_object (builder, "text3");

View File

@ -2999,7 +2999,7 @@ microphone-sensitivity-medium-symbolic</property>
</object> </object>
</child> </child>
<child> <child>
<object class="GtkButton"> <object class="GtkButton" id="circular_button">
<property name="visible">True</property> <property name="visible">True</property>
<style> <style>
<class name="image-button"/> <class name="image-button"/>