[Bug 114507] New: After modifying the DigiKam main toolbar, all the KIPI menu have disappeared.

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 114507] New: After modifying the DigiKam main toolbar, all the KIPI menu have disappeared.

Tung NGUYEN
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=114507         
           Summary: After modifying the DigiKam main toolbar, all the KIPI
                    menu have disappeared.
           Product: digikam
           Version: 0.8.0-beta2
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel kde org
        ReportedBy: ntung free fr


Version:           0.8.0-beta2 (using KDE KDE 3.4.2)
Installed from:    Compiled From Sources

For exemple:
 
 - Check all the KIPI plugins in the menu DigiKam->Settings->Configure DigiKam...->Kipi plugins.
 - Now, access to the menu DigiKam->Settings->Configure Toolbars...
 - Add or remove action.
 - Click on "OK".
 
 => All the KIPI menu in the DigiKam main menu have disappeared. I have no message in Konsole.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 114507] After modifying the DigiKam main toolbar, all the KIPI menu have disappeared.

Joern Ahrens
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=114507         
joern.ahrens kdemail net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From joern.ahrens kdemail net  2005-10-17 00:04 -------
SVN commit 471231 by jahrens:

Thanks for reporting!

BUG: 114507


 M  +11 -17    digikamapp.cpp  
 M  +0 -1      digikamapp.h  


--- trunk/extragear/graphics/digikam/digikam/digikamapp.cpp #471230:471231
 @ -578,7 +578,6  @
         mSplash->message(i18n("Loading cameras"), AlignLeft, white);
     loadCameras();
 
-    
     createGUI(QString::fromLatin1( "digikamui.rc" ), false);
 
     // Initialize Actions ---------------------------------------
 @ -617,18 +616,6  @
     }
 }
 
-void DigikamApp::recreateGUI()
-{
-    createGUI("digikamui.rc");
-    applyMainWindowSettings(KGlobal::config());
-    plugActionList( QString::fromLatin1("file_actions_import"), m_kipiFileActionsImport );
-    plugActionList( QString::fromLatin1("image_actions"), m_kipiImageActions );
-    plugActionList( QString::fromLatin1("tool_actions"), m_kipiToolsActions );
-    plugActionList( QString::fromLatin1("batch_actions"), m_kipiBatchActions );
-    plugActionList( QString::fromLatin1("album_actions"), m_kipiAlbumActions );
-    plugActionList( QString::fromLatin1("file_actions_export"), m_kipiFileActionsExport );
-}
-
 void DigikamApp::enableThumbSizePlusAction(bool val)
 {
     mThumbSizePlusAction->setEnabled(val);
 @ -879,7 +866,6  @
                                    actionCollection(),
                                    ctype->title().utf8());
     mCameraMenuAction->insert(cAction, 0);
-//    recreateGUI();    
     ctype->setAction(cAction);
 }
 
 @ -983,9 +969,17  @
     saveMainWindowSettings(KGlobal::config());
     KEditToolbar *dlg = new KEditToolbar(actionCollection(), "digikamui.rc");
 
-    if (dlg->exec())
-        recreateGUI();
-
+    if(dlg->exec());
+    {
+        createGUI(QString::fromLatin1( "digikamui.rc" ), false);
+        applyMainWindowSettings(KGlobal::config());
+        plugActionList( QString::fromLatin1("file_actions_import"), m_kipiFileActionsImport );
+        plugActionList( QString::fromLatin1("image_actions"), m_kipiImageActions );
+        plugActionList( QString::fromLatin1("tool_actions"), m_kipiToolsActions );
+        plugActionList( QString::fromLatin1("batch_actions"), m_kipiBatchActions );
+        plugActionList( QString::fromLatin1("album_actions"), m_kipiAlbumActions );
+        plugActionList( QString::fromLatin1("file_actions_export"), m_kipiFileActionsExport );
+    }
     delete dlg;
 }
 
--- trunk/extragear/graphics/digikam/digikam/digikamapp.h #471230:471231
 @ -94,7 +94,6  @
     void loadCameras();
     void populateThemes();
     void updateDeleteTrashMenu();
-    void recreateGUI();
 
 protected:
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 114507] After modifying the DigiKam main toolbar, all the KIPI menu have disappeared.

Tung NGUYEN
In reply to this post by Tung NGUYEN
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=114507         




------- Additional Comments From ntung free fr  2005-10-17 01:09 -------
Joern, thank you for the fix.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Loading...