[Xfce4-commits] [apps/gigolo] 27/35: More VBox/HPaned conversion
noreply at xfce.org
noreply at xfce.org
Mon Oct 31 18:19:01 CET 2016
This is an automated email from the git hooks/post-receive script.
landry pushed a commit to branch master
in repository apps/gigolo.
commit 2d01a55c0c6f26303fb06b52dff6beeeea1a3736
Author: Landry Breuil <landry at xfce.org>
Date: Sun Jun 19 17:26:56 2016 +0200
More VBox/HPaned conversion
---
src/bookmarkpanel.c | 7 ++++---
src/window.c | 2 +-
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/bookmarkpanel.c b/src/bookmarkpanel.c
index 0c4334e..9b4f4fe 100644
--- a/src/bookmarkpanel.c
+++ b/src/bookmarkpanel.c
@@ -55,12 +55,12 @@ enum
struct _GigoloBookmarkPanel
{
- GtkVBox parent;
+ GtkBox parent;
};
struct _GigoloBookmarkPanelClass
{
- GtkVBoxClass parent_class;
+ GtkBoxClass parent_class;
};
struct _GigoloBookmarkPanelPrivate
@@ -73,7 +73,7 @@ struct _GigoloBookmarkPanelPrivate
GtkListStore *store;
};
-G_DEFINE_TYPE(GigoloBookmarkPanel, gigolo_bookmark_panel, GTK_TYPE_VBOX);
+G_DEFINE_TYPE(GigoloBookmarkPanel, gigolo_bookmark_panel, GTK_TYPE_BOX);
@@ -248,6 +248,7 @@ static void gigolo_bookmark_panel_init(GigoloBookmarkPanel *self)
GtkToolItem *toolitem;
GigoloBookmarkPanelPrivate *priv = GIGOLO_BOOKMARK_PANEL_GET_PRIVATE(self);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (self), GTK_ORIENTATION_VERTICAL);
toolbar = gtk_toolbar_new();
gtk_toolbar_set_style(GTK_TOOLBAR(toolbar), GTK_TOOLBAR_BOTH_HORIZ);
gtk_toolbar_set_icon_size(GTK_TOOLBAR(toolbar), GTK_ICON_SIZE_BUTTON);
diff --git a/src/window.c b/src/window.c
index 7263054..2de0f58 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1480,7 +1480,7 @@ static GtkWidget *gigolo_window_create_panel(GigoloWindow *window)
GtkWidget *panel_pane, *label;
GigoloWindowPrivate *priv = GIGOLO_WINDOW_GET_PRIVATE(window);
- panel_pane = gtk_hpaned_new();
+ panel_pane = gtk_paned_new(GTK_ORIENTATION_HORIZONTAL);
gtk_paned_set_position(GTK_PANED(panel_pane), 200);
priv->notebook_panel = gtk_notebook_new();
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list