Bug 60583 - After configuring toolbar, the toolbar does not change
Summary: After configuring toolbar, the toolbar does not change
Status: RESOLVED FIXED
Alias: None
Product: kpilot
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: groot
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-01 15:35 UTC by Michael Lachmann
Modified: 2004-10-19 16:20 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 Michael Lachmann 2003-07-01 15:35:46 UTC
Version:            (using KDE 3.1.2)
Installed from:     (testing/unstable)
Compiler:          gcc version 3.3 (Debian)
OS:          Linux (i686) release 2.4.20-3-686

When I configure the toolbar using the "configure toolbars..." menu, the changes don't show up in the toolbar till kpilot is quit and restarted.
Comment 1 Reinhold Kainhofer 2003-07-30 21:10:55 UTC
Subject: kdepim/kpilot/kpilot

CVS commit by kainhofe: 

Fixed the toolbar configuration.

CCMAIL: 60583-done@bugs.kde.org


  M +6 -6      kpilot.cc   1.110
  M +1 -3      kpilot.h   1.47


--- kdepim/kpilot/kpilot/kpilot.h  #1.46:1.47
@@ -161,6 +161,4 @@ protected:
 
 private:
-        KMenuBar*       fMenuBar;
-        KToolBar*       fToolBar;
         bool            fQuitAfterCopyComplete; // Used for GUI-less interface
         KJanusWidget    *fManagingWidget;

--- kdepim/kpilot/kpilot/kpilot.cc  #1.109:1.110
@@ -105,6 +105,4 @@ KPilotInstaller::KPilotInstaller() :
                 "KPilotDaemonIface")),
         fP(new KPilotPrivate),
-        fMenuBar(0L),
-        fToolBar(0L),
         fQuitAfterCopyComplete(false),
         fManagingWidget(0L),
@@ -582,5 +580,5 @@ void KPilotInstaller::initMenu()
         (void) KStdAction::keyBindings(this, SLOT(optionsConfigureKeys()),
                 actionCollection());
-        (void) KStdAction::configureToolbars(this, SLOT(optionsConfigureKeys()),
+        (void) KStdAction::configureToolbars(this, SLOT(optionsConfigureToolbars()),
                 actionCollection());
         (void) KStdAction::preferences(this, SLOT(slotConfigureKPilot()),
@@ -728,5 +726,5 @@ void KPilotInstaller::optionsConfigureTo
 #endif
         KEditToolbar dlg(actionCollection());
-        connect(&dlg, SIGNAL(newToolbarConfig()), this, SLOT(newToolbarConfig()));
+        connect(&dlg, SIGNAL(newToolbarConfig()), this, SLOT(slotNewToolbarConfig()));
         dlg.exec();
 }
@@ -734,7 +733,8 @@ void KPilotInstaller::optionsConfigureTo
 void KPilotInstaller::slotNewToolbarConfig()
 {
+        FUNCTIONSETUP;
         // recreate our GUI
         createGUI();
-#if KDE_VERSION >= 0x030180
+#if KDE_VERSION >= 0x030100
         applyMainWindowSettings( KGlobal::config(), autoSaveGroup() );
 #endif