Enlightenment CVS committal Author : devilhorns Project : e17 Module : proto
Dir : e17/proto/extrackt/src/bin/etk_fe Modified Files: gui.c Log Message: Whitespace removal, extra blank lines removed =================================================================== RCS file: /cvsroot/enlightenment/e17/proto/extrackt/src/bin/etk_fe/gui.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- gui.c 7 Feb 2006 02:34:01 -0000 1.2 +++ gui.c 18 Feb 2006 12:45:54 -0000 1.3 @@ -125,7 +125,6 @@ static int _etk_fe_gui_poll_timer_handler_cb(void *data) { - E_Gui_Etk *gui; gui = (E_Gui_Etk *)data; @@ -137,7 +136,6 @@ static int _etk_fe_gui_fast_timer_handler_cb(void *data) { - E_Gui_Etk *gui; gui = (E_Gui_Etk *)data; @@ -148,7 +146,6 @@ static int _etk_fe_gui_slow_timer_handler_cb(void *data) { - E_Gui_Etk *gui; gui = (E_Gui_Etk *)data; @@ -183,7 +180,6 @@ snprintf(str, size, "%s: %s %s [%d / %d ]", _("Rip"), _("Track"), num, gui->ex->rip.num_done + 1, gui->ex->rip.num_total); etk_statusbar_pop(ETK_STATUSBAR(gui->statusbar1), 0); etk_statusbar_push(ETK_STATUSBAR(gui->statusbar1), str, 0); - } else { @@ -266,7 +262,6 @@ Ex_Config_Exe *ecx; E_Gui_Etk *gui; - gui = data; mi = ETK_MENU_ITEM(obj); if(!ex_command_encode_set(gui->ex,mi->label)) @@ -277,7 +272,6 @@ etk_entry_text_set(ETK_ENTRY(gui->encoder_command_line_entry),ecx->command_line_opts); etk_entry_text_set(ETK_ENTRY(gui->encoder_file_format_entry),ecx->file_format); etk_button_label_set(ETK_BUTTON(gui->encoder_combo), ecx->name); - } static void @@ -327,8 +321,8 @@ etk_entry_text_set(ETK_ENTRY(gui->ripper_command_line_entry),ecx->command_line_opts); etk_entry_text_set(ETK_ENTRY(gui->ripper_file_format_entry),ecx->file_format); etk_button_label_set(ETK_BUTTON(gui->ripper_combo), ecx->name); - } + /* FIXME this function is exactly the same as the rip callback * just sets the encoder on, we should reuse the other */ void @@ -530,8 +524,7 @@ gui->ripper_executable_entry = enhance_var_get(en, "ripper_executable_entry"); gui->ripper_command_line_entry = enhance_var_get(en, "ripper_command_line_entry"); gui->ripper_file_format_entry = enhance_var_get(en, "ripper_file_format_entry"); - - + gui->rip_cur_pbar = enhance_var_get(en, "rip_cur_pbar"); gui->rip_tot_pbar = enhance_var_get(en, "rip_tot_pbar"); gui->encode_cur_pbar = enhance_var_get(en, "encode_cur_pbar"); @@ -543,7 +536,6 @@ gui->cddb_secondary_server_entry = enhance_var_get(en, "cddb_secondary_server_entry"); gui->cddb_secondary_cgi_entry = enhance_var_get(en, "cddb_secondary_cgi_entry"); - gui->poll_interval_entry = enhance_var_get(en, "poll_interval_entry"); gui->cdrom_entry = enhance_var_get(en, "cdrom_entry"); gui->interrupt_playback_cbox = enhance_var_get(en, "interrupt_playback_cbox"); @@ -566,7 +558,6 @@ etk_statusbar_push(ETK_STATUSBAR(gui->statusbar1), "Rip: Idle", 0); etk_statusbar_push(ETK_STATUSBAR(gui->statusbar2), "Encode: Idle", 0); - /* create tree for holding track names, times, and rip status */ etk_widget_size_request_set(gui->tracks_tree, 320, 350); @@ -637,8 +628,7 @@ gui->ex->config.cd->poll_interval); etk_entry_text_set(ETK_ENTRY(gui->poll_interval_entry), tmp); E_FREE(tmp); - - + /* encoder tab */ /***************/ { @@ -662,8 +652,8 @@ etk_entry_text_set(ETK_ENTRY(gui->encoder_command_line_entry),ecx->command_line_opts); etk_entry_text_set(ETK_ENTRY(gui->encoder_file_format_entry),ecx->file_format); etk_button_label_set(ETK_BUTTON(gui->encoder_combo), ecx->name); - } + /* ripper tab */ /***************/ { @@ -691,8 +681,7 @@ etk_entry_text_set(ETK_ENTRY(gui->cddb_primary_server_entry),ecs->name); etk_entry_text_set(ETK_ENTRY(gui->cddb_primary_cgi_entry),ecs->cgi_prog); - } - + } } static void @@ -952,7 +941,6 @@ etk_progress_bar_text_set(ETK_PROGRESS_BAR(gui->rip_tot_pbar), text); } - /* the exported frontend struct */ /********************************/ ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs