Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bug report tool: Add Cinnamon page

  • Loading branch information...
commit 777517eb3764cee30f8ba10fe6ed9b7e7d087d2c 1 parent d8955eb
@yurkis yurkis authored
View
8 src-qt4/pc-bugreport/mainwindow.cpp
@@ -21,6 +21,7 @@ typedef enum{
EXFCE_PAGE,
ELXDE_PAGE,
EMATE_PAGE,
+ ECINNAMON_PAGE,
EUNSUPPORTED_DE_PAGE,
EFREEBSDSOFT_PAGE,
EPBISELECT_PAGE,
@@ -73,6 +74,9 @@ MainWindow::MainWindow(QWidget *parent) :
ui->MATEGitHubWidget->setup(MATE_GITHUB_URL);
ui->PCBSDTestingLW_8->setup(PCBSD_TESTING_MAILLIST);
+ ui->CinnamonBugTrackerWidget->setup(CINNAMON_BUGTRACKER_GITHUB);
+ ui->PCBSDTestingLW_9->setup(PCBSD_TESTING_MAILLIST);
+
QObject::connect(this, SIGNAL(currentIdChanged(int)),
this, SLOT(on_MainWindow_currentIdChanged(int)));
@@ -162,6 +166,7 @@ int MainWindow::nextId() const
case EPBIIREPORT_PAGE:
case EFREEBSDSOFT_PAGE:
case EMATE_PAGE:
+ case ECINNAMON_PAGE:
return -1;
}
return curr+1;
@@ -189,6 +194,7 @@ void MainWindow::on_MainWindow_currentIdChanged(int id)
case EPBIIREPORT_PAGE:
case EFREEBSDSOFT_PAGE:
case EMATE_PAGE:
+ case ECINNAMON_PAGE:
pMainWindow->setupButtons(true);
break;
case EPBISELECT_PAGE:
@@ -238,7 +244,7 @@ void MainWindow::fillDEList()
{QString("gnome"),QString(":/images/gnome.png"), EGNOME_PAGE},
{QString("xfce"),QString(":/images/xfce.png"), EXFCE_PAGE},
{QString("lxde"),QString(":/images/lxde.png"), ELXDE_PAGE},
- {QString("cinnamon"),QString(":/images/cinnamon.png"), EUNSUPPORTED_DE_PAGE},
+ {QString("cinnamon"),QString(":/images/cinnamon.png"), ECINNAMON_PAGE},
{QString("mate"),QString(":/images/mate.png"), EMATE_PAGE},
};
View
83 src-qt4/pc-bugreport/mainwindow.ui
@@ -401,12 +401,12 @@
</property>
<column>
<property name="text">
- <string>1</string>
+ <string/>
</property>
</column>
<column>
<property name="text">
- <string>New Column</string>
+ <string>Desktop environment</string>
</property>
</column>
<item>
@@ -856,6 +856,85 @@
</item>
</layout>
</widget>
+ <widget class="QWizardPage" name="wizardPage_Cinnamon">
+ <property name="title">
+ <string>Cinnamon</string>
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout_26">
+ <item>
+ <widget class="Toolbox" name="widget_13" native="true"/>
+ </item>
+ <item>
+ <widget class="QScrollArea" name="scrollArea_12">
+ <property name="widgetResizable">
+ <bool>true</bool>
+ </property>
+ <widget class="QWidget" name="scrollAreaWidgetContents_12">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>598</width>
+ <height>341</height>
+ </rect>
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout_27">
+ <item>
+ <widget class="Line" name="line_25">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="label_29">
+ <property name="text">
+ <string>1. You can report a bug using Cinnamon bug tracker on GitHub</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="WebURL" name="CinnamonBugTrackerWidget" native="true"/>
+ </item>
+ <item>
+ <widget class="Line" name="line_26">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="label_30">
+ <property name="text">
+ <string>2.If you think that problem is PC-BSD specific please report to the PCBSD testing mailing list</string>
+ </property>
+ <property name="wordWrap">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="maillist" name="PCBSDTestingLW_9" native="true"/>
+ </item>
+ <item>
+ <spacer name="verticalSpacer_11">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>236</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ </widget>
+ </item>
+ </layout>
+ </widget>
<widget class="QWizardPage" name="wizardPage_11">
<property name="title">
<string>Unsupported desktop unvironment</string>
View
2  src-qt4/pc-bugreport/report_places.h
@@ -35,4 +35,6 @@
#define MATE_GITHUB_URL "https://github.com/mate-desktop", GITHUB_IMAGE
+#define CINNAMON_BUGTRACKER_GITHUB "https://github.com/linuxmint/Cinnamon/issues", GITHUB_IMAGE
+
#endif // REPORT_PLACES_H
Please sign in to comment.
Something went wrong with that request. Please try again.