[gnome-mines] theme-selector: Link the theme switcher buttons
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-mines] theme-selector: Link the theme switcher buttons
- Date: Thu, 15 Jan 2015 04:13:06 +0000 (UTC)
commit 9eff4699944461052c962457f79e74bf00f9ec0e
Author: Robert Roth <robert roth off gmail com>
Date: Thu Jan 15 06:12:52 2015 +0200
theme-selector: Link the theme switcher buttons
src/theme-selector-dialog.vala | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/src/theme-selector-dialog.vala b/src/theme-selector-dialog.vala
index dfc2cc5..4fc253c 100644
--- a/src/theme-selector-dialog.vala
+++ b/src/theme-selector-dialog.vala
@@ -91,16 +91,20 @@ public class ThemeSelectorDialog : Gtk.Dialog
next.valign = Gtk.Align.CENTER;
next.halign = Gtk.Align.END;
+ var buttons_holder = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 0);
+
if (use_headerbar) {
var headerbar = get_header_bar () as Gtk.HeaderBar;
headerbar.set_show_close_button (true);
get_content_area ().pack_start (create_preview_widget (out minefield), true, true, 0);
- headerbar.pack_start (previous);
- headerbar.pack_start (next);
+
+ buttons_holder.pack_start (previous);
+ buttons_holder.pack_start (next);
+ buttons_holder.get_style_context ().add_class ("linked");
+ headerbar.pack_start (buttons_holder);
} else {
add_button (_("Close"), Gtk.ResponseType.DELETE_EVENT);
border_width = 12;
- var buttons_holder = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 0);
buttons_holder.pack_start (previous, false, false, 0);
buttons_holder.pack_start (create_preview_widget (out minefield), true, true, 0);
buttons_holder.pack_start (next, false, false, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]