[gnome-robots] Link the action buttons



commit d976dcf27d6b0b3a97bb13bfb242810fcc7a1653
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sat Jun 21 12:05:01 2014 -0500

    Link the action buttons

 src/gnome-robots.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-robots.c b/src/gnome-robots.c
index fa742ff..132faaa 100644
--- a/src/gnome-robots.c
+++ b/src/gnome-robots.c
@@ -324,6 +324,7 @@ activate (GtkApplication *app, gpointer user_data)
 {
   GtkWidget *errordialog, *vbox, *hbox, *label, *button, *gridframe;
   GtkSizeGroup *size_group;
+  GtkStyleContext *style_context;
   GtkBuilder *builder;
   GMenuModel *appmenu;
 
@@ -367,6 +368,9 @@ activate (GtkApplication *app, gpointer user_data)
   hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
   size_group = gtk_size_group_new (GTK_SIZE_GROUP_BOTH);
 
+  style_context = gtk_widget_get_style_context (hbox);
+  gtk_style_context_add_class (style_context, "linked");
+
   label = gtk_label_new_with_mnemonic (_("Teleport _Randomly"));
   gtk_widget_set_margin_top (label, 15);
   gtk_widget_set_margin_bottom (label, 15);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]