Bug 82791 - Toolbar position isn't saved
Summary: Toolbar position isn't saved
Status: RESOLVED FIXED
Alias: None
Product: akregator
Classification: Applications
Component: general (show other bugs)
Version: cvs
Platform: Unlisted Binaries Linux
: LO minor
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-03 19:42 UTC by Frank Osterfeld
Modified: 2004-08-23 21:02 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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;