summaryrefslogtreecommitdiff
path: root/src/panels
diff options
context:
space:
mode:
Diffstat (limited to 'src/panels')
-rw-r--r--src/panels/panel.c4
-rw-r--r--src/panels/registers.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/src/panels/panel.c b/src/panels/panel.c
index 6258de8..9cf3f98 100644
--- a/src/panels/panel.c
+++ b/src/panels/panel.c
@@ -167,11 +167,11 @@ void init_internal_panels(void)
void place_all_panels_in_editor(GtkWidget *top)
{
GEditorPanel *iter; /* Boucle de parcours */
- GtkDockItem *ditem; /* Panneau avec ses infos. */
+ GDockItem *ditem; /* Panneau avec ses infos. */
panels_list_for_each(iter, panels_list)
{
- ditem = gtk_dock_item_new(iter->name, iter->widget);
+ ditem = g_dock_item_new(iter->name, iter->widget);
gtk_dock_panel_add_item(GTK_DOCK_PANEL(top), ditem);
}
diff --git a/src/panels/registers.c b/src/panels/registers.c
index 1f9c8e5..6480404 100644
--- a/src/panels/registers.c
+++ b/src/panels/registers.c
@@ -95,7 +95,8 @@ GtkWidget *build_registers_panel(void)
vbox1 = gtk_vbox_new (FALSE, 0);
gtk_widget_show (vbox1);
- gtk_container_add (GTK_CONTAINER (result), vbox1);
+ gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(result), vbox1);
+
label1 = gtk_label_new (_("Registers:"));
gtk_widget_show (label1);