Bug 66361 - Go->Templates goes to system templates directory not user
Summary: Go->Templates goes to system templates directory not user
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-21 23:40 UTC by hevi
Modified: 2005-02-05 20:06 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 hevi 2003-10-21 23:40:11 UTC
Version:            (using KDE KDE 3.1.3)
Installed from:    Debian testing/unstable Packages

Go->Templates goes to system templates directory, not to the
user template directory. This behaviour is rather pointless as
user cannot modify the templates.
Comment 1 Martin Koller 2005-02-05 20:06:46 UTC
CVS commit by mkoller: 

BUG: 66361
Remove useless Go/Templates menu entry


  M +1 -9      konq_mainwindow.cc   1.1402
  M +0 -1      konq_mainwindow.h   1.456


--- kdebase/konqueror/konq_mainwindow.cc  #1.1401:1.1402
@@ -1841,11 +1841,4 @@ void KonqMainWindow::slotGoTrash()
 }
 
-void KonqMainWindow::slotGoTemplates()
-{
-  KURL u;
-  u.setPath( KGlobal::dirs()->resourceDirs( "templates" ).last() );
-  openURL( 0L, u );
-}
-
 void KonqMainWindow::slotGoAutostart()
 {
@@ -3728,5 +3721,4 @@ void KonqMainWindow::initActions()
   //(void) new KAction( i18n( "Sidebar Configuration" ), 0, this, SLOT( slotGoDirTree() ), actionCollection(), "go_dirtree" );
   (void) new KAction( i18n( "Trash" ), 0, this, SLOT( slotGoTrash() ), actionCollection(), "go_trash" );
-  (void) new KAction( i18n( "Templates" ), 0, this, SLOT( slotGoTemplates() ), actionCollection(), "go_templates" );
   (void) new KAction( i18n( "Autostart" ), 0, this, SLOT( slotGoAutostart() ), actionCollection(), "go_autostart" );
   KonqMostOftenURLSAction *mostOften = new KonqMostOftenURLSAction( i18n("Most Often Visited"), actionCollection(), "go_most_often" );
@@ -4353,5 +4345,5 @@ void KonqMainWindow::disableActionsNoVie
                                          "toolbar_url_combo", "clear_location", "animated_logo",
                                          "konqintro", "go_most_often", "go_applications", "go_dirtree",
-                                         "go_trash", "go_templates", "go_autostart", "go_url",
+                                         "go_trash", "go_autostart", "go_url",
                                          "options_configure_extensions", 0 };
     for ( int i = 0 ; s_enActions[i] ; ++i )

--- kdebase/konqueror/konq_mainwindow.h  #1.455:1.456
@@ -389,5 +389,4 @@ public slots:
   void slotGoDirTree();
   void slotGoTrash();
-  void slotGoTemplates();
   void slotGoAutostart();