Bug 82791

Summary: Toolbar position isn't saved
Product: [Applications] akregator Reporter: Frank Osterfeld <osterfeld>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: minor    
Priority: LO    
Version: cvs   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:

Description Frank Osterfeld 2004-06-03 19:42:18 UTC
The position of the toolbar isn't saved on exit. After restart, it is on its 
default position again.
Comment 1 Teemu Rytilahti 2004-08-23 21:02:26 UTC
CVS commit by rytilahti: 

Don't call setAutoSaveSettings() before the part has been loaded (and actions in the part created)

CCMAIL:82791-done@bugs.kde.org


  M +4 -0      ChangeLog   1.51
  M +2 -6      src/akregator.cpp   1.57


--- kdenonbeta/akregator/ChangeLog  #1.50:1.51
@@ -5,5 +5,9 @@
 Changes after 1.0b5:
 -----------------------------
+Changes:
+       - Make it possible to switch notifications off -tpr
+
 Bug Fixes:
+#82791 - Save the toolbar position -tpr
        - Don't crash when there is no part available -tpr
        - Make tabs wider when there is free space available -tpr

--- kdenonbeta/akregator/src/akregator.cpp  #1.56:1.57
@@ -104,9 +104,4 @@ aKregator::aKregator()
     m_progressBar->hide();
     statusBar()->addWidget( m_progressBar, 0, true);
-
-    // apply the saved mainwindow settings, if any, and ask the mainwindow
-    // to automatically save settings if changed: window size, toolbar
-    // position, icon size, etc.
-    setAutoSaveSettings();
 }
 
@@ -141,4 +136,5 @@ bool aKregator::loadPart()
                 createGUI(m_part);
             browserExtension(m_part)->setBrowserInterface(m_browserIface);
+            setAutoSaveSettings();
         }
         return true;