Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
kdepim4
r900013.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File r900013.diff of Package kdepim4
Subject: korganizer: ensure agendaview decoration is selected From: wstephenson@suse.de Bug: Patch-upstream: 900013 --- korganizer/koprefsdialog.cpp (revision 900012) +++ korganizer/koprefsdialog.cpp (revision 900013) @@ -1447,17 +1447,28 @@ void KOPrefsDialogPlugins::selectionChan mConfigureButton->setEnabled( item->checkState(0) == Qt::Checked ); } + bool hasPosition = false; if ( item->service()->hasServiceType( KOrg::CalendarDecoration::Decoration::serviceType() ) ) { QString decoration = item->service()->desktopEntryName(); if ( mDecorationsAtMonthViewTop.contains( decoration ) ) { mPositionMonthTop->setChecked( true ); + hasPosition = true; } if ( mDecorationsAtAgendaViewTop.contains( decoration ) ) { mPositionAgendaTop->setChecked( true ); + hasPosition = true; } if ( mDecorationsAtAgendaViewBottom.contains( decoration ) ) { mPositionAgendaBottom->setChecked( true ); + hasPosition = true; } + + if ( !hasPosition ) { + // no position has been selected, so default to Agenda Top + mDecorationsAtAgendaViewTop << decoration; + mPositionAgendaTop->setChecked( true ); + } + mPositioningGroupBox->setEnabled( item->checkState(0) == Qt::Checked ); mPositioningGroupBox->show(); } Index: korganizer/koprefsdialog.cpp ===================================================================
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor