Permalink
Browse files

Set window titles for use with WM's like fvwm

  • Loading branch information...
1 parent fc5ee00 commit 4f3659b66c103f98b76e40d903d5b62e91edeff7 @amoskvin amoskvin committed Mar 28, 2012
@@ -68,6 +68,7 @@ RazorWorkSpace::RazorWorkSpace(RazorSettings * config, int screen, int desktop,
setWindowFlags(Qt::FramelessWindowHint | Qt::WindowStaysOnBottomHint);
setAttribute(Qt::WA_X11NetWmWindowTypeDesktop);
setFrameShape(QFrame::NoFrame);
+ setWindowTitle("Razor Desktop");
m_power = new PowerManager(this);
m_screenSaver = new ScreenSaver(this);
@@ -118,6 +118,7 @@ RazorPanel::RazorPanel(QWidget *parent) :
setWindowFlags(Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint);
setAttribute(Qt::WA_X11NetWmWindowTypeDock);
setAttribute(Qt::WA_AlwaysShowToolTips);
+ setWindowTitle("Razor Panel");
setObjectName("RazorPanel");
}
@@ -60,6 +60,8 @@ Dialog::Dialog(QWidget *parent) :
mGlobalShortcut(new QxtGlobalShortcut(this))
{
ui->setupUi(this);
+ setWindowTitle("Razor Runner");
+
connect(RazorSettings::globalSettings(), SIGNAL(iconThemeChanged()), this, SLOT(update()));
connect(ui->closeButton, SIGNAL(clicked()), this, SLOT(hide()));

0 comments on commit 4f3659b

Please sign in to comment.