Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349943
b: refs/heads/master
c: 6bf1a29
h: refs/heads/master
i:
  349941: 0f8bfcc
  349939: 53a5598
  349935: a5c13d4
v: v3
  • Loading branch information
Namhyung Kim authored and Arnaldo Carvalho de Melo committed Jan 24, 2013
1 parent 91c0898 commit d983dfc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0da41ce954840a74e7a0de9c8268bf855147e902
refs/heads/master: 6bf1a295a896c8dbe8cad663c6344e8c877a0570
22 changes: 11 additions & 11 deletions trunk/tools/perf/ui/gtk/hists.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,17 @@ int perf_evlist__gtk_browse_hists(struct perf_evlist *evlist,

notebook = gtk_notebook_new();

gtk_box_pack_start(GTK_BOX(vbox), notebook, TRUE, TRUE, 0);

info_bar = perf_gtk__setup_info_bar();
if (info_bar)
gtk_box_pack_start(GTK_BOX(vbox), info_bar, FALSE, FALSE, 0);

statbar = perf_gtk__setup_statusbar();
gtk_box_pack_start(GTK_BOX(vbox), statbar, FALSE, FALSE, 0);

gtk_container_add(GTK_CONTAINER(window), vbox);

list_for_each_entry(pos, &evlist->entries, node) {
struct hists *hists = &pos->hists;
const char *evname = perf_evsel__name(pos);
Expand All @@ -199,17 +210,6 @@ int perf_evlist__gtk_browse_hists(struct perf_evlist *evlist,
gtk_notebook_append_page(GTK_NOTEBOOK(notebook), scrolled_window, tab_label);
}

gtk_box_pack_start(GTK_BOX(vbox), notebook, TRUE, TRUE, 0);

info_bar = perf_gtk__setup_info_bar();
if (info_bar)
gtk_box_pack_start(GTK_BOX(vbox), info_bar, FALSE, FALSE, 0);

statbar = perf_gtk__setup_statusbar();
gtk_box_pack_start(GTK_BOX(vbox), statbar, FALSE, FALSE, 0);

gtk_container_add(GTK_CONTAINER(window), vbox);

gtk_widget_show_all(window);

perf_gtk__resize_window(window);
Expand Down

0 comments on commit d983dfc

Please sign in to comment.