~ubuntu-branches/ubuntu/oneiric/rhythmbox/oneiric

« back to all changes in this revision

Viewing changes to sources/rb-import-errors-source.c

  • Committer: Bazaar Package Importer
  • Author(s): Rico Tzschichholz
  • Date: 2011-07-29 16:41:38 UTC
  • mto: This revision was merged to the branch mainline in revision 191.
  • Revision ID: james.westby@ubuntu.com-20110729164138-wwicy8nqalm18ck7
Tags: upstream-2.90.1~20110802
ImportĀ upstreamĀ versionĀ 2.90.1~20110802

Show diffs side-by-side

added added

removed removed

Lines of Context:
190
190
                      "shell", &shell,
191
191
                      "entry-type", &entry_type,
192
192
                      NULL);
193
 
        g_object_get (shell, "db", &source->priv->db, NULL);
194
 
        shell_player = rb_shell_get_player (shell);
 
193
        g_object_get (shell,
 
194
                      "db", &source->priv->db,
 
195
                      "shell-player", &shell_player,
 
196
                      NULL);
195
197
        g_object_unref (shell);
196
198
 
197
199
        /* construct real query */
208
210
 
209
211
        /* set up entry view */
210
212
        source->priv->view = rb_entry_view_new (source->priv->db, shell_player,
211
 
                                                NULL, FALSE, FALSE);
 
213
                                                FALSE, FALSE);
 
214
        g_object_unref (shell_player);
212
215
 
213
216
        rb_entry_view_set_model (source->priv->view, model);
214
217
 
238
241
        rhythmdb_query_free (query);
239
242
 
240
243
        /* set up info bar for triggering codec installation */
241
 
        source->priv->infobar = gtk_info_bar_new_with_buttons (_("Install Plugins"), GTK_RESPONSE_OK, NULL);
 
244
        source->priv->infobar = gtk_info_bar_new_with_buttons (_("Install Additional Software"), GTK_RESPONSE_OK, NULL);
242
245
        g_signal_connect_object (source->priv->infobar,
243
246
                                 "response",
244
247
                                 G_CALLBACK (infobar_response_cb),
245
248
                                 source, 0);
246
249
 
247
 
        label = gtk_label_new (_("Additional GStreamer plugins are required to play some of these files."));
 
250
        label = gtk_label_new (_("Additional software is required to play some of these files."));
 
251
        gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
248
252
        gtk_container_add (GTK_CONTAINER (gtk_info_bar_get_content_area (GTK_INFO_BAR (source->priv->infobar))),
249
253
                           label);
250
254