diff options
-rw-r--r-- | src/Toolbar.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc index 9026852..9db04d1 100644 --- a/src/Toolbar.cc +++ b/src/Toolbar.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Toolbar.cc,v 1.48 2002/12/04 17:58:01 fluxgen Exp $ | 25 | // $Id: Toolbar.cc,v 1.49 2002/12/04 22:36:47 fluxgen Exp $ |
26 | 26 | ||
27 | #include "Toolbar.hh" | 27 | #include "Toolbar.hh" |
28 | 28 | ||
@@ -1349,7 +1349,7 @@ void Toolbarmenu::Placementmenu::itemSelected(int button, unsigned int index) { | |||
1349 | // toolbar | 1349 | // toolbar |
1350 | m_toolbarmenu.m_toolbar.screen()->getSlit()->reposition(); | 1350 | m_toolbarmenu.m_toolbar.screen()->getSlit()->reposition(); |
1351 | #endif // SLIT | 1351 | #endif // SLIT |
1352 | 1352 | Fluxbox::instance()->save_rc(); | |
1353 | } | 1353 | } |
1354 | } | 1354 | } |
1355 | 1355 | ||
@@ -1383,17 +1383,19 @@ void Toolbarmenu::Headmenu::itemSelected(int button, unsigned int index) { | |||
1383 | if (! item) | 1383 | if (! item) |
1384 | return; | 1384 | return; |
1385 | 1385 | ||
1386 | m_toolbarmenu.m_toolbar.screen()->saveToolbarOnHead( | 1386 | screen()->saveToolbarOnHead( |
1387 | static_cast<int>(item->function())); | 1387 | static_cast<int>(item->function())); |
1388 | |||
1388 | hide(); | 1389 | hide(); |
1389 | m_toolbarmenu.m_toolbar.reconfigure(); | 1390 | m_toolbarmenu.m_toolbar.reconfigure(); |
1390 | 1391 | ||
1392 | |||
1391 | #ifdef SLIT | 1393 | #ifdef SLIT |
1392 | // reposition the slit as well to make sure it doesn't intersect the | 1394 | // reposition the slit as well to make sure it doesn't intersect the |
1393 | // toolbar | 1395 | // toolbar |
1394 | m_toolbarmenu.m_toolbar.screen()->getSlit()->reposition(); | 1396 | m_toolbarmenu.m_toolbar.screen()->getSlit()->reposition(); |
1395 | #endif // SLIT | 1397 | #endif // SLIT |
1396 | 1398 | Fluxbox::instance()->save_rc(); | |
1397 | } | 1399 | } |
1398 | } | 1400 | } |
1399 | 1401 | ||