enable_layout_config & gnome_app_show
- From: Marko Vendelin <markov ioc ee>
- To: gnome-devel-list gnome org
- Subject: enable_layout_config & gnome_app_show
- Date: Thu, 28 Sep 2000 10:48:22 +0200 (GMT-2)
Hi!
in the program on which I am working in (LyX Gnome frontend) the toolbars
are are dynamically added/removed depending on the type of opened document
(if any). I would like to keep the position of the toolbars at removal
time and use it to place the toolbars when they are created. As I
understand, gnome_app_enable_layout_config(*, true) is doing exactly what
I want.
However, it turned out that if I add toolbar(s) after the main window is
shown, the layout information is not used to set up the toolbar since: (a)
gnome_app_add_toolbar checks app->layout to determine whether to use
gnome_dock_layout_add_item and (b) app->layout is set to NULL by
gnome_app_show (see gnome-app.c). Is it an expected behavior or a bug?
How should I store/retrieve position of the toolbars?
Marko
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]