diff options
Diffstat (limited to 'capplets/network')
-rw-r--r-- | capplets/network/mate-network-properties.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/capplets/network/mate-network-properties.c b/capplets/network/mate-network-properties.c index af17495b..8400e822 100644 --- a/capplets/network/mate-network-properties.c +++ b/capplets/network/mate-network-properties.c @@ -479,6 +479,13 @@ main (int argc, char **argv) setup_dialog (builder); widget = _gtk_builder_get_widget (builder, "network_dialog"); + + GtkNotebook* nb = GTK_NOTEBOOK (_gtk_builder_get_widget (builder, "notebook1")); + gtk_widget_add_events (GTK_WIDGET (nb), GDK_SCROLL_MASK); + g_signal_connect (GTK_WIDGET (nb), "scroll-event", + G_CALLBACK (capplet_dialog_page_scroll_event_cb), + GTK_WINDOW (widget)); + capplet_set_icon (widget, "network-server"); gtk_widget_show_all (widget); gtk_main (); |