Changeset 136fa80


Ignore:
Timestamp:
12/06/13 04:51:24 (11 months ago)
Author:
yurkis <yurkis@…>
Branches:
master, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
7d03cc5
Parents:
4dd33e9
Message:

System update patchset selection! Please test

Location:
src-qt4/pc-updatecenter
Files:
3 added
4 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-updatecenter/mainwindow.cpp

    r2b8a19b r136fa80  
    3030#include "dialogs/jailsdialog.h" 
    3131#include "dialogs/branchesdialog.h" 
     32#include "dialogs/patchsetdialog.h" 
    3233 
    3334#include <QTreeWidgetItem> 
     
    205206    ui->actionJail->setEnabled(is_no_upd); 
    206207    ui->actionSystem_branches->setEnabled(is_no_upd && (!mJail.jailEnabled())); 
     208    ui->actionUpdate_set->setEnabled(is_no_upd); 
    207209} 
    208210 
     
    360362    dlg->exec(); 
    361363} 
     364 
     365/////////////////////////////////////////////////////////////////////////////// 
     366void MainWindow::on_actionUpdate_set_triggered() 
     367{ 
     368    PatchsetDialog* dlg = new PatchsetDialog(this); 
     369    if (dlg->execDilog(mJail)) 
     370    { 
     371        mSysController.check(); 
     372        mPkgController.check(); 
     373        mPBIController.check(); 
     374    } 
     375} 
  • src-qt4/pc-updatecenter/mainwindow.h

    r2b8a19b r136fa80  
    8181    void on_actionJail_triggered(); 
    8282    void on_actionSystem_branches_triggered(); 
     83    void on_actionUpdate_set_triggered(); 
    8384}; 
    8485 
  • src-qt4/pc-updatecenter/mainwindow.ui

    r2b8a19b r136fa80  
    77    <x>0</x> 
    88    <y>0</y> 
    9     <width>623</width> 
    10     <height>437</height> 
     9    <width>621</width> 
     10    <height>435</height> 
    1111   </rect> 
    1212  </property> 
     
    345345     <x>0</x> 
    346346     <y>0</y> 
    347      <width>623</width> 
     347     <width>621</width> 
    348348     <height>21</height> 
    349349    </rect> 
     
    415415  <action name="actionUpdate_set"> 
    416416   <property name="enabled"> 
    417     <bool>false</bool> 
     417    <bool>true</bool> 
    418418   </property> 
    419419   <property name="text"> 
  • src-qt4/pc-updatecenter/pc-updatecenter.pro

    r2b8a19b r136fa80  
    3535    jailsbackend.cpp \ 
    3636    jailindicator.cpp \ 
    37     dialogs/branchesdialog.cpp 
     37    dialogs/branchesdialog.cpp \ 
     38    dialogs/patchsetdialog.cpp 
    3839 
    3940HEADERS  += mainwindow.h \ 
     
    5354    jailsbackend.h \ 
    5455    jailindicator.h \ 
    55     dialogs/branchesdialog.h 
     56    dialogs/branchesdialog.h \ 
     57    dialogs/patchsetdialog.h 
    5658 
    5759FORMS    += mainwindow.ui \ 
     
    6567    dialogs/jailsdialog.ui \ 
    6668    jailindicator.ui \ 
    67     dialogs/branchesdialog.ui 
     69    dialogs/branchesdialog.ui \ 
     70    dialogs/patchsetdialog.ui 
    6871 
    6972RESOURCES += \ 
Note: See TracChangeset for help on using the changeset viewer.