[gnome-builder/wip/chergert/razzledazzle: 3/3] pnl: switch to libdazzle from panel-gtk
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/razzledazzle: 3/3] pnl: switch to libdazzle from panel-gtk
- Date: Thu, 1 Jun 2017 06:34:58 +0000 (UTC)
commit 4700562edcce0e478ce7efc72104a8fe0544fe27
Author: Christian Hergert <chergert redhat com>
Date: Wed May 31 23:34:25 2017 -0700
pnl: switch to libdazzle from panel-gtk
Now that we have a dependency on libdazzle, we no longer need our vendored
panel-gtk.
.gitignore | 3 +
contrib/pnl/meson.build | 126 --
contrib/pnl/pnl-animation.c | 1231 -------------
contrib/pnl/pnl-animation.h | 82 -
contrib/pnl/pnl-dock-bin-edge-private.h | 31 -
contrib/pnl/pnl-dock-bin-edge.c | 255 ---
contrib/pnl/pnl-dock-bin-edge.h | 50 -
contrib/pnl/pnl-dock-bin.c | 1929 --------------------
contrib/pnl/pnl-dock-bin.h | 55 -
contrib/pnl/pnl-dock-item.c | 456 -----
contrib/pnl/pnl-dock-item.h | 65 -
contrib/pnl/pnl-dock-manager.c | 338 ----
contrib/pnl/pnl-dock-manager.h | 57 -
contrib/pnl/pnl-dock-overlay-edge.c | 290 ---
contrib/pnl/pnl-dock-overlay-edge.h | 39 -
contrib/pnl/pnl-dock-overlay.c | 1131 ------------
contrib/pnl/pnl-dock-overlay.h | 57 -
contrib/pnl/pnl-dock-paned-private.h | 31 -
contrib/pnl/pnl-dock-paned.c | 134 --
contrib/pnl/pnl-dock-paned.h | 48 -
contrib/pnl/pnl-dock-revealer.c | 892 ---------
contrib/pnl/pnl-dock-revealer.h | 79 -
contrib/pnl/pnl-dock-stack.c | 320 ----
contrib/pnl/pnl-dock-stack.h | 42 -
contrib/pnl/pnl-dock-tab-strip.c | 41 -
contrib/pnl/pnl-dock-tab-strip.h | 34 -
contrib/pnl/pnl-dock-transient-grab.c | 322 ----
contrib/pnl/pnl-dock-transient-grab.h | 50 -
contrib/pnl/pnl-dock-types.h | 56 -
contrib/pnl/pnl-dock-widget.c | 184 --
contrib/pnl/pnl-dock-widget.h | 51 -
contrib/pnl/pnl-dock-window.c | 113 --
contrib/pnl/pnl-dock-window.h | 39 -
contrib/pnl/pnl-dock.c | 43 -
contrib/pnl/pnl-dock.h | 37 -
contrib/pnl/pnl-frame-source.c | 130 --
contrib/pnl/pnl-frame-source.h | 36 -
contrib/pnl/pnl-multi-paned.c | 1913 -------------------
contrib/pnl/pnl-multi-paned.h | 59 -
contrib/pnl/pnl-tab-strip.c | 599 ------
contrib/pnl/pnl-tab-strip.h | 53 -
contrib/pnl/pnl-tab.c | 265 ---
contrib/pnl/pnl-tab.h | 47 -
contrib/pnl/pnl-util-private.h | 39 -
contrib/pnl/pnl-util.c | 109 --
contrib/pnl/pnl-version.h.in | 97 -
contrib/pnl/pnl.gresource.xml | 8 -
contrib/pnl/pnl.h | 53 -
contrib/pnl/pnl.map | 6 -
.../pnl/resources/panel-bottom-pane-symbolic.svg | 26 -
contrib/pnl/resources/panel-left-pane-symbolic.svg | 26 -
.../pnl/resources/panel-right-pane-symbolic.svg | 26 -
libide/buildui/ide-build-log-panel.c | 4 +-
libide/buildui/ide-build-log-panel.h | 2 +-
libide/buildui/ide-build-log-panel.ui | 2 +-
libide/buildui/ide-build-panel.c | 4 +-
libide/buildui/ide-build-panel.h | 2 +-
libide/buildui/ide-build-panel.ui | 2 +-
libide/buildui/ide-build-workbench-addin.c | 2 +-
libide/editor/ide-editor-perspective.c | 87 +-
libide/editor/ide-editor-perspective.h | 6 +-
libide/editor/ide-editor-perspective.ui | 2 +-
libide/editor/ide-editor-spell-language-popover.c | 6 +-
libide/editor/ide-editor-workbench-addin.c | 4 +-
libide/meson.build | 9 +-
libide/workbench/ide-layout-pane.c | 8 +-
libide/workbench/ide-layout-pane.h | 4 +-
libide/workbench/ide-layout-pane.ui | 4 +-
libide/workbench/ide-layout.c | 6 +-
libide/workbench/ide-layout.h | 6 +-
libide/workbench/ide-workbench.c | 2 +-
meson.build | 1 -
.../color-picker/gb-color-picker-workbench-addin.c | 2 +-
plugins/devhelp/gbp-devhelp-editor-view-addin.c | 2 +-
plugins/devhelp/gbp-devhelp-panel.c | 4 +-
plugins/devhelp/gbp-devhelp-panel.h | 4 +-
plugins/project-tree/gb-project-tree-addin.c | 2 +-
plugins/symbol-tree/symbol-tree-panel.c | 4 +-
plugins/symbol-tree/symbol-tree-panel.h | 2 +-
plugins/symbol-tree/symbol-tree-panel.ui | 2 +-
plugins/sysmon/gb-sysmon-panel.c | 4 +-
plugins/sysmon/gb-sysmon-panel.h | 2 +-
plugins/sysmon/gb-sysmon-panel.ui | 2 +-
plugins/sysprof/gbp-sysprof-perspective.ui | 2 +-
plugins/terminal/gb-terminal-workbench-addin.c | 4 +-
plugins/todo/todo_plugin/__init__.py | 4 +-
86 files changed, 103 insertions(+), 12303 deletions(-)
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..4d6a660
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+_build
+*.swp
+*~
diff --git a/libide/buildui/ide-build-log-panel.c b/libide/buildui/ide-build-log-panel.c
index c5cec4a..a7b5266 100644
--- a/libide/buildui/ide-build-log-panel.c
+++ b/libide/buildui/ide-build-log-panel.c
@@ -42,7 +42,7 @@ typedef struct _ColorCodeState
struct _IdeBuildLogPanel
{
- PnlDockWidget parent_instance;
+ DzlDockWidget parent_instance;
IdeBuildPipeline *pipeline;
GtkCssProvider *css;
@@ -69,7 +69,7 @@ enum {
LAST_PROP
};
-G_DEFINE_TYPE (IdeBuildLogPanel, ide_build_log_panel, PNL_TYPE_DOCK_WIDGET)
+G_DEFINE_TYPE (IdeBuildLogPanel, ide_build_log_panel, DZL_TYPE_DOCK_WIDGET)
static GParamSpec *properties [LAST_PROP];
diff --git a/libide/buildui/ide-build-log-panel.h b/libide/buildui/ide-build-log-panel.h
index d2145fc..029705a 100644
--- a/libide/buildui/ide-build-log-panel.h
+++ b/libide/buildui/ide-build-log-panel.h
@@ -25,7 +25,7 @@ G_BEGIN_DECLS
#define IDE_TYPE_BUILD_LOG_PANEL (ide_build_log_panel_get_type())
-G_DECLARE_FINAL_TYPE (IdeBuildLogPanel, ide_build_log_panel, IDE, BUILD_LOG_PANEL, PnlDockWidget)
+G_DECLARE_FINAL_TYPE (IdeBuildLogPanel, ide_build_log_panel, IDE, BUILD_LOG_PANEL, DzlDockWidget)
void ide_build_log_panel_set_pipeline (IdeBuildLogPanel *self,
IdeBuildPipeline *pipeline);
diff --git a/libide/buildui/ide-build-log-panel.ui b/libide/buildui/ide-build-log-panel.ui
index e70b365..38e85a3 100644
--- a/libide/buildui/ide-build-log-panel.ui
+++ b/libide/buildui/ide-build-log-panel.ui
@@ -1,5 +1,5 @@
<interface>
- <template class="IdeBuildLogPanel" parent="PnlDockWidget">
+ <template class="IdeBuildLogPanel" parent="DzlDockWidget">
<child>
<object class="GtkBox">
<property name="orientation">horizontal</property>
diff --git a/libide/buildui/ide-build-panel.c b/libide/buildui/ide-build-panel.c
index 3fdb9ac..c31800d 100644
--- a/libide/buildui/ide-build-panel.c
+++ b/libide/buildui/ide-build-panel.c
@@ -25,7 +25,7 @@
struct _IdeBuildPanel
{
- PnlDockWidget parent_instance;
+ DzlDockWidget parent_instance;
GHashTable *diags_hash;
IdeBuildPipeline *pipeline;
@@ -45,7 +45,7 @@ struct _IdeBuildPanel
guint warning_count;
};
-G_DEFINE_TYPE (IdeBuildPanel, ide_build_panel, PNL_TYPE_DOCK_WIDGET)
+G_DEFINE_TYPE (IdeBuildPanel, ide_build_panel, DZL_TYPE_DOCK_WIDGET)
enum {
COLUMN_DIAGNOSTIC,
diff --git a/libide/buildui/ide-build-panel.h b/libide/buildui/ide-build-panel.h
index c8e48e0..991ea2b 100644
--- a/libide/buildui/ide-build-panel.h
+++ b/libide/buildui/ide-build-panel.h
@@ -26,7 +26,7 @@ G_BEGIN_DECLS
#define IDE_TYPE_BUILD_PANEL (ide_build_panel_get_type())
-G_DECLARE_FINAL_TYPE (IdeBuildPanel, ide_build_panel, IDE, BUILD_PANEL, PnlDockWidget)
+G_DECLARE_FINAL_TYPE (IdeBuildPanel, ide_build_panel, IDE, BUILD_PANEL, DzlDockWidget)
G_END_DECLS
diff --git a/libide/buildui/ide-build-panel.ui b/libide/buildui/ide-build-panel.ui
index e3993f6..c2dc8a5 100644
--- a/libide/buildui/ide-build-panel.ui
+++ b/libide/buildui/ide-build-panel.ui
@@ -1,5 +1,5 @@
<interface>
- <template class="IdeBuildPanel" parent="PnlDockWidget">
+ <template class="IdeBuildPanel" parent="DzlDockWidget">
<child>
<object class="GtkBox" id="toplevel">
<property name="visible">true</property>
diff --git a/libide/buildui/ide-build-workbench-addin.c b/libide/buildui/ide-build-workbench-addin.c
index 8c80459..46c4440 100644
--- a/libide/buildui/ide-build-workbench-addin.c
+++ b/libide/buildui/ide-build-workbench-addin.c
@@ -70,7 +70,7 @@ ide_build_workbench_addin_set_pipeline (IdeBuildWorkbenchAddin *self,
if (!gtk_widget_get_visible (GTK_WIDGET (self->build_log_panel)))
{
gtk_widget_show (GTK_WIDGET (self->build_log_panel));
- pnl_dock_item_present (PNL_DOCK_ITEM (self->build_log_panel));
+ dzl_dock_item_present (DZL_DOCK_ITEM (self->build_log_panel));
}
g_object_notify_by_pspec (G_OBJECT (self), properties [PROP_PIPELINE]);
diff --git a/libide/editor/ide-editor-perspective.c b/libide/editor/ide-editor-perspective.c
index 955b55b..9c871d9 100644
--- a/libide/editor/ide-editor-perspective.c
+++ b/libide/editor/ide-editor-perspective.c
@@ -20,7 +20,6 @@
#include <egg-signal-group.h>
#include <glib/gi18n.h>
-#include <pnl.h>
#include "ide-context.h"
#include "ide-debug.h"
@@ -40,7 +39,7 @@
struct _IdeEditorPerspective
{
- PnlDockOverlay parent_instance;
+ DzlDockOverlay parent_instance;
GtkWidget *active_view;
IdeLayout *layout;
@@ -66,7 +65,7 @@ static void ide_editor_perspective_focus_location_full (IdeEditorPerspective
IdeSourceLocation *location,
gboolean open_if_not_found);
-G_DEFINE_TYPE_EXTENDED (IdeEditorPerspective, ide_editor_perspective, PNL_TYPE_DOCK_OVERLAY, 0,
+G_DEFINE_TYPE_EXTENDED (IdeEditorPerspective, ide_editor_perspective, DZL_TYPE_DOCK_OVERLAY, 0,
G_IMPLEMENT_INTERFACE (IDE_TYPE_PERSPECTIVE, ide_perspective_iface_init))
enum {
@@ -97,23 +96,23 @@ ide_editor_perspective_restore_panel_state (IdeEditorPerspective *self)
settings = g_settings_new ("org.gnome.builder.workbench");
- pane = pnl_dock_bin_get_left_edge (PNL_DOCK_BIN (self->layout));
+ pane = dzl_dock_bin_get_left_edge (DZL_DOCK_BIN (self->layout));
reveal = g_settings_get_boolean (settings, "left-visible");
position = g_settings_get_int (settings, "left-position");
- pnl_dock_revealer_set_reveal_child (PNL_DOCK_REVEALER (pane), reveal);
- pnl_dock_revealer_set_position (PNL_DOCK_REVEALER (pane), position);
+ dzl_dock_revealer_set_reveal_child (DZL_DOCK_REVEALER (pane), reveal);
+ dzl_dock_revealer_set_position (DZL_DOCK_REVEALER (pane), position);
- pane = pnl_dock_bin_get_right_edge (PNL_DOCK_BIN (self->layout));
+ pane = dzl_dock_bin_get_right_edge (DZL_DOCK_BIN (self->layout));
reveal = g_settings_get_boolean (settings, "right-visible");
position = g_settings_get_int (settings, "right-position");
- pnl_dock_revealer_set_reveal_child (PNL_DOCK_REVEALER (pane), reveal);
- pnl_dock_revealer_set_position (PNL_DOCK_REVEALER (pane), position);
+ dzl_dock_revealer_set_reveal_child (DZL_DOCK_REVEALER (pane), reveal);
+ dzl_dock_revealer_set_position (DZL_DOCK_REVEALER (pane), position);
- pane = pnl_dock_bin_get_bottom_edge (PNL_DOCK_BIN (self->layout));
+ pane = dzl_dock_bin_get_bottom_edge (DZL_DOCK_BIN (self->layout));
reveal = g_settings_get_boolean (settings, "bottom-visible");
position = g_settings_get_int (settings, "bottom-position");
- pnl_dock_revealer_set_reveal_child (PNL_DOCK_REVEALER (pane), reveal);
- pnl_dock_revealer_set_position (PNL_DOCK_REVEALER (pane), position);
+ dzl_dock_revealer_set_reveal_child (DZL_DOCK_REVEALER (pane), reveal);
+ dzl_dock_revealer_set_position (DZL_DOCK_REVEALER (pane), position);
}
static void
@@ -128,21 +127,21 @@ ide_editor_perspective_save_panel_state (IdeEditorPerspective *self)
settings = g_settings_new ("org.gnome.builder.workbench");
- pane = pnl_dock_bin_get_left_edge (PNL_DOCK_BIN (self->layout));
- position = pnl_dock_revealer_get_position (PNL_DOCK_REVEALER (pane));
- reveal = pnl_dock_revealer_get_reveal_child (PNL_DOCK_REVEALER (pane));
+ pane = dzl_dock_bin_get_left_edge (DZL_DOCK_BIN (self->layout));
+ position = dzl_dock_revealer_get_position (DZL_DOCK_REVEALER (pane));
+ reveal = dzl_dock_revealer_get_reveal_child (DZL_DOCK_REVEALER (pane));
g_settings_set_boolean (settings, "left-visible", reveal);
g_settings_set_int (settings, "left-position", position);
- pane = pnl_dock_bin_get_right_edge (PNL_DOCK_BIN (self->layout));
- position = pnl_dock_revealer_get_position (PNL_DOCK_REVEALER (pane));
- reveal = pnl_dock_revealer_get_reveal_child (PNL_DOCK_REVEALER (pane));
+ pane = dzl_dock_bin_get_right_edge (DZL_DOCK_BIN (self->layout));
+ position = dzl_dock_revealer_get_position (DZL_DOCK_REVEALER (pane));
+ reveal = dzl_dock_revealer_get_reveal_child (DZL_DOCK_REVEALER (pane));
g_settings_set_boolean (settings, "right-visible", reveal);
g_settings_set_int (settings, "right-position", position);
- pane = pnl_dock_bin_get_bottom_edge (PNL_DOCK_BIN (self->layout));
- position = pnl_dock_revealer_get_position (PNL_DOCK_REVEALER (pane));
- reveal = pnl_dock_revealer_get_reveal_child (PNL_DOCK_REVEALER (pane));
+ pane = dzl_dock_bin_get_bottom_edge (DZL_DOCK_BIN (self->layout));
+ position = dzl_dock_revealer_get_position (DZL_DOCK_REVEALER (pane));
+ reveal = dzl_dock_revealer_get_reveal_child (DZL_DOCK_REVEALER (pane));
g_settings_set_boolean (settings, "bottom-visible", reveal);
g_settings_set_int (settings, "bottom-position", position);
}
@@ -756,7 +755,7 @@ ide_editor_perspective_get_center_widget (IdeEditorPerspective *self)
{
g_return_val_if_fail (IDE_IS_EDITOR_PERSPECTIVE (self), NULL);
- return pnl_dock_bin_get_center_widget (PNL_DOCK_BIN (self->layout));
+ return dzl_dock_bin_get_center_widget (DZL_DOCK_BIN (self->layout));
}
/**
@@ -768,7 +767,7 @@ ide_editor_perspective_get_top_edge (IdeEditorPerspective *self)
{
g_return_val_if_fail (IDE_IS_EDITOR_PERSPECTIVE (self), NULL);
- return pnl_dock_bin_get_top_edge (PNL_DOCK_BIN (self->layout));
+ return dzl_dock_bin_get_top_edge (DZL_DOCK_BIN (self->layout));
}
/**
@@ -780,7 +779,7 @@ ide_editor_perspective_get_left_edge (IdeEditorPerspective *self)
{
g_return_val_if_fail (IDE_IS_EDITOR_PERSPECTIVE (self), NULL);
- return pnl_dock_bin_get_left_edge (PNL_DOCK_BIN (self->layout));
+ return dzl_dock_bin_get_left_edge (DZL_DOCK_BIN (self->layout));
}
/**
@@ -792,7 +791,7 @@ ide_editor_perspective_get_bottom_edge (IdeEditorPerspective *self)
{
g_return_val_if_fail (IDE_IS_EDITOR_PERSPECTIVE (self), NULL);
- return pnl_dock_bin_get_bottom_edge (PNL_DOCK_BIN (self->layout));
+ return dzl_dock_bin_get_bottom_edge (DZL_DOCK_BIN (self->layout));
}
/**
@@ -804,7 +803,7 @@ ide_editor_perspective_get_right_edge (IdeEditorPerspective *self)
{
g_return_val_if_fail (IDE_IS_EDITOR_PERSPECTIVE (self), NULL);
- return pnl_dock_bin_get_right_edge (PNL_DOCK_BIN (self->layout));
+ return dzl_dock_bin_get_right_edge (DZL_DOCK_BIN (self->layout));
}
/**
@@ -812,15 +811,15 @@ ide_editor_perspective_get_right_edge (IdeEditorPerspective *self)
* self: an #IdeEditorPerspective.
* position: a #GtkPositionType.
*
- * Returns: (transfer none): A #PnlDockOverlayEdge
+ * Returns: (transfer none): A #DzlDockOverlayEdge
*/
-PnlDockOverlayEdge *
+DzlDockOverlayEdge *
ide_editor_perspective_get_overlay_edge (IdeEditorPerspective *self,
GtkPositionType position)
{
g_return_val_if_fail (IDE_IS_EDITOR_PERSPECTIVE (self), NULL);
- return pnl_dock_overlay_get_edge (PNL_DOCK_OVERLAY (self), position);
+ return dzl_dock_overlay_get_edge (DZL_DOCK_OVERLAY (self), position);
}
static GtkOrientation
@@ -836,13 +835,13 @@ get_orientation_from_position_type (GtkPositionType position_type)
static void
overlay_child_reveal_notify_cb (IdeEditorPerspective *self,
GParamSpec *pspec,
- PnlDockOverlayEdge *edge)
+ DzlDockOverlayEdge *edge)
{
IdeLayoutPane *pane;
gboolean reveal;
g_assert (IDE_IS_EDITOR_PERSPECTIVE (self));
- g_assert (PNL_IS_DOCK_OVERLAY_EDGE (edge));
+ g_assert (DZL_IS_DOCK_OVERLAY_EDGE (edge));
gtk_container_child_get (GTK_CONTAINER (self), GTK_WIDGET (edge),
"reveal", &reveal,
@@ -854,8 +853,8 @@ overlay_child_reveal_notify_cb (IdeEditorPerspective *self,
overlay_child_reveal_notify_cb,
self);
- pane = IDE_LAYOUT_PANE (pnl_dock_bin_get_right_edge (PNL_DOCK_BIN (self->layout)));
- pnl_dock_revealer_animate_to_position (PNL_DOCK_REVEALER (pane),
+ pane = IDE_LAYOUT_PANE (dzl_dock_bin_get_right_edge (DZL_DOCK_BIN (self->layout)));
+ dzl_dock_revealer_animate_to_position (DZL_DOCK_REVEALER (pane),
self->right_pane_position,
OVERLAY_REVEAL_DURATION);
}
@@ -865,13 +864,13 @@ overlay_child_reveal_notify_cb (IdeEditorPerspective *self,
static void
overlay_child_revealed_notify_cb (IdeEditorPerspective *self,
GParamSpec *pspec,
- PnlDockOverlayEdge *edge)
+ DzlDockOverlayEdge *edge)
{
GtkWidget *child;
gboolean revealed;
g_assert (IDE_IS_EDITOR_PERSPECTIVE (self));
- g_assert (PNL_IS_DOCK_OVERLAY_EDGE (edge));
+ g_assert (DZL_IS_DOCK_OVERLAY_EDGE (edge));
gtk_container_child_get (GTK_CONTAINER (self), GTK_WIDGET (edge),
"revealed", &revealed,
@@ -894,7 +893,7 @@ overlay_child_revealed_notify_cb (IdeEditorPerspective *self,
static void
show_spell_checker (IdeEditorPerspective *self,
- PnlDockOverlayEdge *overlay_edge,
+ DzlDockOverlayEdge *overlay_edge,
IdeLayoutPane *pane)
{
GtkOrientation pane_orientation;
@@ -906,16 +905,16 @@ show_spell_checker (IdeEditorPerspective *self,
g_assert (IDE_IS_EDITOR_PERSPECTIVE (self));
g_assert (gtk_bin_get_child (GTK_BIN (overlay_edge)) != NULL);
- pane_position_type = pnl_dock_bin_edge_get_edge (PNL_DOCK_BIN_EDGE (pane));
- overlay_position_type = pnl_dock_overlay_edge_get_edge (overlay_edge);
+ pane_position_type = dzl_dock_bin_edge_get_edge (DZL_DOCK_BIN_EDGE (pane));
+ overlay_position_type = dzl_dock_overlay_edge_get_edge (overlay_edge);
pane_orientation = get_orientation_from_position_type (pane_position_type);
overlay_orientation = get_orientation_from_position_type (overlay_position_type);
g_assert (pane_orientation == overlay_orientation);
- if (pnl_dock_revealer_get_position_set (PNL_DOCK_REVEALER (pane)))
- self->right_pane_position = pnl_dock_revealer_get_position (PNL_DOCK_REVEALER (pane));
+ if (dzl_dock_revealer_get_position_set (DZL_DOCK_REVEALER (pane)))
+ self->right_pane_position = dzl_dock_revealer_get_position (DZL_DOCK_REVEALER (pane));
else
{
if (overlay_orientation == GTK_ORIENTATION_HORIZONTAL)
@@ -940,7 +939,7 @@ show_spell_checker (IdeEditorPerspective *self,
self,
G_CONNECT_SWAPPED);
- pnl_dock_revealer_animate_to_position (PNL_DOCK_REVEALER (pane),
+ dzl_dock_revealer_animate_to_position (DZL_DOCK_REVEALER (pane),
overlay_size,
OVERLAY_REVEAL_DURATION);
gtk_container_child_set (GTK_CONTAINER (self), GTK_WIDGET (overlay_edge),
@@ -979,7 +978,7 @@ ide_editor_perspective_show_spellchecker (IdeEditorPerspective *self,
IdeSourceView *source_view)
{
GtkWidget *spellchecker_widget;
- PnlDockOverlayEdge *overlay_edge;
+ DzlDockOverlayEdge *overlay_edge;
IdeLayoutPane *pane;
g_return_if_fail (IDE_IS_EDITOR_PERSPECTIVE (self));
@@ -990,11 +989,11 @@ ide_editor_perspective_show_spellchecker (IdeEditorPerspective *self,
self->spellchecker_opened = TRUE;
spellchecker_widget = create_spellchecker_widget (source_view);
- pnl_overlay_add_child (PNL_DOCK_OVERLAY (self), spellchecker_widget, "right");
+ dzl_overlay_add_child (DZL_DOCK_OVERLAY (self), spellchecker_widget, "right");
overlay_edge = ide_editor_perspective_get_overlay_edge (self, GTK_POS_RIGHT);
gtk_widget_set_child_visible (GTK_WIDGET (overlay_edge), TRUE);
- pane = IDE_LAYOUT_PANE (pnl_dock_bin_get_right_edge (PNL_DOCK_BIN (self->layout)));
+ pane = IDE_LAYOUT_PANE (dzl_dock_bin_get_right_edge (DZL_DOCK_BIN (self->layout)));
show_spell_checker (self, overlay_edge, pane);
}
}
diff --git a/libide/editor/ide-editor-perspective.h b/libide/editor/ide-editor-perspective.h
index ed8e7f4..a16741c 100644
--- a/libide/editor/ide-editor-perspective.h
+++ b/libide/editor/ide-editor-perspective.h
@@ -19,8 +19,8 @@
#ifndef IDE_EDITOR_PERSPECTIVE_H
#define IDE_EDITOR_PERSPECTIVE_H
+#include <dazzle.h>
#include <gtk/gtk.h>
-#include <pnl.h>
#include "diagnostics/ide-source-location.h"
#include "sourceview/ide-source-view.h"
@@ -31,7 +31,7 @@ G_BEGIN_DECLS
#define IDE_TYPE_EDITOR_PERSPECTIVE (ide_editor_perspective_get_type())
-G_DECLARE_FINAL_TYPE (IdeEditorPerspective, ide_editor_perspective, IDE, EDITOR_PERSPECTIVE, PnlDockOverlay)
+G_DECLARE_FINAL_TYPE (IdeEditorPerspective, ide_editor_perspective, IDE, EDITOR_PERSPECTIVE, DzlDockOverlay)
void ide_editor_perspective_focus_location (IdeEditorPerspective *self,
IdeSourceLocation
*location);
@@ -46,7 +46,7 @@ GtkWidget *ide_editor_perspective_get_left_edge (IdeE
GtkWidget *ide_editor_perspective_get_bottom_edge (IdeEditorPerspective *self);
GtkWidget *ide_editor_perspective_get_right_edge (IdeEditorPerspective *self);
-PnlDockOverlayEdge *ide_editor_perspective_get_overlay_edge (IdeEditorPerspective *self,
+DzlDockOverlayEdge *ide_editor_perspective_get_overlay_edge (IdeEditorPerspective *self,
GtkPositionType
position);
void ide_editor_perspective_show_spellchecker (IdeEditorPerspective *self,
diff --git a/libide/editor/ide-editor-perspective.ui b/libide/editor/ide-editor-perspective.ui
index cad54cf..6b0c3ec 100644
--- a/libide/editor/ide-editor-perspective.ui
+++ b/libide/editor/ide-editor-perspective.ui
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.18 -->
- <template class="IdeEditorPerspective" parent="PnlDockOverlay">
+ <template class="IdeEditorPerspective" parent="DzlDockOverlay">
<child>
<object class="IdeLayout" id="layout">
<property name="visible">true</property>
diff --git a/libide/editor/ide-editor-spell-language-popover.c
b/libide/editor/ide-editor-spell-language-popover.c
index 603f22a..22828f7 100644
--- a/libide/editor/ide-editor-spell-language-popover.c
+++ b/libide/editor/ide-editor-spell-language-popover.c
@@ -22,7 +22,7 @@
#include "ide-editor-spell-language-popover.h"
#include <glib/gi18n.h>
-#include <pnl.h>
+#include <dazzle.h>
#include "util/ide-gtk.h"
#include "workbench/ide-workbench.h"
@@ -355,8 +355,8 @@ ide_editor_spell_language_popover_map (GtkWidget *widget)
workbench = ide_widget_get_workbench (widget);
g_assert (IDE_IS_WORKBENCH (workbench));
- if (NULL != (edge = gtk_widget_get_ancestor (widget, PNL_TYPE_DOCK_OVERLAY_EDGE)))
- self->edge_side = pnl_dock_overlay_edge_get_edge (PNL_DOCK_OVERLAY_EDGE (edge));
+ if (NULL != (edge = gtk_widget_get_ancestor (widget, DZL_TYPE_DOCK_OVERLAY_EDGE)))
+ self->edge_side = dzl_dock_overlay_edge_get_edge (DZL_DOCK_OVERLAY_EDGE (edge));
self->editor = ide_workbench_get_perspective_by_name (workbench, "editor");
}
diff --git a/libide/editor/ide-editor-workbench-addin.c b/libide/editor/ide-editor-workbench-addin.c
index 6b645b9..b65af0b 100644
--- a/libide/editor/ide-editor-workbench-addin.c
+++ b/libide/editor/ide-editor-workbench-addin.c
@@ -39,7 +39,7 @@ struct _IdeEditorWorkbenchAddin
IdeWorkbench *workbench;
- PnlDockManager *manager;
+ DzlDockManager *manager;
IdeEditorPerspective *perspective;
GtkWidget *new_document_button;
@@ -86,7 +86,7 @@ ide_editor_workbench_addin_load (IdeWorkbenchAddin *addin,
self->workbench = workbench;
- self->manager = pnl_dock_manager_new ();
+ self->manager = dzl_dock_manager_new ();
header = ide_workbench_get_headerbar (workbench);
diff --git a/libide/meson.build b/libide/meson.build
index 20ac092..3ab6fee 100644
--- a/libide/meson.build
+++ b/libide/meson.build
@@ -626,7 +626,6 @@ libide_deps = [
libgtk_dep,
libpeas_dep,
libegg_dep,
- libpnl_dep,
libtmpl_dep,
libxml_dep,
libsearch_dep,
@@ -702,10 +701,10 @@ libide = shared_library('ide-' + libide_api_version,
libide_dep = declare_dependency(
sources: libide_generated_headers,
dependencies: [
+ libdazzle_dep,
libgio_dep,
libgtk_dep,
libgtksource_dep,
- libpnl_dep,
libegg_dep,
libjson_glib_dep,
],
@@ -717,10 +716,10 @@ libide_dep = declare_dependency(
libide_plugin_dep = declare_dependency(
sources: libide_generated_headers,
dependencies: [
+ libdazzle_dep,
libgio_dep,
libgtk_dep,
libgtksource_dep,
- libpnl_dep,
libegg_dep,
libjson_glib_dep,
],
@@ -740,7 +739,7 @@ if get_option('with_introspection')
],
includes: [
libegg_gir[0], 'Gio-2.0', 'GtkSource-3.0',
- 'Peas-1.0', libpnl_gir[0], libtmpl_gir[0],
+ 'Peas-1.0', 'Dazzle-1.0', libtmpl_gir[0],
'Json-1.0'],
install: true,
install_dir_gir: pkggirdir,
@@ -760,7 +759,7 @@ if get_option('with_introspection')
'gtksourceview-3.0',
'libpeas-1.0',
'json-glib-1.0',
- libpnl_vapi,
+ 'libdazzle-1.0',
libegg_vapi,
libtmpl_vapi,
],
diff --git a/libide/workbench/ide-layout-pane.c b/libide/workbench/ide-layout-pane.c
index 0d51d78..7fc0146 100644
--- a/libide/workbench/ide-layout-pane.c
+++ b/libide/workbench/ide-layout-pane.c
@@ -27,14 +27,14 @@
struct _IdeLayoutPane
{
- PnlDockBinEdge parent_instance;
+ DzlDockBinEdge parent_instance;
EggSignalGroup *toplevel_signals;
- PnlDockStack *dock_stack;
+ DzlDockStack *dock_stack;
};
-G_DEFINE_TYPE (IdeLayoutPane, ide_layout_pane, PNL_TYPE_DOCK_BIN_EDGE)
+G_DEFINE_TYPE (IdeLayoutPane, ide_layout_pane, DZL_TYPE_DOCK_BIN_EDGE)
static void
ide_layout_pane_add (GtkContainer *container,
@@ -44,7 +44,7 @@ ide_layout_pane_add (GtkContainer *container,
g_assert (IDE_IS_LAYOUT_PANE (self));
- if (PNL_IS_DOCK_WIDGET (widget))
+ if (DZL_IS_DOCK_WIDGET (widget))
gtk_container_add (GTK_CONTAINER (self->dock_stack), widget);
else
GTK_CONTAINER_CLASS (ide_layout_pane_parent_class)->add (container, widget);
diff --git a/libide/workbench/ide-layout-pane.h b/libide/workbench/ide-layout-pane.h
index 8112e61..c7ebe2f 100644
--- a/libide/workbench/ide-layout-pane.h
+++ b/libide/workbench/ide-layout-pane.h
@@ -19,13 +19,13 @@
#ifndef IDE_LAYOUT_PANE_H
#define IDE_LAYOUT_PANE_H
-#include <pnl.h>
+#include <dazzle.h>
G_BEGIN_DECLS
#define IDE_TYPE_LAYOUT_PANE (ide_layout_pane_get_type())
-G_DECLARE_FINAL_TYPE (IdeLayoutPane, ide_layout_pane, IDE, LAYOUT_PANE, PnlDockBinEdge)
+G_DECLARE_FINAL_TYPE (IdeLayoutPane, ide_layout_pane, IDE, LAYOUT_PANE, DzlDockBinEdge)
G_END_DECLS
diff --git a/libide/workbench/ide-layout-pane.ui b/libide/workbench/ide-layout-pane.ui
index ddf495e..83856bf 100644
--- a/libide/workbench/ide-layout-pane.ui
+++ b/libide/workbench/ide-layout-pane.ui
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.16 -->
- <template class="IdeLayoutPane" parent="PnlDockBinEdge">
+ <template class="IdeLayoutPane" parent="DzlDockBinEdge">
<child>
- <object class="PnlDockStack" id="dock_stack">
+ <object class="DzlDockStack" id="dock_stack">
<property name="expand">true</property>
<property name="visible">true</property>
</object>
diff --git a/libide/workbench/ide-layout.c b/libide/workbench/ide-layout.c
index b630232..54476d3 100644
--- a/libide/workbench/ide-layout.c
+++ b/libide/workbench/ide-layout.c
@@ -27,7 +27,7 @@ typedef struct
gulong focus_handler;
} IdeLayoutPrivate;
-G_DEFINE_TYPE_WITH_PRIVATE (IdeLayout, ide_layout, PNL_TYPE_DOCK_BIN)
+G_DEFINE_TYPE_WITH_PRIVATE (IdeLayout, ide_layout, DZL_TYPE_DOCK_BIN)
enum {
PROP_0,
@@ -133,7 +133,7 @@ ide_layout_hierarchy_changed (GtkWidget *widget,
}
static GtkWidget *
-ide_layout_create_edge (PnlDockBin *dock)
+ide_layout_create_edge (DzlDockBin *dock)
{
g_assert (IDE_IS_LAYOUT (dock));
@@ -167,7 +167,7 @@ ide_layout_class_init (IdeLayoutClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass);
- PnlDockBinClass *dock_bin_class = PNL_DOCK_BIN_CLASS (klass);
+ DzlDockBinClass *dock_bin_class = DZL_DOCK_BIN_CLASS (klass);
object_class->get_property = ide_layout_get_property;
diff --git a/libide/workbench/ide-layout.h b/libide/workbench/ide-layout.h
index 409427c..50534ee 100644
--- a/libide/workbench/ide-layout.h
+++ b/libide/workbench/ide-layout.h
@@ -19,17 +19,17 @@
#ifndef IDE_LAYOUT_H
#define IDE_LAYOUT_H
-#include <pnl.h>
+#include <dazzle.h>
G_BEGIN_DECLS
#define IDE_TYPE_LAYOUT (ide_layout_get_type())
-G_DECLARE_DERIVABLE_TYPE (IdeLayout, ide_layout, IDE, LAYOUT, PnlDockBin)
+G_DECLARE_DERIVABLE_TYPE (IdeLayout, ide_layout, IDE, LAYOUT, DzlDockBin)
struct _IdeLayoutClass
{
- PnlDockBinClass parent_class;
+ DzlDockBinClass parent_class;
};
GtkWidget *ide_layout_get_active_view (IdeLayout *self);
diff --git a/libide/workbench/ide-workbench.c b/libide/workbench/ide-workbench.c
index dc92319..bbfb37f 100644
--- a/libide/workbench/ide-workbench.c
+++ b/libide/workbench/ide-workbench.c
@@ -941,7 +941,7 @@ ide_workbench_show_parents (GtkWidget *widget)
parent = gtk_widget_get_parent (widget);
if (IDE_IS_LAYOUT_PANE (widget))
- pnl_dock_revealer_set_reveal_child (PNL_DOCK_REVEALER (widget), TRUE);
+ dzl_dock_revealer_set_reveal_child (DZL_DOCK_REVEALER (widget), TRUE);
if (IDE_IS_PERSPECTIVE (widget))
ide_workbench_set_visible_perspective (ide_widget_get_workbench (widget),
diff --git a/meson.build b/meson.build
index 0f784ca..8956292 100644
--- a/meson.build
+++ b/meson.build
@@ -179,7 +179,6 @@ subdir('contrib/gd')
subdir('contrib/jsonrpc-glib')
subdir('contrib/libeditorconfig')
subdir('contrib/nautilus')
-subdir('contrib/pnl')
subdir('contrib/rg')
subdir('contrib/search')
subdir('contrib/tmpl')
diff --git a/plugins/color-picker/gb-color-picker-workbench-addin.c
b/plugins/color-picker/gb-color-picker-workbench-addin.c
index e624098..3c70926 100644
--- a/plugins/color-picker/gb-color-picker-workbench-addin.c
+++ b/plugins/color-picker/gb-color-picker-workbench-addin.c
@@ -174,7 +174,7 @@ init_dock (GbColorPickerWorkbenchAddin *self)
g_assert (GB_IS_COLOR_PICKER_WORKBENCH_ADDIN (self));
- self->dock = g_object_new (PNL_TYPE_DOCK_WIDGET,
+ self->dock = g_object_new (DZL_TYPE_DOCK_WIDGET,
"title", _("Colors"),
"expand", TRUE,
"visible", TRUE,
diff --git a/plugins/devhelp/gbp-devhelp-editor-view-addin.c b/plugins/devhelp/gbp-devhelp-editor-view-addin.c
index e67047e..24b4639 100644
--- a/plugins/devhelp/gbp-devhelp-editor-view-addin.c
+++ b/plugins/devhelp/gbp-devhelp-editor-view-addin.c
@@ -45,7 +45,7 @@ request_documentation_cb (GbpDevhelpEditorViewAddin *self,
if (layout == NULL)
return;
- pane = pnl_dock_bin_get_right_edge (PNL_DOCK_BIN (layout));
+ pane = dzl_dock_bin_get_right_edge (DZL_DOCK_BIN (layout));
panel = ide_widget_find_child_typed (pane, GBP_TYPE_DEVHELP_PANEL);
gbp_devhelp_panel_focus_search (GBP_DEVHELP_PANEL (panel), word);
}
diff --git a/plugins/devhelp/gbp-devhelp-panel.c b/plugins/devhelp/gbp-devhelp-panel.c
index 3340797..a24a313 100644
--- a/plugins/devhelp/gbp-devhelp-panel.c
+++ b/plugins/devhelp/gbp-devhelp-panel.c
@@ -27,13 +27,13 @@
struct _GbpDevhelpPanel
{
- PnlDockWidget parent_instance;
+ DzlDockWidget parent_instance;
DhBookManager *books;
DhSidebar *sidebar;
};
-G_DEFINE_TYPE (GbpDevhelpPanel, gbp_devhelp_panel, PNL_TYPE_DOCK_WIDGET)
+G_DEFINE_TYPE (GbpDevhelpPanel, gbp_devhelp_panel, DZL_TYPE_DOCK_WIDGET)
enum {
PROP_0,
diff --git a/plugins/devhelp/gbp-devhelp-panel.h b/plugins/devhelp/gbp-devhelp-panel.h
index 494bc7a..44a99c2 100644
--- a/plugins/devhelp/gbp-devhelp-panel.h
+++ b/plugins/devhelp/gbp-devhelp-panel.h
@@ -19,13 +19,13 @@
#ifndef GBP_DEVHELP_PANEL_H
#define GBP_DEVHELP_PANEL_H
-#include <pnl.h>
+#include <dazzle.h>
G_BEGIN_DECLS
#define GBP_TYPE_DEVHELP_PANEL (gbp_devhelp_panel_get_type())
-G_DECLARE_FINAL_TYPE (GbpDevhelpPanel, gbp_devhelp_panel, GBP, DEVHELP_PANEL, PnlDockWidget)
+G_DECLARE_FINAL_TYPE (GbpDevhelpPanel, gbp_devhelp_panel, GBP, DEVHELP_PANEL, DzlDockWidget)
void gbp_devhelp_panel_set_uri (GbpDevhelpPanel *self,
const gchar *uri);
diff --git a/plugins/project-tree/gb-project-tree-addin.c b/plugins/project-tree/gb-project-tree-addin.c
index d54189e..125f749 100644
--- a/plugins/project-tree/gb-project-tree-addin.c
+++ b/plugins/project-tree/gb-project-tree-addin.c
@@ -100,7 +100,7 @@ gb_project_tree_addin_load (IdeWorkbenchAddin *addin,
g_object_add_weak_pointer (G_OBJECT (self->tree), (gpointer *)&self->tree);
gtk_container_add (GTK_CONTAINER (scroller), GTK_WIDGET (self->tree));
- self->panel = g_object_new (PNL_TYPE_DOCK_WIDGET,
+ self->panel = g_object_new (DZL_TYPE_DOCK_WIDGET,
"expand", TRUE,
"title", _("Project"),
"visible", TRUE,
diff --git a/plugins/symbol-tree/symbol-tree-panel.c b/plugins/symbol-tree/symbol-tree-panel.c
index 60d8345..708f873 100644
--- a/plugins/symbol-tree/symbol-tree-panel.c
+++ b/plugins/symbol-tree/symbol-tree-panel.c
@@ -34,7 +34,7 @@
struct _SymbolTreePanel
{
- PnlDockWidget parent_instance;
+ DzlDockWidget parent_instance;
GCancellable *cancellable;
EggTaskCache *symbols_cache;
@@ -50,7 +50,7 @@ struct _SymbolTreePanel
guint refresh_tree_timeout;
};
-G_DEFINE_TYPE (SymbolTreePanel, symbol_tree_panel, PNL_TYPE_DOCK_WIDGET)
+G_DEFINE_TYPE (SymbolTreePanel, symbol_tree_panel, DZL_TYPE_DOCK_WIDGET)
static void refresh_tree (SymbolTreePanel *self);
diff --git a/plugins/symbol-tree/symbol-tree-panel.h b/plugins/symbol-tree/symbol-tree-panel.h
index 128fb99..a883f60 100644
--- a/plugins/symbol-tree/symbol-tree-panel.h
+++ b/plugins/symbol-tree/symbol-tree-panel.h
@@ -25,7 +25,7 @@ G_BEGIN_DECLS
#define SYMBOL_TYPE_TREE_PANEL (symbol_tree_panel_get_type())
-G_DECLARE_FINAL_TYPE (SymbolTreePanel, symbol_tree_panel, SYMBOL, TREE_PANEL, PnlDockWidget)
+G_DECLARE_FINAL_TYPE (SymbolTreePanel, symbol_tree_panel, SYMBOL, TREE_PANEL, DzlDockWidget)
void symbol_tree_panel_reset (SymbolTreePanel *self);
diff --git a/plugins/symbol-tree/symbol-tree-panel.ui b/plugins/symbol-tree/symbol-tree-panel.ui
index 40f3ef0..75048e2 100644
--- a/plugins/symbol-tree/symbol-tree-panel.ui
+++ b/plugins/symbol-tree/symbol-tree-panel.ui
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.16 -->
- <template class="SymbolTreePanel" parent="PnlDockWidget">
+ <template class="SymbolTreePanel" parent="DzlDockWidget">
<property name="vexpand">true</property>
<property name="visible">true</property>
<child>
diff --git a/plugins/sysmon/gb-sysmon-panel.c b/plugins/sysmon/gb-sysmon-panel.c
index d8b25df..7bd302c 100644
--- a/plugins/sysmon/gb-sysmon-panel.c
+++ b/plugins/sysmon/gb-sysmon-panel.c
@@ -22,11 +22,11 @@
struct _GbSysmonPanel
{
- PnlDockWidget parent_instance;
+ DzlDockWidget parent_instance;
RgCpuGraph *cpu_graph;
};
-G_DEFINE_TYPE (GbSysmonPanel, gb_sysmon_panel, PNL_TYPE_DOCK_WIDGET)
+G_DEFINE_TYPE (GbSysmonPanel, gb_sysmon_panel, DZL_TYPE_DOCK_WIDGET)
static void
gb_sysmon_panel_finalize (GObject *object)
diff --git a/plugins/sysmon/gb-sysmon-panel.h b/plugins/sysmon/gb-sysmon-panel.h
index 02d5950..976e7ae 100644
--- a/plugins/sysmon/gb-sysmon-panel.h
+++ b/plugins/sysmon/gb-sysmon-panel.h
@@ -25,7 +25,7 @@ G_BEGIN_DECLS
#define GB_TYPE_SYSMON_PANEL (gb_sysmon_panel_get_type())
-G_DECLARE_FINAL_TYPE (GbSysmonPanel, gb_sysmon_panel, GB, SYSMON_PANEL, PnlDockWidget)
+G_DECLARE_FINAL_TYPE (GbSysmonPanel, gb_sysmon_panel, GB, SYSMON_PANEL, DzlDockWidget)
G_END_DECLS
diff --git a/plugins/sysmon/gb-sysmon-panel.ui b/plugins/sysmon/gb-sysmon-panel.ui
index eed139e..4dcbf37 100644
--- a/plugins/sysmon/gb-sysmon-panel.ui
+++ b/plugins/sysmon/gb-sysmon-panel.ui
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.16 -->
- <template class="GbSysmonPanel" parent="PnlDockWidget">
+ <template class="GbSysmonPanel" parent="DzlDockWidget">
<property name="title" translatable="yes">System Monitor</property>
<property name="visible">true</property>
<child>
diff --git a/plugins/sysprof/gbp-sysprof-perspective.ui b/plugins/sysprof/gbp-sysprof-perspective.ui
index 7f285ea..d9c6592 100644
--- a/plugins/sysprof/gbp-sysprof-perspective.ui
+++ b/plugins/sysprof/gbp-sysprof-perspective.ui
@@ -70,7 +70,7 @@
</packing>
</child>
<child>
- <object class="PnlMultiPaned">
+ <object class="DzlMultiPaned">
<property name="visible">true</property>
<child>
<object class="SpVisualizerView" id="visualizers">
diff --git a/plugins/terminal/gb-terminal-workbench-addin.c b/plugins/terminal/gb-terminal-workbench-addin.c
index aac5460..c713296 100644
--- a/plugins/terminal/gb-terminal-workbench-addin.c
+++ b/plugins/terminal/gb-terminal-workbench-addin.c
@@ -136,7 +136,7 @@ on_run_manager_run (GbTerminalWorkbenchAddin *self,
NULL);
ide_set_weak_pointer (&self->run_terminal, view);
- panel = g_object_new (PNL_TYPE_DOCK_WIDGET,
+ panel = g_object_new (DZL_TYPE_DOCK_WIDGET,
"child", self->run_terminal,
"expand", TRUE,
"title", _("Application Output"),
@@ -197,7 +197,7 @@ gb_terminal_workbench_addin_load (IdeWorkbenchAddin *addin,
if (self->panel_terminal == NULL)
{
- self->panel_dock_widget = g_object_new (PNL_TYPE_DOCK_WIDGET,
+ self->panel_dock_widget = g_object_new (DZL_TYPE_DOCK_WIDGET,
"expand", TRUE,
"title", _("Terminal"),
"visible", TRUE,
diff --git a/plugins/todo/todo_plugin/__init__.py b/plugins/todo/todo_plugin/__init__.py
index e822d4d..0a18e1d 100644
--- a/plugins/todo/todo_plugin/__init__.py
+++ b/plugins/todo/todo_plugin/__init__.py
@@ -27,7 +27,7 @@ from gi.repository import Gio
from gi.repository import GLib
from gi.repository import GObject
from gi.repository import Gtk
-from gi.repository import Pnl
+from gi.repository import Dzl
import re
import subprocess
@@ -188,7 +188,7 @@ class TodoItem(GObject.Object):
return msg[:msg.index('\n')].strip()
return msg.strip()
-class TodoPanel(Pnl.DockWidget):
+class TodoPanel(Dzl.DockWidget):
def __init__(self, basedir, *args, **kwargs):
super().__init__(*args, **kwargs)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]