~ubuntu-branches/ubuntu/wily/me-tv/wily

« back to all changes in this revision

Viewing changes to src/scheduled_recordings_dialog.cc

  • Committer: Bazaar Package Importer
  • Author(s): Scott Evans, Scott Evans, Julian Andres Klode
  • Date: 2010-07-07 03:49:26 UTC
  • mfrom: (1.1.14 upstream) (3.1.13 sid)
  • Revision ID: james.westby@ubuntu.com-20100707034926-x7j138o7hs4vemdn
Tags: 1.3.0-1
[ Scott Evans ]
* New upstream release
* Updated debian/control
  - Maintainer change to Scott Evans
  - Updated Standards-Version to 3.9.0
* Updated copyright debian/*
* Fixed hyphen-used-as-minus-sign in me-tv.1 & me-tv-player.1

[ Julian Andres Klode ]
* Really use dh_xine and depend on ${xine-ffmpeg:Depends} (Closes: #575122)

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
 
82
82
void ScheduledRecordingsDialog::on_button_scheduled_recordings_delete_clicked()
83
83
{
84
 
        get_application().scheduled_recording_manager.remove_scheduled_recording(
 
84
        scheduled_recording_manager.remove_scheduled_recording(
85
85
                get_selected_scheduled_recording_id());
86
86
        update();
87
87
}
93
93
 
94
94
void ScheduledRecordingsDialog::update()
95
95
{
96
 
        ChannelManager& channel_manager = get_application().channel_manager;
97
96
        list_store->clear();
98
 
        ScheduledRecordingList& scheduled_recordings = get_application().scheduled_recording_manager.scheduled_recordings;
 
97
        ScheduledRecordingList& scheduled_recordings = scheduled_recording_manager.scheduled_recordings;
99
98
        for (ScheduledRecordingList::iterator i = scheduled_recordings.begin(); i != scheduled_recordings.end(); i++)
100
99
        {
101
100
                ScheduledRecording& scheduled_recording = *i;
125
124
 
126
125
void ScheduledRecordingsDialog::show_scheduled_recording(guint scheduled_recording_id)
127
126
{
128
 
        ScheduledRecording scheduled_recording = get_application().scheduled_recording_manager.get_scheduled_recording(scheduled_recording_id);
 
127
        ScheduledRecording scheduled_recording = scheduled_recording_manager.get_scheduled_recording(scheduled_recording_id);
129
128
 
130
129
        ScheduledRecordingDialog& scheduled_recording_dialog = ScheduledRecordingDialog::create(builder);
131
130
        scheduled_recording_dialog.run(this, scheduled_recording);
132
131
        scheduled_recording_dialog.hide();
133
 
 
134
 
        update();
135
132
}
136
133
 
137
134
void ScheduledRecordingsDialog::on_row_activated(const Gtk::TreeModel::Path& tree_model_path, Gtk::TreeViewColumn* column)