From 94f3dbe7c5a7dc282c22d347d91e4851cabe77d8 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Fri, 8 Jun 2012 15:46:01 -0500 Subject: Update XDG information in support of bug report 892. --- konqueror/konq_guiclients.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'konqueror/konq_guiclients.cc') diff --git a/konqueror/konq_guiclients.cc b/konqueror/konq_guiclients.cc index dacb3e1fa..782d55e06 100644 --- a/konqueror/konq_guiclients.cc +++ b/konqueror/konq_guiclients.cc @@ -170,8 +170,8 @@ ToggleViewGUIClient::ToggleViewGUIClient( KonqMainWindow *mainWindow ) KTrader::OfferList::Iterator it = offers.begin(); while ( it != offers.end() ) { - TQVariant prop = (*it)->property( "X-KDE-BrowserView-Toggable" ); - TQVariant orientation = (*it)->property( "X-KDE-BrowserView-ToggableView-Orientation" ); + TQVariant prop = (*it)->property( "X-TDE-BrowserView-Toggable" ); + TQVariant orientation = (*it)->property( "X-TDE-BrowserView-ToggableView-Orientation" ); if ( !prop.isValid() || !prop.toBool() || !orientation.isValid() || orientation.toString().isEmpty() ) @@ -207,7 +207,7 @@ ToggleViewGUIClient::ToggleViewGUIClient( KonqMainWindow *mainWindow ) m_actions.insert( name, action ); - TQVariant orientation = (*cIt)->property( "X-KDE-BrowserView-ToggableView-Orientation" ); + TQVariant orientation = (*cIt)->property( "X-TDE-BrowserView-ToggableView-Orientation" ); bool horizontal = orientation.toString().lower() == "horizontal"; m_mapOrientation.insert( name, horizontal ); } @@ -332,9 +332,9 @@ void ToggleViewGUIClient::slotViewAdded( KonqView *view ) // KonqView::isToggleView() is not set yet.. so just check for the orientation #if 0 - TQVariant vert = view->service()->property( "X-KDE-BrowserView-ToggableView-Orientation"); + TQVariant vert = view->service()->property( "X-TDE-BrowserView-ToggableView-Orientation"); bool vertical = vert.toString().lower() == "vertical"; - TQVariant nohead = view->service()->property( "X-KDE-BrowserView-ToggableView-NoHeader"); + TQVariant nohead = view->service()->property( "X-TDE-BrowserView-ToggableView-NoHeader"); bool noheader = nohead.isValid() ? nohead.toBool() : false; // if it is a vertical toggle part, turn on the header. // this works even when konq loads the view from a profile. -- cgit v1.2.1