[gnome-control-center] shell: Fix headerbar item positions
- From: Yosef Or Boczko <yoseforb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] shell: Fix headerbar item positions
- Date: Thu, 9 Jan 2014 10:46:00 +0000 (UTC)
commit c50b63cd78e0fb243fd9881ca15ae66390c42077
Author: Yosef Or Boczko <yoseforb gmail com>
Date: Wed Jan 8 23:37:03 2014 +0200
shell: Fix headerbar item positions
https://bugzilla.gnome.org/show_bug.cgi?id=721830
shell/cc-window.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/shell/cc-window.c b/shell/cc-window.c
index 7662fa9..8467d78 100644
--- a/shell/cc-window.c
+++ b/shell/cc-window.c
@@ -1488,9 +1488,6 @@ create_header (CcWindow *self)
g_signal_connect (priv->previous_button, "clicked", G_CALLBACK (previous_button_clicked_cb), self);
gtk_size_group_add_widget (priv->header_sizegroup, priv->previous_button);
- priv->top_right_box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
- gtk_header_bar_pack_end (GTK_HEADER_BAR (priv->header), priv->top_right_box);
-
/* toggle search button */
priv->search_button = gtk_toggle_button_new ();
image = gtk_image_new_from_icon_name ("edit-find-symbolic", GTK_ICON_SIZE_MENU);
@@ -1500,6 +1497,9 @@ create_header (CcWindow *self)
"image-button");
gtk_header_bar_pack_end (GTK_HEADER_BAR (priv->header), priv->search_button);
+ priv->top_right_box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
+ gtk_header_bar_pack_end (GTK_HEADER_BAR (priv->header), priv->top_right_box);
+
priv->lock_button = gtk_lock_button_new (NULL);
gtk_style_context_add_class (gtk_widget_get_style_context (priv->lock_button),
"text-button");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]