summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-04-03 13:10:42 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-04-03 13:10:42 (GMT)
commit6cfa350c21c1e54cf9c597d92a9ea3d1aab01d78 (patch)
treef961a21eb14ccdc56d24129ff87012c4647579da /src/gui
parent3293a5b3b13271ea1499718d310c1bd0284762a3 (diff)
Tried to show basic blocks in the graphic view again.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@499 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/menus/view.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gui/menus/view.c b/src/gui/menus/view.c
index 9abcbd3..c907bc8 100644
--- a/src/gui/menus/view.c
+++ b/src/gui/menus/view.c
@@ -219,8 +219,7 @@ static void mcb_view_change_support(GtkRadioMenuItem *menuitem, GMenuBar *bar)
/**
* La hiérarchie des composants empilés est la suivante :
*
- * - GtkBlockView / GtkGraphView / GtkSourceView
- * - GtkViewport
+ * - GtkBlockView / GtkGraphView / GtkSourceView (avec GtkViewport intégré)
* - GtkScrolledWindow
* - GtkNotebook
* - GtkDockStation
@@ -228,8 +227,7 @@ static void mcb_view_change_support(GtkRadioMenuItem *menuitem, GMenuBar *bar)
*/
vpanel = g_editor_item_get_current_view(G_EDITOR_ITEM(bar));
- station = gtk_widget_get_parent(GTK_WIDGET(vpanel)); /* GtkViewport */
- station = gtk_widget_get_parent(GTK_WIDGET(station)); /* ScrollWindow */
+ station = gtk_widget_get_parent(GTK_WIDGET(vpanel)); /* ScrollWindow */
station = gtk_widget_get_parent(station); /* NoteBook */
station = gtk_widget_get_parent(station); /* DockStation */