~zeitgeist/zeitgeist-explorer/git-import

« back to all changes in this revision

Viewing changes to zgexplorer/monitorviewer.py

  • Committer: Manish Sinha
  • Date: 2013-06-12 05:06:16 UTC
  • Revision ID: git-v1:3fd5af4addba3330bb5fc9c017bcbe5f7e2b0c35
Created a basic structure of ApplicationsViewer

It can fetch the list of actors in async manner

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
        self.button_box.set_layout(Gtk.ButtonBoxStyle.START)
64
64
        self.pack_start(self.hbox, False, False, 6)
65
65
 
66
 
        start_image = Gtk.Image();
67
 
        start_image.set_from_icon_name("media-playback-start-symbolic",
 
66
        start_image = Gtk.Image();
 
67
        start_image.set_from_icon_name("media-playback-start-symbolic",
68
68
                                Gtk.IconSize.SMALL_TOOLBAR);
69
69
        self.start_button = Gtk.Button(image=start_image)
70
70
        self.start_button.connect("clicked", self.start_monitor)
71
71
        self.button_box.pack_start(self.start_button, False, False, 6)
72
72
 
73
 
        stop_image = Gtk.Image();
74
 
        stop_image.set_from_icon_name("media-playback-stop-symbolic",
 
73
        stop_image = Gtk.Image();
 
74
        stop_image.set_from_icon_name("media-playback-stop-symbolic",
75
75
                                Gtk.IconSize.SMALL_TOOLBAR);
76
76
        self.stop_button = Gtk.Button(image=stop_image)
77
77
        self.stop_button.connect("clicked", self.stop_monitor)
78
78
        self.stop_button.set_sensitive(False)
79
79
        self.button_box.pack_start(self.stop_button, False, False, 6)
80
80
 
81
 
        clear_image = Gtk.Image();
82
 
        clear_image.set_from_icon_name("edit-clear-symbolic",
 
81
        clear_image = Gtk.Image();
 
82
        clear_image.set_from_icon_name("edit-clear-symbolic",
83
83
                                Gtk.IconSize.SMALL_TOOLBAR);
84
84
        self.clear_button = Gtk.Button(image=clear_image)
85
85
        self.clear_button.connect("clicked", self.clear_events)