X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttv%2Fmodules%2Fgui%2Ftracecontrol%2Ftracecontrol.c;h=c95c026e9e9688dbb612fe0697f4825a7e64766b;hb=b9ce0bad7daf7c0a2333c91fdb1e35d602afe17f;hp=a02301b26053c713ceadfb1f79f5950fb2c5a1c5;hpb=8d8c5ea79a434752faf43cd66acc38196d25268d;p=lttv.git diff --git a/lttv/modules/gui/tracecontrol/tracecontrol.c b/lttv/modules/gui/tracecontrol/tracecontrol.c index a02301b2..c95c026e 100644 --- a/lttv/modules/gui/tracecontrol/tracecontrol.c +++ b/lttv/modules/gui/tracecontrol/tracecontrol.c @@ -12,8 +12,8 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, - * MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301, USA. */ #ifdef HAVE_CONFIG_H @@ -476,9 +476,6 @@ static int execute_command(const gchar *command, const gchar *username, int status; ssize_t count; /* discuss with su */ - struct timeval timeout; - timeout.tv_sec = 1; - timeout.tv_usec = 0; struct pollfd pollfd; int num_rdy; @@ -1115,7 +1112,8 @@ void stop_clicked (GtkButton *button, gpointer user_data) switch(id){ case GTK_RESPONSE_ACCEPT: { - create_main_window_with_trace_list(trace_list); + /* TODO ybrosseau: 2011-04-20: Add support for live trace */ + create_main_window_with_trace_list(trace_list, FALSE); } break; case GTK_RESPONSE_REJECT: @@ -1242,7 +1240,11 @@ void disarm_clicked (GtkButton *button, gpointer user_data) GtkWidget * h_guicontrol(LttvPlugin *plugin) { - return NULL; + LttvPluginTab *ptab = LTTV_PLUGIN_TAB(plugin); + gui_control(ptab) ; + + /* TODO ybrosseau 2011-02-04: We should probably return a widget here */ + return NULL; } /**