aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-12-04 22:36:47 (GMT)
committerfluxgen <fluxgen>2002-12-04 22:36:47 (GMT)
commitb69bb1d0f8019ef0e11d9cf481111279625c4567 (patch)
tree8beba6a6d6d9bcb7ef3d42073bbaf6b955472178 /src
parent27a73906fe3b185d466099ae19fd986c08d43457 (diff)
downloadfluxbox_pavel-b69bb1d0f8019ef0e11d9cf481111279625c4567.zip
fluxbox_pavel-b69bb1d0f8019ef0e11d9cf481111279625c4567.tar.bz2
saving toolbar resource
Diffstat (limited to 'src')
-rw-r--r--src/Toolbar.cc10
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