diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2009-09-24 22:15:43 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2009-09-24 22:15:43 (GMT) |
commit | 8271ddd8f450f1ae9629f5d39e786bc323eba31c (patch) | |
tree | 726db1b41738003f1d15512dfc210505fce0344a /src/panels | |
parent | f7c1c34cb54b239586bf431b1749759baee9493e (diff) |
Managed properly projects (close, reload, aso.).
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@118 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/panels')
-rw-r--r-- | src/panels/panel.c | 4 | ||||
-rw-r--r-- | src/panels/registers.c | 3 |
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); |