~fcwu-tw/ubuntu/precise/totem/fix-for-lp-1041032

« back to all changes in this revision

Viewing changes to src/plugins/mythtv/totem-mythtv.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-08-12 13:09:09 UTC
  • mfrom: (1.11.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20100812130909-hzn8tsoh9z7t3dbx
Tags: 2.31.6-0ubuntu1
* New upstream version:
  - Add support for Web-M to browser, movie player, and YouTube plugin
  Movie Player:
  - Add deinterlacing support, automatically used for interlaced content
  - Do not block when loading playlists
  - Remove libunique dependency
  - Make auto-resize use half-scale or 2x if the player would fit on the 
    screen
  - Make screensaver preference clearer
  - Support running with RGBA (semi-transparent) GTK+ themes
  Plugins:
  - Update for YouTube website changes
  Browser plugin:
  - Fix running browser plugin in non-GTK+ front-ends
  - VLC-compatible browser plugin:
  - Support input.time and input.length property
  - Support togglePause function
  - Support toolbar plugin argument
* debian/control.in:
  - updated the build requirements to match the configure
* debian/patches/80_webm.patch,
  debian/patches/81_mpegts.patch,
  debian/patches/91_git_correct_rgba_use.patch:
  - the changes are in the new version

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
 
92
92
G_MODULE_EXPORT GType register_totem_plugin     (GTypeModule *module);
93
93
GType   totem_mythtv_plugin_get_type            (void) G_GNUC_CONST;
94
 
 
95
 
static void totem_mythtv_plugin_init            (TotemMythtvPlugin *plugin);
96
94
static void totem_mythtv_plugin_finalize        (GObject *object);
97
95
static gboolean impl_activate                   (TotemPlugin *plugin, TotemObject *totem, GError **error);
98
96
static void impl_deactivate                     (TotemPlugin *plugin, TotemObject *totem);
432
430
        GtkTreeModel *model;
433
431
 
434
432
        gtk_widget_set_sensitive (button, FALSE);
435
 
        totem_gdk_window_set_waiting_cursor (tm->sidebar_recordings->window);
436
 
        totem_gdk_window_set_waiting_cursor (tm->sidebar_livetv->window);
 
433
        totem_gdk_window_set_waiting_cursor (gtk_widget_get_window (tm->sidebar_recordings));
 
434
        totem_gdk_window_set_waiting_cursor (gtk_widget_get_window (tm->sidebar_livetv));
437
435
 
438
436
        model = g_object_get_data (G_OBJECT (tm->sidebar_recordings), "model");
439
437
        gtk_list_store_clear (GTK_LIST_STORE (model));
442
440
 
443
441
        totem_mythtv_update_binfo (tm);
444
442
 
445
 
        gdk_window_set_cursor (tm->sidebar_recordings->window, NULL);
446
 
        gdk_window_set_cursor (tm->sidebar_livetv->window, NULL);
 
443
        gdk_window_set_cursor (gtk_widget_get_window (tm->sidebar_recordings), NULL);
 
444
        gdk_window_set_cursor (gtk_widget_get_window (tm->sidebar_livetv), NULL);
447
445
        gtk_widget_set_sensitive (button, TRUE);
448
446
}
449
447
 
527
525
 
528
526
        /* FIXME we should only do that if it will be done in the background */
529
527
#if 0
530
 
        totem_gdk_window_set_waiting_cursor (box->window);
 
528
        totem_gdk_window_set_waiting_cursor (gtk_widget_get_window (box);
531
529
        totem_mythtv_list_recordings (TOTEM_MYTHTV_PLUGIN(plugin));
532
530
        totem_mythtv_list_livetv (TOTEM_MYTHTV_PLUGIN(plugin));
533
 
        gdk_window_set_cursor (box->window, NULL);
 
531
        gdk_window_set_cursor (gtk_widget_get_window (box), NULL);
534
532
#endif
535
533
        return TRUE;
536
534
}