[nautilus] toolbar: formatting cleanup
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] toolbar: formatting cleanup
- Date: Sun, 25 Jan 2015 15:22:55 +0000 (UTC)
commit ac53a2e1664111bc0398bc3343f466ee43c39cf6
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sun Jan 25 12:57:05 2015 +0000
toolbar: formatting cleanup
src/nautilus-toolbar.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/nautilus-toolbar.c b/src/nautilus-toolbar.c
index 03ccd96..b8ff2ea 100644
--- a/src/nautilus-toolbar.c
+++ b/src/nautilus-toolbar.c
@@ -471,10 +471,6 @@ nautilus_toolbar_init (NautilusToolbar *self)
G_MENU_MODEL (self->priv->action_menu));
g_object_unref (builder);
- g_signal_connect(self->priv->zoom_level_scale, "value-changed",
- G_CALLBACK(zoom_level_changed),
- self);
-
g_object_set_data (G_OBJECT (self->priv->back_button), "nav-direction",
GUINT_TO_POINTER (NAUTILUS_NAVIGATION_DIRECTION_BACK));
g_object_set_data (G_OBJECT (self->priv->forward_button), "nav-direction",
@@ -487,6 +483,8 @@ nautilus_toolbar_init (NautilusToolbar *self)
G_CALLBACK (navigation_button_press_cb), self);
g_signal_connect (self->priv->forward_button, "button-release-event",
G_CALLBACK (navigation_button_release_cb), self);
+ g_signal_connect (self->priv->zoom_level_scale, "value-changed",
+ G_CALLBACK (zoom_level_changed), self);
gtk_widget_show_all (GTK_WIDGET (self));
toolbar_update_appearance (self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]